Interface: tos.interfaces.TokenReceiveMsg
interface TokenReceiveMsg
Receive messages with an identifying token that can be used for
acknowledgement.
- Author:
-
Phil Buonadonna
Commands
command result_t ReflectToken(uint8_t Token)
Events
event TOS_MsgPtr receive(TOS_MsgPtr Msg, uint8_t Token)
Commands - Details
ReflectToken
command result_t ReflectToken(uint8_t Token)
- Parameters:
-
Token
- A one byte token.
- Returns:
-
SUCCESS if the provider was able to queue the token for
transmission.
Events - Details
receive
event TOS_MsgPtr receive(TOS_MsgPtr Msg, uint8_t Token)
- Parameters:
-
Msg
- A pointer to the received TOS_Msg
-
Token
- A one byte token associated with the recieved message.
- Returns:
-
A buffer for the provider to use for the next packet.