BlueSTSDK_Android icon indicating copy to clipboard operation
BlueSTSDK_Android copied to clipboard

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

Open Luktronics opened this issue 3 years ago • 2 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!

Luktronics avatar Mar 04 '22 03:03 Luktronics

Hi @Luktronics , Hope you are doing good. I just want to know whether you able to get Accelerometer data in your android application. If yes , It will be great if you can share the solution. Thanks

saurabh-eegrab avatar Feb 01 '23 05:02 saurabh-eegrab

yes... take a look on the plot demo where you can display the acc data that the board is sending if it's sending it. and if you select the "start logging" pressing the the "3 dots" menu on the top right of the screen.... it starts to saving what is receiving on .csv on your phone... and when you press the "stop logging" the application will ask to you if you want to share that .csv files using mail or something else

But remember what you could see on android application is function of what the board is sending using ble Ciao Luca

Il giorno mer 1 feb 2023 alle ore 06:11 saurabh-eegrab < @.***> ha scritto:

Hi @Luktronics https://github.com/Luktronics , Hope you are doing good. I just want to know whether you able to get Accelerometer data in your android application. If yes , It will be great if you can share the solution. Thanks

— Reply to this email directly, view it on GitHub https://github.com/STMicroelectronics/BlueSTSDK_Android/issues/29#issuecomment-1411477851, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEMVJZSYZOX2HY544IEITADWVHV6TANCNFSM5P4MU2OA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Luca Pezzoni

PezzoniL avatar Mar 01 '23 07:03 PezzoniL