I need something like a Ringbuffer for Bytesequences with different length.
Example:
I must store one or more commands (max 30 Bytes per entry) to my Buffer: 0x0B 0x0A 0xAA 0xBB - 0x0B 0x0A 0xAA 0xBC 0x10 0x20 -
I need to wait until the other system gives me the ACK to send my data.
After every command the other system replies with an answer and i may send the next command. In this time it is possible that new commands pushed into the Buffer.
If no commands left in the buffer i send to the other system that im done.
I have found this Lib: http://pro.sourcepole.ch/repositories/browse/scavento/arduino/libraries Problem: Its only possible to store an INT. But i need it for Bytesequences... :-(
