2023-09-04 06:27 AM - last edited on 2023-09-04 11:33 PM by Federica Bossi
According to the characteristic/features section in this BlueSTSDK documentation page, characteristic data has a 2-byte timestamp. What are the units of this timestamp? In other words, what does each tick in the timestamp represent?
The timestamp goes from 0 to 2^16 - 1, then resets. In the data I have collected, the timestamp appears to reset every 2 seconds. This would imply one tick is 2 s / 2^16 ≈ 3.052e-5 s. However, I want to verify exactly what the reset period is. For maybe, e.g., the data is actually resetting every 2.048 s = 2^11 ms, implying one tick is 2^11 ms / 2^16 = 3.125e-5 s.