I'd suggest a (maybe optional) RTS/CTS implementation (it could always be removed by shorting the 2 wires together). It'd allow someone to use the setDeepSleep mode of Espruino, with a small bit of wrapper code:
Maybe go for AT commands? That seems pretty standard for serial
Ciseco had their LLAP protocol. It's a similar idea, and might be worth a quick read just to see if they had any ideas
As in LLAP, it might be worth making sure $(data) is actually just hex characters - it'll make it a lot safer (for instance how would you send \r otherwise).
Finally, I know this goes against your plan a bit, but I whether anything could be done in Espruino to make it better at decoding RF... Maybe I could add the ability to drop any state changes that happened too quickly, before they even got to JS.
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.
Sounds like a really good idea...
I'd suggest a (maybe optional) RTS/CTS implementation (it could always be removed by shorting the 2 wires together). It'd allow someone to use the
setDeepSleep
mode of Espruino, with a small bit of wrapper code:Just some ideas:
AT
commands? That seems pretty standard for serial$(data)
is actually just hex characters - it'll make it a lot safer (for instance how would you send\r
otherwise).Finally, I know this goes against your plan a bit, but I whether anything could be done in Espruino to make it better at decoding RF... Maybe I could add the ability to drop any state changes that happened too quickly, before they even got to JS.