cancel
Showing results for 
Search instead for 
Did you mean: 

Sending 32-Bit Timestamp in microseconds continously by modifying the P2P-Server Service

ABabi.1
Associate II

Hello all,

I´m modifying the P2P-Server Service for using it for my own purposes. I want to send sensor data and a 32-Bit timestamp in microseconds continously to my own Android App. Sending the Sensor Data works very well, but not the timestamp. The timestamp will be send only each 16777216 microsecond. So the time on the screen in my smartphone app will be only each 16777216 microsecond updated (but sensor data continously!). But I send both directly after each other in the code. In the file "p2p_stm.c", I have changed the including bytes of the Notify-Characteristic from 2 up to 20. The file with the application-code was adjusted (and I think with the right way, because the data will be send, but to late).

Are there any settings/paramters for changing to reaching my aim (maybe also in "p2p_stm.c")? Thankfull about every help...

1 REPLY 1
ABabi.1
Associate II