-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLE Scanning gets automatically enabled #40
Comments
This node never checks the item automatically but just shows the current state of bluetooth discovery mode (scanning mode). |
Its a Raspbian lite without a graphical UI, so I don't think that there is running anything which automatically scans. |
Hello, I have exactly the same problem. Thanks for your help. |
Can there be a programmatic way to uncheck it each time the flow is started or re-deployed ? Currently, I have to do it manually to get it out of missing state. Sounds like I am not alone. Thanks |
For those of you encountering this issue, Issuing a POST http request to stop and start scanning gets it out of the "missing" state to the "disconnected" state. http://nodered-ipaddress:1880/__blescan/stop followed by http://nodered-ipaddress:1880/__blescan/start After that, the connect inject request to Generic BLE In succeeds and puts the device in the "connected" state |
@saket424 Thank you for the info. Can you please share your flow file by pasting it to the comment? It would help find a possible bug. |
@dbaba , here you go
|
I'm plagued by this bug as well. The work around provided with the HTTP POST did mostly work for me. Interestingly sending the restart scan command to the BLE in node did not solve it. It must be the HTTP POST command. Easy enough to automate, though. Moreover this effect seems to be device dependent. I did not experience this problem when connecting to an Arduino Nano 33 BLE running the LED sample sketch. Where as an other device was constantly in the "missing" deadlock. Occasionally the workaround couldn't solve the problem when it was stuck in the "missing" deadlock. Then not even scan in the node did work anymore and I had to reboot the system. |
Thanks for the POST tip, it works :) |
If you change something on the BLE node, BLE scanning gets automatically enabled/checked
![grafik](https://user-images.githubusercontent.com/37013344/98141447-eccabe80-1ec6-11eb-9430-4fd9c8dca518.png)
However this behaviour is undesired, because you can't connect when Node shows "missing". If you disable "BLE Scanning" than you can connect immediately.
The text was updated successfully, but these errors were encountered: