Open Inc0n opened 2 years ago
Hmm, I can see mine
$ uname -a
19.6.0 Darwin Kernel Version 19.6.0: Tue Oct 12 18:34:05 PDT 2021; root:xnu-6153.141.43~1/RELEASE_X86_64 x86_64
$ espruino --list
Espruino Command-line Tool 0.1.40
-----------------------------------
PORTS:
/dev/tty.Bluetooth-Incoming-Port (undefined)
e5-3d-15-af-39-bd (Bangle.js 39bd) RSSI -36
c6-1d-10-f4-59-57 (Bangle.js 5957) RSSI -68
My guess is you don't have noble
installed properly on your laptop. If you run with --verbose
it may give you some hints.
But CLI is definitely the most painful way to get started with Bangle.js. Firefox does not support Web Bluetooth - if you could just install Chrome (even if you only use it for Bangle.js) everything will work great
That's what I think too.
$ npm list -g --depth=0
/usr/local/lib
├── @abandonware/noble@1.9.2-13
....
Hi, apology for the late response... noble is installed:
$ npm list -g --depth=0
/opt/homebrew/lib
├── espruino@0.1.40
├── noble@1.9.1
...
uname output, I should have specified my platform earlier, but here it is:
$ uname -a
20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:27 PDT 2021; root:xnu-7195.141.2~5/RELEASE_ARM64_T8101 arm64
I thought it was some sort of configuration that I may be missing here. Sadly, chrome does seem to have the best support for almost everything I need, such as the Stetho debug bridge with Chrome Developer Tools to now this Web Bluetooth.
Argh, that's interesting. So you're saying that Chrome on ARM Macs doesn't support Web Bluetooth?
What does espruino --list --verbose
show? It might give some hints as to why Noble isn't working...
Another easy option to get started is: https://www.espruino.com/ide/relay/
But I guess you probably have an iOS phone, so even that may not be straightforward...
Argh, that's interesting. So you're saying that Chrome on ARM Macs doesn't support Web Bluetooth?
No, sorry, I meant that Chrome has the support for everything I need. Whereas firefox doesn't.
What does
espruino --list --verbose
show? It might give some hints as to why Noble isn't working...
Another easy option to get started is: https://www.espruino.com/ide/relay/
I will definitely resort to this, and I do have an android phone actually :), M1 really is worth getting IMO.
https://banglejs.com/apps/ says web bluetooth is disabled on firefox (the browser I am using). The quick start guide says that it is disabled current on my laptop.
Getting started with espruino cli and the following output is observed.