In aioble calling DeviceConnection.pair() or security.pair() gives 'unknown config param'
In the aioble library attempting to pair gives 'unknown config param' regardless of which attempt I use (one can call the pair method through the DeviceConnection object which calls the pair method in the security module or call the security module pair method direct). The difference as far as the application is concerned is in the latter one has to pass the DeviceConnection parameter in the first argument. The documentation in the code says use the DeviceConnection object.
I think the offending parameter is the bond parameter. When I try and set the config at the low level programmatically I get an error with the bond parameter as unknown., I did not try setting other parameters.
The BLE.Config gives `ValueError: unknown config param` with pairing parameters
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