[Tinyos-help] Getting extra bytes in CRC in TOS_Msg packet

2006-03-09 Thread S. Umesh Babu
Hello, I am sending some packets from two micaz motes to base station.The data observed using xlisten program.Some times i am getting crc value 3 bytes.Actually it should be 2 bytes according to TOS_Msg structure.Can somebody explain me this. something like following.I should get all 15 byte pac

Re: [Tinyos-help] Getting extra bytes in CRC in TOS_Msg packet

2006-03-10 Thread Harri Siirtola
Hi Umesh, that's just the ordinary escaping scheme of the 0x7D sync byte. It's done by stuffing a 0x7D into the stream and XORing the actual byte with 0x20 (0x7D xor 0x20 = 0x5D). In your case, the crc happens to have 0x7D on that line. A search on the list will tell you more if you want. Re

RE: [Tinyos-help] Getting extra bytes in CRC in TOS_Msg packet

2006-03-10 Thread Damien O'Rourke
]; tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] Getting extra bytes in CRC in TOS_Msg packet Hi Umesh, that's just the ordinary escaping scheme of the 0x7D sync byte. It's done by stuffing a 0x7D into the stream and XORing the actual byte with 0x20 (0x7D xor 0x20 = 0x5D

Re: [Tinyos-help] Getting extra bytes in CRC in TOS_Msg packet

2006-03-10 Thread Michael Schippling
Sent: 10 March 2006 08:08 To: [EMAIL PROTECTED]; tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] Getting extra bytes in CRC in TOS_Msg packet Hi Umesh, that's just the ordinary escaping scheme of the 0x7D sync byte. It's done by stuffing a 0x7D into the stream and XORing