So, me and Ferando Silva, we were working on API and found the need to
change it...
So, here is:
http://code.google.com/p/bicycleledpov/wiki/BicycleLEDPOVAPI
Today I coded the "Command 1: Get identificacion string" and commited
the changes to SVN.
Using your words "reading a memory stream" is "reading contiguous and
sequential memory blocks".
And what's about output values for ''clear all memory'' command?
Should value of memory capacity be in output bytes of 'Command 2: Get hardware properties'? In KB, perhaps?
Oh, I think I forgot to put it on Command 2 - please add it, I think it were that before, please see the older version of the wiki page to understand where it was before.
#define MEMORY_SIZE_BYTE_1 32 #define MEMORY_SIZE_BYTE_2 0 #define MEMORY_SIZE_BYTE_3 0 It's defined on http://code.google.com/p/bicycleledpov/source/browse/trunk/hardware/firmware/BicycleLEDPOV.h for actual EEPROM memory.
> Using your words "reading a memory stream" is "reading contiguous and > sequential memory blocks". > Maybe then just 'reading sequence of bytes' is suitable?
I don't really know - it was Fernando who said like that: "stream ..."
Yes. Why not :)
Yes, blocks of no more than 64kbytes, each time.
The "$" is the value 36 (shown in ASCII by cutecom), 36 is the lenght of
the string, including the NULL char.
In the end of the string, the "\0x00" is the NULL char.