NRF.setServices advertise option is not working.

Posted on
  • Hi All,
    I am new to puck js and i am working on NRF service i need to make my service visible to other devices so i am passing options ,{ advertise:['1802']}); in when i setup a service.

    refer to http://www.espruino.com/Reference#l_NRF_setServices

    I am getting following error

    Uncaught Error: Unknown option "advertise"
    at line 8 col 29
    }, { advertise: [ '1802' ] });

    Please help me

  • Hi! Have you updated your firmware to the latest version? That functionality is only available in the most recent version that was released last week - it doesn't come on the devices when they arrive

  • Here is an example from the forum

    http://forum.espruino.com/conversations/300344/

    Please paste your code....

  • Thanks @Wilberforce @Gordon this is really helpful.

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

NRF.setServices advertise option is not working.

Posted by Avatar for Harry @Harry

Actions