MARIE 0.5 marieimage
From MARIEWiki
Contents |
[edit]
Introduction
MarieImage protocol uses an homemade "light" format to be able to send large chuck of data such as images.
[edit]
Format
| 14 char | 11 chars | * | time_t | suseconds_t | 14 char | 11 char |
| MARIEHDR_START | datatype start header | fields | timestamp sec | TimeStamp usec | datatype stop header | MARIEHDR_END |
- MARIEHDR_START = "MARIEHDR-START"
- MARIEHDR_END = "MARIEHDR-END__"
- Element and fields order must be respected to be parsed correctly
[edit]
Example
| 14 char | 11 char | unsigned int | unsigned int | unsigned int | floats | time_t | suseconds_t | 14 char | 11 char |
| MARIEHDR_START | IMAGE_START | 3 | 3 | 3 | [0,1,2,3,4,5,6,7,8] | timestamp sec | timestamp usec | IMAGE_END | MARIEHDR_END |
- IMAGE_START = "IMAGE_START"
- IMAGE_END = "IMAGE_END__"
[edit]

