Hi,
 
I have additional information regarding the problem with the communication from pc to node.
If I use transparent base on two nodes and I am sending a message over uart to node a with the address of nodeb it works.
But if I want to send a message over uart to nodea, how can I do that?
I tried the node id as addres of node a and 0x007E, but nothing is working. For radio I calculate the crc and it works fine. Should I remove the crc if the message is addressed to the node of uart?
Only every second message is received by nodea. If I use two nodes, everything is working fine.
 
 
Best Regards,
 
 
Patrick
 
 


patrick kuckertz <[EMAIL PROTECTED]> wrote:
Hi,
 
I have used mica2 nodes. Now I try to communicate with telosb nodes. On pc I use a serialport. Reception of the messages works fine, but when I want to send messages I observe problems:
 
I send a message like this:
 
length = 3;
fcfhi = 08;
fcfh0 = 0;
dsn = 1D;
destpan = 0403;
addr = 1111; (Address of node)
type = 63;
group = 7D (standard)
data = 3 bytes
 
Then I escape this bytes and put 7E42 before the message and 7E after the message. Then I send the message.
 
On the node I indicate the reception with leds.toggle...
Depending on the length the light changes with every two messages or always.
 
I do not need to put a CRC into the message? I tried that too and get the same results. Is there a general thing I do wrong?
 
On mica2 this worked fine. However the structure of the message is different.
 
Best Regards,
 
 
Patrick 
 



Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min._______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to