Interface: tos.chips.cc2420.interfaces.PacketTimeSyncOffset
interface PacketTimeSyncOffsetCommands
command void cancel(message_t *msg)
command uint8_t get(message_t *msg)
command bool isSet(message_t *msg)
command void set(message_t *msg)
Commands - Details
cancel
command void cancel(message_t *msg)
- Parameters:
-
'message_t *ONE msg' message to modify.
Cancels any pending requests to timestamp the message in MAC.
get
command uint8_t get(message_t *msg)
- Parameters:
-
'message_t *ONE msg' message to examine.
Returns the offset of where the timesync timestamp is sotred in a
CC2420 packet
isSet
command bool isSet(message_t *msg)
- Parameters:
-
'message_t *ONE msg' message to examine.
Returns TRUE if the current message should be timestamped.
set
command void set(message_t *msg)
- Parameters:
-
'message_t *ONE msg' message to modify.
Sets the current message to be timestamped in the MAC layer.