You are reading a single comment by @d3nd3-o0 and its replies. Click here to read the full conversation.
  • A further question : If I am calling :

    NRF.setAdvertising({},{
    			showName:false,
    			connectable:false,
    			scannable:false,
    			interval:375,
    			manufacturer:0x0590,
    			manufacturerData:JSON.stringify(data)
    		});
    

    Then I try to connect to bangle via web IDE after going to 'clock'/'home'. It doesn't connect. I assume this has overridden the advertising of the device service for UART. I am forced to go to "Turn Off" under settings app. Then turn on device with BTN1 and then its restored functionality.

    Is there a way to get the service before an app starts and then restore before it exits? Not sure how to work around this. I don't want my app to be destructive to the settings of the device, if you know what I mean.

    Take a look here, for some specifics of my example:
    https://github.com/d3nd3/bangle-remote/b­lob/main/ble_test.app.js

About

Avatar for d3nd3-o0 @d3nd3-o0 started