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.
pyboard-D AP_IF set password
MicroPython v1.11-328-gd96391aca on 2019-09-21; PYBD-SF6W with STM32F767IIK
Type "help()" for more information.
import network
ap = network.WLAN(network.AP_IF)
ap.config('password')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: unknown config param
ap.config(password='pass')
ap.config('password')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: unknown config param