Heerko Groefsema
Heerko Groefsema
The MicroPython Bluetooth documentation notes the following under the [Pairing and bonding section](https://docs.micropython.org/en/latest/library/bluetooth.html#pairing-and-bonding): > This is currently only supported when using the NimBLE stack on STM32 and Unix (not ESP32)....
> Now esp32 micropython supported Pairing and bonding section,I have tested,it worked. Do you have a source for this information? The documentation still says it's not supported for ESP32. >...
Nice! Four days ago. Can you try calling `_ble.gap_pair(self.conn_handle)` on [line 243](https://github.com/Heerkog/MicroPythonBLEHID/blob/9e3b273e05bebd4ee71ad241705786c2f394ddc7/hid_services.py#L243) and let us know if that works?
I'm going to assume that the `_IRQ_GATTS_READ_REQUEST` returns an event stating `_GATTS_ERROR_INSUFFICIENT_ENCRYPTION`, `_GATTS_ERROR_INSUFFICIENT_AUTHENTICATION` or something similar. After calling `set_bonding(True)`, can you call `set_le_secure(True)`? You can set i/o capabilities by calling...
@jd3096-mpy did this work?
Are you able to test with something other than OSX? I'm asking because there seem to be [issues](https://github.com/Heerkog/MicroPythonBLEHID/issues/5) with Apple which are probably related to 'faking' the device information (manufacturer,...
You could try finding the (i) device information, (ii) revision information, and (iii) php information used by an Apple approved device and using the provided functions to set these values...
Please check [this](https://askubuntu.com/questions/766258/using-hid-compliant-mouse-like-device-in-ubuntu) thread for Ubuntu. I feel the OSX and Ubuntu issues are very related and probably lead back to issues with the pnp and device information not leading...
Hi, Thank you for the report. Sadly, I'm currently not able to test with v1.20.0 Micropython. If you find the issue, I would really appreciate it if you could make...
Thank you so much for investigating!