Accelerometer event type not being recognized in android app (ST BLE Sensor)
Luktronics opened this issue · 1 comments
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!
Ciao, which FW are you modifying and which Board ID are you using?
Because in function of the Board ID, we add a list of possible HW event for any board
because the type of detectable HW event is function of the accelerometer type present on that board
and I think that you could not send one number of Steps with one Tilt Event...
probably you need to send before one TILT event and then send one Pedometer Event with the number of steps
let me know