Interface: tos.interfaces.PacketLink
interface PacketLink
- Author:
-
David Moss
-
Jon Wyant
Commands
command void setRetries(message_t *msg, uint16_t maxRetries)
command void setRetryDelay(message_t *msg, uint16_t retryDelay)
Commands - Details
getRetries
command uint16_t getRetries(message_t *msg)
- Parameters:
-
'message_t* ONE msg'
- Returns:
-
the maximum number of retry attempts for this message
getRetryDelay
command uint16_t getRetryDelay(message_t *msg)
- Parameters:
-
'message_t* ONE msg'
- Returns:
-
the delay between retry attempts in ms for this message
setRetries
command void setRetries(message_t *msg, uint16_t maxRetries)
- Parameters:
-
'message_t* ONE msg'
-
maxRetries - the maximum number of attempts to deliver
the message
setRetryDelay
command void setRetryDelay(message_t *msg, uint16_t retryDelay)
- Parameters:
-
msg -
-
retryDelay - the delay betweeen retry attempts, in milliseconds
wasDelivered
command bool wasDelivered(message_t *msg)
- Parameters:
-
'message_t* ONE msg'
- Returns:
-
TRUE if the message was delivered.