QUERY · ISSUE
the aioble raise AttributeError: 'BLE' object has no attribute l2cap_listen on esp32
Please see the title
CANDIDATE · ISSUE
esp32: 'BLE' object has no attribute 'gap_pair'
enhancementport-esp32
Generic ESP32 implementation. Tried on both v1.14 esp32-idf4-20210202-v1.14.bin and v1.14-unstable latest esp32-20210310-unstable-v1.14-84-g59a129f22.bin.
self._ble.gap_pair(self._conn_handle)
yields error:
AttributeError: 'BLE' object has no attribute 'gap_pair'
Is gap_pair(conn_handle,/) ready to use yet? I'm having issues in re-connecting to my bluetooth device as I need to pair it to add to trusted devices (connecting alone doesn't seem adequate).
the esp32 fireware: esp32spiram-20210902-v1.17.bin
Please see https://docs.micropython.org/en/latest/library/bluetooth.html#l2cap-connection-oriented-channels
l2cap isn't (yet) supported on esp32.