If you are connnecting from the Bangle to the MDBT42q, the event will be received by:
gatt.device.on('gattserverdisconnected',...);
NRF.on(‘disconnect’,...) will work on the module - with no Bangle.buzz() of course.
@jeffmer started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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 Bangle.buzz() of course.