-
• #2
Did you change any settings on your device? You could conceivable have uploaded something that removed the UART connection, but it seems super unlikely.
Can you connect from your phone?
It could just be the bluetooth stack getting in a twist. Try running
sudo /etc/init.d/bluetooth restart
in the console?On my laptop I have occasionally had the whole
btusb
kernel module getting confused. While I could post the commands to restart it, honestly you might be better just trying a restart and seeing if that fixes it? -
• #3
Hi Gordon,
thank you. I previously made some experiments with Node.js/Noble/Bangle which did not work (stuck on discovery while WebBLE did work). But this had not affected WebBLE.
Today it is not working anymore. The strange thing was that I had to enable experimental "Use the new permissions backend for Web Bluetooth" in Chromium which is -as far as I remember new- before I even got offered WebBLE in the IDE.I restarted, un/reinstalled BT and Bluez and it is working with other devices.
In Chrome I don't even get a yellow connection button though experimental features are enabled. In Brave the IDE does not offer WebBLE. I got no more idea now. -
• #4
Did you try restarting? As I say in my laptop the
btusb
module gets confused sometimes - messing with bluez/etc doesn't help at all.Strange about the
permissions backend for Web Bluetooth
- never seen that one before! -
• #5
there is also some persistent stuff in /var/lib/bluetooth/ma:ca:dd:re:ss , sometimes helps to stop bluetooth and delete that stuff as root, it gets recreated again
-
• #6
Yes and reinstalled BT. The Bangle can be accessed from my phone, but it looses erratically connection. It the one I discussed here already: http://forum.espruino.com/conversations/368381/#comment16201131
I tried also firmware v2.09 an v2.10.
I'm at the moment not shure whether it's Bangle or PC which causes problems. The Chrom(ium) problems are strange. -
• #7
Thank you for the hint. I tried this but there was no change.
-
• #8
Otk, there seem to be two seperate problems. One with Kubuntu. The other problem is obviously the Bangle.
What I tried now: I charged my second Bangle and connected it without any problem to the IDE and App Loader. The first Bangle still does not want to communicate properly. -
• #10
Yes, I did. Finally moving to Kubuntu 21.10 did it. Thank you for the help!
Hi,
I'm facing a strange problem with WebBLE with Chromium running on Kubuntu. The device is visible and can be selected but the IDE does fail to connect to the Bangle v1. The browser log states:
either:
or
The app loader logs "NetworkError: Connection failed for unknown reason.
ui.js:86 [error] Device connection failed,".
Has anyone an idea on this?