• Hi,
    I wanted to know if its possible to use the Bangle.js 2 to communicate with a device that uses Nordic's ESB (Enhanced Shock Burst) protocol (i.e. not BLE) ?

    I have a third party device that uses a nRF51822 chip that supports ESB and want to communicate with it using the Bangle.js 2 watch. It seems that the Bangle.js 2's Nordic chip should support the ESB protocol too, the question is if its accessible using the Espruino/Bangle.js eco-system.

    Does Espruino support this ? What would I need in order to do this ?

    Thanks!

  • Hi! It's something that isn't inside Espruino itself, but you could maybe extend the firmware (https://github.com/espruino/Espruino) to add it. There are some examples in the Nordic SDK in the proprietary_rf folder.

    My concern would be that I don't know how well ESB and Bluetooth play together. It does look possible though: https://devzone.nordicsemi.com/f/nordic-q-a/30872/nrf52832-esb-and-ble-switching

    So I think what you'd need to do is use Nordic's 'timeslot' API to arrange with the Bluetooth stack a time period when you could configure and use the Bangle for ESB - but there are examples out there by the look of it.

    There's a tutorial on extending the firmware at https://www.espruino.com/Extending+Espruino+1

  • Cool, thanks for the informative answer!
    I will look into it. As for BLE, I don't mind disabling it for ESB to work when needed.

  • I don't mind disabling it for ESB to work when needed.

    That could be even more complicated :-) BTW, here is one more post about esb via timeslot api https://devzone.nordicsemi.com/f/nordic-q-a/52286/esb-timeslot---softdevice-event-handler

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

Communication on the Bangle using Nordic's ESB protocol

Posted by Avatar for ag @ag

Actions