QUERY · ISSUE
The BLE.Config gives `ValueError: unknown config param` with pairing parameters
bug
When running the example 'ble_bonding_peripheral.py' on the PICO-W the BLE.config method (line 70) gives ValueError: unknown config param. This error is repeated for all the pairing parameters. Given that it occurs at the low level, the aioble library gives the same result when calling the pairing methods.
Reproduce: Run the ble_bonding_peripheral.py example on the PICO-W (all I have).
- firmware file name: firmware.uf2 (according to a Bing AI search)
- git commit: 9b8c64c
- version: 3.4.0; MicroPython v1.22.1 on 2024-01-05
CANDIDATE · PULL REQUEST
extmod/modbluetooth: Add pairing/bonding support (v2)
extmod
This builds on #6651 . Changes to that PR are:
- rebase on latest master (to get new CI to run)
- fix build on esp32
- minor updates to docs
- fix bug in example with
i += 1 - added basic multitests for pairing and for pairing+bonding