Component: TestTinySecM
Module to test TinySec. Implements a simple counter that sends a
message over TinySec every tic. Programming two motes with the
apps should result in both motes flashing green and red leds
(green for sending and red for receiving). You can also listen in
on messages with SecureTOSBase and should see a counter.
Messages are both encrypted and authenticated over the air.
- struct TOS_Msg data
- uint8_t value
Send.sendDone
event result_t Send.sendDone
(TOS_MsgPtr m, result_t s)
ReceiveIntMsg.receive
event TOS_MsgPtr ReceiveIntMsg.receive
(TOS_MsgPtr m)
IntOutput.output
command result_t IntOutput.output
(uint16_t v)