Interface: tos.lib.net.CollectionPacket
interface CollectionPacketCommands
command collection_id_t getType(message_t *msg)
command void setOrigin(message_t *msg, am_addr_t addr)
command void setType(message_t *msg, collection_id_t id)
Commands - Details
getOrigin
command am_addr_t getOrigin(message_t *msg)
getSequenceNumber
command uint8_t getSequenceNumber(message_t *msg)
getType
command collection_id_t getType(message_t *msg)
setOrigin
command void setOrigin(message_t *msg, am_addr_t addr)
setSequenceNumber
command void setSequenceNumber(message_t *msg, uint8_t seqno)
setType
command void setType(message_t *msg, collection_id_t id)