crownstone / crownstone-lib-python-ble

bluetooth module of the python library
Apache License 2.0
0 stars 2 forks source link

Feature request: be able to find out if a Crownstone is in setup mode without scanning #7

Open mrquincle opened 3 years ago

mrquincle commented 3 years ago

As described in https://github.com/crownstone/crownstone-lib-python-ble/issues/4, provide a manner with which you can find out if a Crownstone is in setup mode without having to scan for them (but where you have to connect to the device).

connect(...)
# if connected
isInSetupMode()
disconnect(...)
AlexDM0 commented 3 years ago

This method has been proposed by @vliedel and is planned to be added within the next 2 weeks. I've put more information on this in #4.

While I can imagine this function to be beneficial in your use case, the underlying issue as to why the existing functions involving scanning are not always working should still be addressed.