Hi,
Using startNotifications should 'just work'. It actually checks what the characteristic supports - if it supports notify it does that but otherwise if it does indicate it does that instead... the code where it does this is at https://github.com/espruino/Espruino/blob/master/targets/nrf5x/bluetooth.c#L3293-L3299
startNotifications
@Gordon 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.
Hi,
Using
startNotifications
should 'just work'. It actually checks what the characteristic supports - if it supports notify it does that but otherwise if it does indicate it does that instead... the code where it does this is at https://github.com/espruino/Espruino/blob/master/targets/nrf5x/bluetooth.c#L3293-L3299