bluetooth.gattc_read only returns _IRQ_GATTC_READ_DONE event.
Posted: Tue Aug 18, 2020 7:54 am
Trying to rread the heart rate characteristic from a Polar H7 chest band:
_conn_handle & _hr_handle have been set when _IRQ_GATTC_CHARACTERISTIC_RESULT is fired.
The only event that gets fired is _IRQ_GATTC_READ_DONE (16) I never get the _IRQ_GATTC_READ_RESULT event (15), and READ_DONE comes with the same data every time (0, 65535, 258)
Code: Select all
self._ble.gattc_read(self._conn_handle, self._hr_handle)
The only event that gets fired is _IRQ_GATTC_READ_DONE (16) I never get the _IRQ_GATTC_READ_RESULT event (15), and READ_DONE comes with the same data every time (0, 65535, 258)