I use a program in which i send message between two motes (telosb).
in the sender "AMSend.send(AM_BROADCAST_ADDR, &packet,
sizeof(authentication_msg_t));" return succes
but the receiver doesn't receive the message (I print something when it
receive a message).
Can any body clarify to me the problem.
Some other details:
*the blinkto radio tutorials work well.
*
pt_packet_payload = (authentication_msg_t*)call Packet.getPayload(&packet,
NULL);
printf("sizeof(authentication_msg_t)=%i\n",sizeof(authentication_msg_t));
printf("maxPayloadLength() =%i\n", call Packet.maxPayloadLength() );
printf(" payloadLength(message_t *msg) =%i \n",call
Packet.payloadLength(&packet) );
return
sizeof(authentication_msg_t)=32
maxPayloadLength() =28
payloadLength(message_t *msg) =243
thanks in advance,
**********************************************
Omar Cheikhrouhou
Engineer & Researcher @SENS Lab (Software Engineering and Network Security)
Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5
Sfax. BP 88 A - 3099 El Bustan Sfax Telephone : (+216)74 237425 Poste :
437 Fax: : (+216)74 431 386
Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, National
School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369
Coordinator C2i @ ISET Sfax (Certified C2i since 2008)
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help