[Tinyos Core WG] Fwd: CC2420 Security Support Documentation
Miklos Maroti
mmaroti at math.u-szeged.hu
Wed Jul 1 11:14:02 PDT 2009
Hi John,
> The CC2420SecurityMode is only active for the next AMSend.send command. You
> can set different security options for different messages on a per message
> basis. The security header is attached when an AMSend is called through a
> SecAMSend interface.
I find that rather strange in an event driver OS. You CANNOT be sure
that no other module is going to call AMSend in between your calls.
Would be better if the message pointer would be also passed in. (You
might not need extra metadata fields but could return FAIL from setXXX
when the security was called but the corresponding AMSend was not).
Miklos
More information about the Tinyos-2.0wg
mailing list