How to add double tap detection to sample app gatt_sensordata_app?

Viewed 12

I am developing an Android app that gets data from Movesense using the GATT profile from the sample app GATT Sensor Data App here. I followed the tutorial available here. Building the app and getting the DFU worked fine. I can get IMU, HR and temperature data with no issues.

Now I'd like add a tap detection feature to my app. I understand that I have to subscribe to 'System/States', but first I need to be able to receive the system state data. I understand that I need a modified DFU for that, but I don't understand what changes I should make in which files of the gatt_sensordata_app before rebuilding and generating the new DFU.

What changes should I make in order to broadcast /System/State data?

(I usually just deal with Android so apologies for the very basic question.)

I tried adding #include "system_states/resources.h" to GATTSensorDataClient.cpp but I don't know how to continue.

0 Answers
Related