Espruino command-line app error: No Ports Found #5689
Replies: 1 comment
-
Posted at 2023-01-24 by @gfwilliams Hi, Thanks for the log - that's odd - it looks like Noble is installed and doing all the right stuff, it's just not finding anything. At the console, does And please could you try running the code from https://www.espruino.com/BLE+Advertising#node-js (and remove the It's possible that it's just that your Bangle is already connected to something (your phone?) so is not connectable? Posted at 2023-01-24 by user152434
I tried the suggestions here but to no avail. Also found this launchpad bug.
Then tried this. Now getting
Posted at 2023-01-24 by user152434 PS: The bangle is not connected otherwise. Did a fresh node install. advertising_nodejs.js gives same error. Then without sudo uses different Python version (3.9) but gives some other error:
Posted at 2023-01-25 by @gfwilliams Hi, I think if the following happens:
Then this is something to do with the bluetooth setup in Linux - I'd try and look into that before spending time on Node.js, as I think that'll end up being the root cause of your problems. If that's not working I doubt Node.js will ever work despite what you try. Am I right in thinking you couldn't use Web Bluetooth from Chrome on the desktop to connect either? Is Bluetooth enabled in the Bluetooth Manager on the desktop? And do you have the device firmware packages installed on your OS? Sometimes folks don't install them because they're non-free but then it breaks a bunch of stuff I'm not really sure what to suggest - you may have some luck adding a $5 bluetooth USB adaptor and then blocklisting the driver for whatever existing bluetooth adaptor you have? That could be the easiest way in the end. ... but at the end of the day, my knowledge of debugging Linux internals is reasonably limited I'm afraid. You could try booting into a standard Ubuntu Live CD image and see if you have any more success there? At least it might narrow it down... Posted at 2023-01-25 by user152434
I don't want to, since I see Chrome as a security concern. I tried Opera with all the neccesary settings for Web BT enabled but the Web IDE did not list Web BT as a port. Here's the log:
Yes, "standard" BT scanning works.
The BT firmware is not listed by fwupdmgr get-devices
I will try that, thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2023-01-23 by user152434
Hello, this is my specs:
which node
) # already executedI want to use Web Bluetooth with the Espruino command-line app. However, it says "Error: No Ports Found". The output:
Is it the Intel bluetooth adapter or something else?
Beta Was this translation helpful? Give feedback.
All reactions