If there is no BLE device, the connect procedure will never stop. This change adds a timeout and the possibility to configure the timeout by With* option.
Additionally:
remove unused "AdapterName" property
add a getter for RSSI value (static value from the moment of connection)
add some debugging messages
substitute singleton variables with object properties
add some missing tests (#1004 )
Manual test
OS and Version (Win/Mac/Linux): Linux
Adaptor(s) and/or driver(s): client-adaptor
Checklist
[x] The PR's target branch is 'hybridgroup:dev'
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes (e.g. by run make test)
[x] No linter errors exist locally (e.g. by run make fmt_check)
Solved issues and/or description of the change
If there is no BLE device, the connect procedure will never stop. This change adds a timeout and the possibility to configure the timeout by With* option.
Additionally:
Manual test
Checklist
make test
)make fmt_check
)