Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
@Luktronics

Description

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

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /