Heerko Groefsema
Heerko Groefsema
I'm unsure, but I would try `self._ble.gatts_notify(conn_handle, attr_handle, 0x00)`.
I'm pretty sure that the value handle is the `attr_handle` returned in the `conn_handle, attr_handle = data`. As for the error, it should probably be `self._ble.gatts_notify(conn_handle, attr_handle, struct.pack("
> I have changed to: `self._ble.gatts_write(attr_handle, bytearray(0))` And I get no more error, but does it works ? I have to make tests. @pidou46 does it work now?
The binding code currently included is very experimental. Could you first try without allowing binding?
Do you remove the device from windows before powercycling and attempting a test?
> Something seems to going wrong during "Connection update" that lead to "Central disconnected: 0" Let's find out what was updated in the connection update: ``` elif event == _IRQ_CONNECTION_UPDATE:...
If the updates are to ``supervision_timeout`` followed by ``status`` (idle?) then I think we need to implement a status update loop that updates our values within the ``supervision_timeout`` value. Currently,...
Any updates on this @pidou46 ? :)
@0ut4t1m3 We might have found the issue. The supervision timeout seems to be counting down. Can you try calling `notify_hid_report` as soon as `supervision_timeout` falls below 500?
Let's also try and catch IRQ event 4. ``` elif event == _IRQ_GATTS_READ_REQUEST: # A client has issued a read. Note: this is only supported on STM32. # Return a...