This document describes the CB payload of each CB packet type. All multiple byte fields are big endian.
byte(s) | field | type | description |
no payload |
byte(s) | field | type | description |
0-7 | timestamp | unsigned long | global time |
8 | cpu freq | unsigned byte | cpu frequency |
9 | inqueue size | unsigned byte | size of incoming packet queue |
10 | outqueue size | unsigned byte | size of outgoing packet queue |
11-14 | uptime | unsigned int | cameraboard uptime in min |
15 | resolution | unsigned byte | camera resolution mode |
16 | color | unsigned byte | camera color mode |
17 | auto exposure | bool | state of camera auto exposure |
18 | exposure value | unsigned byte | camera exposure value |
19 | wireless printf mode | bool | one byte - each bit represents 1 of 8 pritf groups |
byte(s) | field | type | description |
0 | parameter | unsigned byte | parameter number |
1-X | value | unsigned byte | value |
byte(s) | field | type | description |
0 | groups | bool | each bit is a boolean value that represents the state of each of the 8 printf channels |
byte(s) | field | type | description |
0-X | string | char | the string to be printed |
byte(s) | field | type | description |
0 | type | unsigned byte | value of 0 is for start of transmission, 1 is for end of transmission |
1-4 | file size | unsigned int | size of file in bytes |
5-X | file name | char | file name, not NULL terminated |
byte(s) | field | type | description |
0-1 | segment number | unsigned int | file segment number |
2-X | data | byte | file data |
byte(s) | field | type | description |
byte(s) | field | type | description |
0-3 | timestamp | unsigned int | global time of mote |
byte(s) | field | type | description |
byte(s) | field | type | description |
byte(s) | field | type | description |