I'm not sure if this is what you are looking for, but I did a port of *most* of the functionality of the Java tools to C#:
http://www.eecs.harvard.edu/~mdw/private/csharp.tar.gz Most of it is automatically converted from the Java code, with various tweaks and hacks. There is an example program in there showing how to use it via the 'MoteIF' interface. On Wed, 2006-05-03 at 09:02 -0700, David Gay wrote: > 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 > _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
