Hi all,
how can I retrieve characteristic's value after write operation to this characteristic ?
can I use it as soon as it is modified ?
Thanks !
Hi all,
how can I retrieve characteristic's value after write operation to this characteristic ?
can I use it as soon as it is modified ?
Thanks !
You shouldn't need a timer to check the value of a characteristic. If the characteristic is write enabled you should get a BLE_GATTS_EVT_WRITE event every time it is written to. You can then check the handle in the event to make sure it matches your characteristic and read the value out of the characteristic.
Hi John,
the value should not be in the attr_char_value.p_value, where attr_char_value is ble_gatts_attr_t ?
Hi John,
the value should not be in the attr_char_value.p_value, where attr_char_value is ble_gatts_attr_t ?