No Ports found #2652
Replies: 11 comments
-
Posted at 2018-08-02 by @gfwilliams Are you using the Chrome Web Browser on your Tablet, or some other browser? It may have be be Chrome to work. Also, you don't need to have paired with the Espruino device - in fact it might potentially make it harder for the Web IDE to find the device. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-02 by Terrence7 Yes, I am using Chrome. So, I unpaired, and then tried again and still getting no ports. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-02 by @gfwilliams
https://googlechrome.github.io/samples/web-bluetooth/device-info.html and see if that works? Also try |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-02 by Terrence7 Chrome Version 50.0 Ok, I enabled the following: Type in chrome browser: Now when I click the connect button, the IDE shows the "Select a Port" window. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-02 by Terrence7 Here is the console: No chrome.serial - Chrome Serial disabled
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-02 by @gfwilliams Ok, that's your problem - try upgrading Chrome. Chrome is now on version 68 - version 50 is over 2 years old now and is from before Web Bluetooth support was added. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-02 by Terrence7 Ok, I have upgraded to Chrome 68, but when I try and connect it tells me "no compatible devices found" Here is the console:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-02 by Terrence7 I don't need to use Web Bluetooth, I just want to be able to program the Puck. I have windows machines and an Android tablet (issues above). Any other ways I can program it with the IDE? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-03 by Robin Thr 2018.08.02 Hello @terrence7 Does this help? http://www.espruino.com/Puck.js
nRF Toolbox app [https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrftoolbox&hl=en_US](https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrftoolbox&hl=en_US) Right off Nordic site: [https://www.nordicsemi.com/eng/Products/Nordic-mobile-Apps/nRF-Toolbox-App](https://www.nordicsemi.com/eng/Products/Nordic-mobile-Apps/nRF-Toolbox-App)
I've struggled with one Puck not connecting to do the firmware update, I have and without the availability of a smart phone, I believe I'm out of luck. As there aren't wires, need to communicate via Bluetooth and the nRF Toolbox app in order to perform the update. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-03 by @gfwilliams
Could you get a screenshot of the error? Could the Puck still be paired to either the Android or a Windows device? It can only be connected to one computer at once, so if it's connected to something already it won't show up to other devices for connecting.
The Native Web IDE should work on Windows: http://www.espruino.com/Web+IDE#as-a-native-application Either Windows 10 PCs natively (after pairing), or any Windows PC with a standard $10 bluetooth dongle (see here) should work - surely one of your Windows machines will work like that? You can also use EspruinoHub on a Raspberry Pi 3 or Pi Zero W - you can then connect to
Firmware updates are now available via the Web IDE website
You can connect a $5 USB-TTL converter to program it if you want to: http://www.espruino.com/Puck.js#serial-console |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-03 by @gfwilliams I just saw your other post - try booting the Puck outside of Bootloader mode. The IDE is designed to connect to a normal Puck, not the bootloader itself. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-02 by Terrence7
I am using an android 6.0 tablet.
It show the puck.js b80e is paired.
When I go to the Espruino Web IDE and hit the connect button, it shows No Ports Found.
Here is a dump of the console.
I noticed "Web Bluetooth not enabled"
I can't seem to find a setting in Android to turn web Bluetooth on.
No chrome.serial - Chrome Serial disabled
No chrome.sockets - Chrome Socket disabled
serial_audio: Audio Sample rate : 44100
serial_audio: Audio Serial Baud 9600 Bit time 4.59375
WebSocket relay support enabled - running in web browser
WebSocket localhost support (EspruinoHost) enabled - running in web browser
serial_frame: Running in a frame - enabling frame messaging
No chrome.storage API - disabling Offline mode
Initialising SettingsConsole
Initialising Utils
Initialising Config
Initialising Notifications
Initialising Status
Initialising App
Initialising File
Initialising Code
Initialising Serial
Initialising SerialWebSocketRelay
Initialising SerialWebSocketLocal
Initialising Terminal
Initialising CodeWriter
Initialising Modules
Initialising Env
Initialising Flasher
Initialising EditorBlockly
Initialising EditorJavaScript
Initialising Send
Initialising MenuPortSelector
Initialising MenuSettings
Initialising MenuFlasher
Initialising SettingsAbout
Initialising SettingsFlasher
Initialising BoardJSON
Initialising VersionChecker
Initialising Compiler
Initialising Assembler
Initialising GetGitHub
Initialising Unicode
Initialising Minify
Initialising SaveOnSend
Initialising SetTime
Initialising Tutorial
Initialising Webcam
Initialising FontSize
Initialising UiMode
Initialising URLHandler
Initialising CodeLink
Initialising Project
Initialising Testing
Initialising Notification_Sound
Initialising Tern
Initialising Debugger
Initialising Tour
Initialising HelpLinks
Initialising Arrows
No code in storage.
Handling URL "https://www.espruino.com/ide/"
serviceworker> active
No navigator.bluetooth - Web Bluetooth not enabled
Couldn't connect to wss://localhost:31234 - disabling websockets for this session
ERROR: serial_frame: getPorts timeout, disabling
ERROR: getURL("/serial/ports") error : Not Found
/serial/ports doesn't exist - disabling WebSocket support
Beta Was this translation helpful? Give feedback.
All reactions