The AM packet type is determined by the handler ID field, which is currently being used for networking purposes. Only one value, the HANDLERID_CITRIC value (located in citric_packet.h, is used to indicate that the AM Packet payload is a CB packet.
The type field of the CB packet is divided into 2 halves, with values 0-127 being reserved for API use and 128-255 available to the user. The following values are currently being used:
handler ID | description |
0x00 | ping request from server |
0x01 | ping response from cameraboard |
0x02 | cameraboard SET command from server |
0x03 | wireless printf config from server |
0x04 | wireless printf from cameraboard |
0x05 | wireless file info from cameraboard |
0x06 | wireless file data from cameraboard |
0x07 | stop time sync |
0x08 | camera sync |
0x09 | retransmission request from mote |
0x0A | time compensation |
0x0B | no incoming packet |
0x0C | no outgoing packet |
0x0D | time reflect |