You are reading a single comment by @fanoush and its replies.
Click here to read the full conversation.
-
After I disconnect WebIDE and connect WebBluetooth app it works fine.
And then after you disconnect app and connect IDE again the error reappears?
Maybe it needs restart only first time after you call setServices while you are still connected via IDE - as it probably cannot change service definition while still connected(?).
setInterval is the last thing I do in the program. The error I get is
Last lines of code:
After I disconnect WebIDE and connect WebBluetooth app it works fine. The errors pop up while connected to IDE on every interval.
I suppose the error explains it. BLE needs to be restarted so maybe thats how it should behave.