Interface: tos.lib.net.CollectionPacket

interface CollectionPacket

Commands
command am_addr_t getOrigin(message_t *msg)
command uint8_t getSequenceNumber(message_t *msg)
command collection_id_t getType(message_t *msg)
command void setOrigin(message_t *msg, am_addr_t addr)
command void setSequenceNumber(message_t *msg, uint8_t seqno)
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)