Hi all,
i want to do communicate two motes with this way: the first one has to set up a
key, encrypt a plaintext of 16 bytes.
then send it to the second mote which receives the ciphertext, decrypts it,
then prints it.
i follow the lesson 3 of the tutorial, so, when the millitimer fires, the first
mote does his commands (set up, encrypt and send) then when
when the send is done and the event receive.receive is done the second mote
does his commands ( decrypt and print result).
i want to know two things please: first, is it true the process that i did?
second, about the stucture of the radio message, i defined:
typedef nx_struct RC6_RadioMsg {
nx_uint16_t nodeid;
nx_uint8_t pt[16];
} RC6_RadioMsg;
is nx_uint8_t pt[16] true???
should i redefine TOSH_DATA_LENGTH ??
thanks for any help
Sam,
_________________________________________________________________
Hotmail : une messagerie fiable avec une protection anti-spam performante
https://signup.live.com/signup.aspx?id=60969_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help