On 5/3/06, Roberto <[EMAIL PROTECTED]> wrote:
I need to leave the crc because in .net 2.0 I have to set properly the
number of bytes threshold and if one of the two bytes of the crc is
equal tio 0x7E or 0x7D it will be changed into 7D5E or 7D5D
respectively. I use UARTNoCRCPacket and it seems to works fine. In this
way there are no problems, also using GenericComm. Later I will try to
do as suggested, thank you

Any 0x7d or 0x7e byte will be escaped with 0x7d (lookup HDLC, the
encoding scheme we use over the serial port). See the code for reading
TinyOS packets from the serial port in one of:
- tools/java/net/tinyos/packet/Packetizer.java
- tools/src/sf/serialsource.c

and I'm sure someone has a C# version of the above floating around somewhere.

David Gay

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to