Hello,
I'm implementing some ble service that send node id, timestamps, accel values, gyro values.
So I'm trying to modify ble tms service at Nordic-Thingy53-FW .
I want to add node id and timestamp at raw characteristic, so gatt client can request for notification of that characteristic.
But now, I have some problem adding node id and timestamps.
I add two attribute
uint32_t time_ms
uint8_t id
to ble_tms_raw_t type at ble_tms.h file.
And also change m_motion.c file's drv_motion_evt_handler function to assign value to node id and timestamps.
But, when GATT client receive the notification of this characteristic, data is not correct.
they have to receive data in <node_id, timestamps, accel_x, accel_y, accel_z, gyro_x, gyro_y, gyro_z> form.
I set node id as 1 but they receive 0 for node id, and timestamps are also not correct.
I think accel and gyro raw data is correct, but node_id and timestamps are not.
I'm using s132 v4.0.2 softdevice, and Nordic Thingy:52 SDK.