I found some previous postings having the same question but with no answer.
How can I change the TOSBase code so when I send a packet from my PC to the
MIB510 of the following format:
7E 42 FF FF 00 7d 0b 01 01 00 00 00 00 00 00 00 00 00 69 b0 7E
42----packet without achknowledgments
FFFF---Broadcast Address
00: AM Handler
7d: Group ID
0b: payload length (11 bytes....coz when I run the BcastInject code I got
sending payload 11000000000)
01 01 00 00 00 00 00 00 00 00 00: the payload...in order to turn the LED ON
(based on the SimpleCmd apps)
69 b0: the crc calculated using the code found in BcastInject
When I send this packet the led should turn on....but I got nothing???
I think because the UART understand characters so It is converting the
hexadecimal to characters when receiving the packet. My question is how to
change the TinyOS applications to convert the characters again to
hexadecimal.
N.B: I am trying to send the packet without the use of BcastInject.
Thanks in advance,
Liliane.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help