-
• #2
Did you leave the 'app loader' page in Gadgetbridge open after you pasted the link? You would have to do that to keep it working.
And are you 100% sure the Peer ID was copied correctly?
Your other option is:
- Disconnect Gadgetbridge from your Bangle
- Go to https://www.espruino.com/ide/ on your PC, click 'connect' up the top left, then
Remote Connection
in the bottom left of the window. It should show a QR code - Scan that QR code with your phone and go to the website
- On your phone, tap connect in the top left, then 'Web Bluetooth' and choose your Bangle
- Now on desktop you should be able to connect to the Bangle (an option should appear in the connection window)
- Disconnect Gadgetbridge from your Bangle
-
• #3
With Gadgetbridge
The peer ID is correct.
On gadgetbridge, I left the screen on Web IDE Remote Access screen with peer ID visible.On firefox, the javascript console said:
Config.WEBRTC_BRIDGE_ID => 2b54cbab-cd1c-4a6c-8506-6b7f3244fd2a [WebRTC] Peer ID: 0b2989e4-4ee1-4823-accd-72c337f01d69 [WebRTC] Connecting to 2b54cbab-cd1c-4a6c-8506-6b7f3244fd2a... [WebRTC] No activity on connection - closing 2b54cbab-cd1c-4a6c-8506-6b7f3244fd2a
With Remote connection
I open Remote Connection on computer
On android I open the link in chromiumOn computer, JS console said:
[WebRTC] Incoming connection [WebRTC] ServerId: We're a client - wait for a serverId packet WebRTC: ICE failed, your TURN server appears to be broken, see about:webrtc for more details
On android, IDE console said:
```Web IDE Remote Connection Bridge
Bridge's Peer ID:
838f99d7-a3cc-46f9-847a-eecbe5cb7578
No devices are paired
To add more devices please click the connect icon in the top left.
Connected to Web Bluetooth, Bangle.js 7a11
Disconnected from Web Bluetooth, Bangle.js 7a11
The following devices are paired:
Bangle.js 7a11
To add more devices please click the connect icon in the top left.
```
There is no connection on computer.
I have to investigate what mean "ICE failed, your TURN server appears to be broken, see about:webrtc for more details" ... -
• #4
That's an odd one - it's almost certainly related to
ICE failed, your TURN server appears to be broken,
though.Do you have some privacy addons like AdBlock that could maybe be causing issues?
-
• #5
Thanks for your advice.
My android phone run calyx OS and I found in the doc:
CalyxOS Chromium
Our goal with the Chromium browser provided in CalyxOS is to offer a solid base of privacy and security [...]. Some of these include the under-the-hood deactivation of intrusive features and analytics, while others provide additional site settings to adjust features like WebGL and WebRTC, features which are sometimes necessary but which can aid in fingerprinting or identification when turned on.
Now I have to find how to allow espruino.com for webrtc
-
• #6
I find a solution for it work with Chrome, but for the webview (web page integrated in gadgetbidge) there seams to have no options to enable webrtc.
-
• #7
What a pain - sorry to hear that. That seems like quite a big issue for Calyx OS - there must be a bunch of other apps that use WebRTC in a WebView that would fail too
Hello, I'm new to Espruino and I have a Bangle.js 2 for 2 week now.
My desktop computer don't have Bluetooth LE.
I have installed bangle.js gadgetbridge on my android phone. The connection is fine, I could install and remove apps.
I try to use the web IDE remote connection.
On android device, I launch gagetbridge and open the Web ide remote.
On my desktop, I launch web browser (tried Firefox and Chromium) and go to the https://www.espruino.com/ide/, entered the id in Settings -> Communications -> Remote Connection Bridge Peer ID
But when i click to connect, there is no remote. The port status says :
Is there something more to do?
I'm not English native, maybe I mistaken some facts ...