← index #801PR #468
Related · high · value 0.222
QUERY · ISSUE

In aioble calling DeviceConnection.pair() or security.pair() gives 'unknown config param'

openby brianreinholdopened 2024-02-05updated 2024-02-05

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.

CANDIDATE · PULL REQUEST

aioble/security: Add DeviceConnection.pairing_in_progress flag.

openby andrewleechopened 2021-11-25updated 2025-10-26

Will be True if the pairing process has been started but is waiting for ack from remote device.

This can be monitored to give your server application early warning of a client starting the pairing process.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied