Advertising example not working on Mac OS X

Posted on
  • Following the advice here:­ng

    I deploy the logic to the puck.

    I disconnect.

    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?


  • 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.

  • Thanks for this - I'll add a note on that to the page.

    We're talking about this issue on Noble?­4

  • 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.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Advertising example not working on Mac OS X

Posted by Avatar for jjs357 @jjs357