CITRIC Packet Types

AM Packet Types

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.

CB Packet Types

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 IDdescription
0x00ping request from server
0x01ping response from cameraboard
0x02cameraboard SET command from server
0x03wireless printf config from server
0x04wireless printf from cameraboard
0x05wireless file info from cameraboard
0x06wireless file data from cameraboard
0x07stop time sync
0x08camera sync
0x09retransmission request from mote
0x0Atime compensation
0x0Bno incoming packet
0x0Cno outgoing packet
0x0Dtime reflect