Page 1 of 1

bluetooth.gattc_read only returns _IRQ_GATTC_READ_DONE event.

Posted: Tue Aug 18, 2020 7:54 am
by Stubbs
Trying to rread the heart rate characteristic from a Polar H7 chest band:

Code: Select all

self._ble.gattc_read(self._conn_handle, self._hr_handle)
_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)

Re: bluetooth.gattc_read only returns _IRQ_GATTC_READ_DONE event.

Posted: Tue Aug 18, 2020 8:13 am
by Stubbs
I have also confirmed, I do have a pulse to read.

Re: bluetooth.gattc_read only returns _IRQ_GATTC_READ_DONE event.

Posted: Tue Feb 09, 2021 11:14 am
by mflmartin
I am having the exact same problem. Did you manage to solve it?

Thanks,

Re: bluetooth.gattc_read only returns _IRQ_GATTC_READ_DONE event.

Posted: Thu Feb 11, 2021 5:12 am
by jimmo
Stubbs wrote:
Tue Aug 18, 2020 8:13 am
I have also confirmed, I do have a pulse to read.
See viewtopic.php?f=2&t=9730&p=54751#p54751