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!