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.
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.
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! 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