Firmware works, and I just fixed a bug with extended packets that had gone unaddressed for a long time (did you know that 32 bytes has 256 bits in it? Whoda thunk it - means a byte just wouldn't do it; Things you don't have to deal with on Espruino)
My commandset for sending will be:
AT+SEND
AT+SENDM
AT+SENDL
AT+SENDE
(for the 4 sizes)
Data returned is prefaced with a '+'
I've got it working with both binary, where the + is followed by a byte indicating the length of the bytes to follow, or where they're represented in hexadecimal and terminated with a \r.
CTS/RTS in a simple form should be easy to add. I sent out the boards to be fabbed by our friends in china yesterday. These, I think, will make the RF stuff a lot easier to do, since now I can easily bridge the divide between high level and low level devices - not to mention giving me an easy way to manually send data over it.
Also, strings in Arduino are hellish to work with compared to Espruino. Good god...
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.
Got this coming along well...
Firmware works, and I just fixed a bug with extended packets that had gone unaddressed for a long time (did you know that 32 bytes has 256 bits in it? Whoda thunk it - means a byte just wouldn't do it; Things you don't have to deal with on Espruino)
My commandset for sending will be:
AT+SEND
AT+SENDM
AT+SENDL
AT+SENDE
(for the 4 sizes)
Data returned is prefaced with a '+'
I've got it working with both binary, where the + is followed by a byte indicating the length of the bytes to follow, or where they're represented in hexadecimal and terminated with a \r.
CTS/RTS in a simple form should be easy to add. I sent out the boards to be fabbed by our friends in china yesterday. These, I think, will make the RF stuff a lot easier to do, since now I can easily bridge the divide between high level and low level devices - not to mention giving me an easy way to manually send data over it.
Also, strings in Arduino are hellish to work with compared to Espruino. Good god...