Apps Components Interfaces All Files Source Tree | source: tos.interfaces.TinySec.nc |
Author: | Chris Karlof |
Commands |
Events |
Commands - Details |
Parameters: |
cleartext_ptr - Pointer to buffer containing TOS_Msg. |
Returns: | Total number of message bytes (excluding MAC or crc) that will be sent. |
Returns: | Whether the sending side crypto operations were successful. |
Events - Details |
Parameters: |
result - Indicates whether receive initialization was successful. Reasons for failure include an invalid length field. rxlength - Indicates the total receive length in bytes. tinysec_enabled - Indicates if TinySec is enabled. |
Returns: | Whether the signal handler was successful. |
Parameters: |
result - Indicates whether reception was successful. This currently cannot fail. |
Returns: | Whether the signal handler was successful. |
Parameters: |
result - Indicates the whether sending was succesful. |
Returns: | Whether the signal handler was successful. |