What I would like to do is have a function I call that allows me to attach my own handler to the BLE UART RX/TX and basically disable the espruino interface until the device disconnects.
Is this possible?
Being able to send JavaScript over UART is convenient, but it’s not ideal if you’re sending binary data back and forth.
I’ve somewhat implemented what I want, but it doesn’t actually use the UART, but rather alternative characteristics that behave similarly
Ideally I would just keep UART and add my two additional characteristics with advertisement, but as things are now, I have to change out the services
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.
What I would like to do is have a function I call that allows me to attach my own handler to the BLE UART RX/TX and basically disable the espruino interface until the device disconnects.
Is this possible?
Being able to send JavaScript over UART is convenient, but it’s not ideal if you’re sending binary data back and forth.
I’ve somewhat implemented what I want, but it doesn’t actually use the UART, but rather alternative characteristics that behave similarly
Ideally I would just keep UART and add my two additional characteristics with advertisement, but as things are now, I have to change out the services