Re: [Tinyos-help] C and nesC problems

2007-09-25 Thread Daniel Widyanto
). Or, you can just ask me for the modified code =) It's still in BSD license anyway. Regards, -daniel Original Message > From: "Chan kenniel" <[EMAIL PROTECTED]> > Sent: Tuesday, September 25, 2007 1:55 PM > To: [EMAIL PROTECTED] > Subject

Re: [Tinyos-help] C and nesC problems

2007-09-24 Thread Chan kenniel
Thanks Daniel, but I am wondering whether the mechanism of C for sending packets to serial forwarder in tinyos-2.x is compatible with that in tinyos-1.x? since mine is tinyos-1.x right now, don't have such a directory u mentioned. Really thanks for your time. Best regards, Kenneth On 9/24/07, Dan

re: [Tinyos-help] C and nesC problems

2007-09-23 Thread Daniel Widyanto
Hi, Under TinyOS-2.x tree, there's a directory called : support/sdk/c. Compile the source using : make, the result is libmote.a to be linked to your C-program. To send the command to serial forwarder : see the example in sfsend.c. Basically, what you need to do is : 1) Open sf channel using :

Re: [Tinyos-help] C and nesC problems

2007-09-21 Thread Michael Schippling
In T1 there are some host side C programs in tools/src Also search back on this list. I believe the thing that is missing is the CRC calculation for sending messages, and I know I've seen reports of this being hacked in various non-Java languages. MS Chan kenniel wrote: Dear all, I have modifi