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 in the ST BLE Sensor Android app by tracing how the accelerometer event notification is parsed and displayed, comparing the received 0x08 value with the shown 0x108 value. Done means the app displays the accelerometer event type 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
- 132
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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/STBLESensor_Android
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
STMicroelectronics/STBLESensor_Android#21 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
STMicroelectronics/STBLESensor_Android#17 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
STMicroelectronics/STBLESensor_Android#16 · 5 comments ·
All issues in STMicroelectronics/STBLESensor_Android
Similar issues
-
CityConstructions.builtBuildingUniqueMap is cleared and refilled in place instead of swapped atomicallyPossibly taken @Qualia-Li claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Droid-Deck/DroidDeck#3554 · 1 comment ·
Maintainers usually reply within 1 day
-
documentation priority: low
Difficulty 2/5 Half a day Newbie friendliness 92/100
liberation-data/drivine-cypher-spec#508 ·
Maintainers usually reply within 1 day
-
ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Enadeag/car-charge-planner#588 ·
Maintainers usually reply within 1 day
-
Error Handling
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/wordpress-rs#1817 ·
Maintainers usually reply within 1 day