Connect/Disconnect Events

Posted on
  • Hey i'm writing an application for controlling a MDBT42q module but i'm having issues with the connect disconnect events.

    I want to do a on connect/disconnect but they never fire.

    This should fire once i disconnect but no luck.
    NRF.on('disconnect', function() {})

    How could i debug this further ?

  • If you are connnecting from the Bangle to the MDBT42q, the event will be received by:


    NRF.on(‘disconnect’,...) will work on the module - with no of course.

  • @jeffmer Ah.. Thank you !

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

Connect/Disconnect Events

Posted by Avatar for Gustav @Gustav