Accelerometer event type not being recognized in android app (ST BLE Sensor)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by tracing accelerometer event notification handling in the ST BLE Sensor app from the displayed event value to its payload parsing. Compare that parsing with the notification layout sent by Custom_Acceventchar_Send_Notification; done means 0x08 displays as 8 while the timestamp and steps remain correct.
Written by the indexing model from the issue text.
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!
- Dominant language
- Kotlin
- Stars
- 99
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from STMicroelectronics/BlueSTSDK_Android
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
README Links Dead Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
BlueSTSDK AAR file Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
STMicroelectronics/BlueSTSDK_Android#27 · 1 comment ·
All issues in STMicroelectronics/BlueSTSDK_Android
Similar issues
-
Bug Java Platform: Java
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsentry/sentry-java#6138 · 1 comment ·
-
Icon Requests Opensupported
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LawnchairLauncher/lawnicons#4100 ·
-
cr:missing-repro cr:platform:android platform:android repro-provided
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
software-mansion/react-native-screens#4699 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Good First Issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ankidroid/Anki-Android#21942 ·