Hello,
I have a PC connected to a telosb node through the usb port.
I have also a java program that runs onthis PC,this programas soon as it
receives a message M1 from the node telosb connected to the USB
port it will respond with another message M2.
So in the code of NESC of the node telosb connected to the PC it was an event
Receive M2:
event message_t* ReceiveM2.receive(message_t* msg, void* payload, uint8_t
len):
at this event there are instructions,
I add the function encrypt from tinyecc library to these instructions
“C_len = call ECIES.encrypt(C,
2*KEYDIGITS*NN_DIGIT_LEN + 1 + MAX_M_LEN + HMAC_LEN, AKu, 20, &Ygw);”
so the event Receive is runningsuccessively 5 times despite the
java program sends the message M2 only once.
My question
is why the event receive is executed repeatedly more than one time despite the
message is received really once?
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help