Ok, now I understand all header, thanks. I try to send a packet (with the
same header but changing Adress Bytes for Broadcast Address 0xFFFF). In byte
4 and 5 (Address byte 1 and 2) I put XOR w/ 0x20 to 0xFF but I don't receive
anything.

I try to put Node Address (in this case 0) on that bytes, for byte 4-->0x20
(XOR w/ 0x20 to 0x00) and for byte 5-->0, but at this form I don't receive
anything either.

I'm using matlab to do everything I have explained, taking one packet first,
changing the header and sending all packet across the serial port.

I attached the format packet to refresh that:
http://img851.imageshack.us/i/paquet.jpg/

2011/3/7 Michael Schippling <[email protected]>

> There used to be a nice description of the message format online...
> which I found again through the offices of a web archive:
>
> http://web.archive.org/web/20060627154751/http://www.octavetech.com/pubs/TB5-01+Deciphering+TinyOS+Serial+Packets.pdf
>
> Looking through that and the Packetizer.java code is the best I can
> do to explain what's going on.
>
> MS
>
>
> Xavi Colomer wrote:
>
>> Oh, thanks a lot! One more question, if I want to send a message to my
>> base (node_id=0) I will need to change the value 94 for what? I don't
>> understand what 'XOR w/ 0x20 to 0x7E' means.
>>
>> Thanks again.
>>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to