Skip to content

Accelerometer event type not being recognized in android app (ST BLE Sensor) #29

@Luktronics

Description

@Luktronics

In the firmware I am sending the notification regarding the accelerometer event in this way:
STORE_LE_16(NotifyAccEventCharData, 4000); //TimeStamp
NotifyAccEventCharData[2]=0x08; // Tilt event
STORE_LE_16(NotifyAccEventCharData+3 ,5000); //Steps
Custom_Acceventchar_Send_Notification();
However, in the app (ST BLE Sensor) it shows the accelerometer event type being the value 264 (0x108) instead of 8 (0x08). The TimeStamp and Steps values are displayed correctly. What can I do to fix this problem?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions