Faculty Villanova University
Yes, that's the issue. I am running Mojave and discovering peripherals was not working with noble but it does seem to work with noble-mac.
Looks like noble for node.js is broken for Mac OS Mojave. There are open issues at the GitHub project. But there is another project called noble-mac that can be used as a drop-in replacement for noble.
Using this, I was able to get the advertising sample code to work for the puck and the Mac running Mojave.
Following the advice here:https://www.espruino.com/BLE%20Advertising
I deploy the logic to the puck.
I create the file advertising_nodejs.js file and run it with node.
The Starting scan... and Scanning started... messages appear in the node terminal.
I click the puck button.
Nothing is displayed -- no advertisement data appears as expected.
Running on MacBook Pro with the latest Mojave release installed.
Is this a supported configuration?
© Espruino, powered by microcosm.
Report a problem