Re: [Tinyos-help] Serial Communication using C/C++ on Windows

2011-03-24 Thread Breno Guimarães
Hi, I noticed that some people have trouble using the serial port to communicate with the base using the BaseStation application. So I wrote a guide to help on that with code suggestions and some explanation about serial port using and ActiveMessage protocol.

Re: [Tinyos-help] Serial Communication using C/C++ on Windows

2011-03-24 Thread Omprakash Gnawali
Breno, It will be great if you can add your document as a tutorial under user contributed tutorials on this page: http://docs.tinyos.net/index.php/TinyOS_Tutorials - om_p 2011/3/24 Breno Guimarães bren...@gmail.com: Hi, I noticed that some people have trouble using the serial port to

Re: [Tinyos-help] Serial Communication using C/C++ on Windows

2011-03-24 Thread Breno Guimarães
Hi! Thanks for the tips Michael! After I read your comments I noticed that I forgot to specify which tools and system configuration required to understand and run everything at the guide. I'll write about that when I have the chance. Omprakash, thanks for the advice! I will add it there very

Re: [Tinyos-help] Serial Communication in C

2008-04-23 Thread Raymond Paxton
Greetings, I am a newbie currently working on a project which uses TelosB motes to send packets back and forth. Now I am connecting one of the motes to an another microcontroller through UART - RS232 connection. Now the question is, I want the microcontroller to be able to call command

[Tinyos-help] Serial Communication in C

2008-04-22 Thread olly yuen
Greetings, I am a newbie currently working on a project which uses TelosB motes to send packets back and forth. Now I am connecting one of the motes to an another microcontroller through UART - RS232 connection. Now the question is, I want the microcontroller to be able to call command

Re: [Tinyos-help] Serial communication with C SDK

2007-05-15 Thread Steve McKown
Hi, On Monday 14 May 2007 13:39, [EMAIL PROTECTED] wrote: I'm trying to write a simple serial listener application in C, using the tools provided in /support/sdk/c. I've successfully compiled the tools and run the example seriallistener program. However, I'm having trouble getting my own

RE: [Tinyos-help] Serial communication with C SDK

2007-05-15 Thread Oussama Chougna
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve McKown Sent: dinsdag 15 mei 2007 16:45 To: tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] Serial communication with C SDK Hi, On Monday 14 May 2007 13:39, [EMAIL PROTECTED] wrote: I'm trying to write a simple serial listener

Re: RE: [Tinyos-help] Serial communication with C SDK

2007-05-15 Thread kmalasri
15, 2007 10:02 am Subject: RE: [Tinyos-help] Serial communication with C SDK Hi steve, You have to give an extra argument to your compiler. I had exactly the same problem in the past. Try the -g option: Gcc -g yourapp.c your_SDK_pathserialsource.c . Try it and let me know

[Tinyos-help] Serial communication with C SDK

2007-05-14 Thread kmalasri
Hello, I'm trying to write a simple serial listener application in C, using the tools provided in /support/sdk/c. I've successfully compiled the tools and run the example seriallistener program. However, I'm having trouble getting my own programs to compile. I have a simple test program

Re: [Tinyos-help] Serial communication with C SDK

2007-05-14 Thread Michael Schippling
open_serial_source() -- and probably some other necessary functions -- must be defined somewhere in the example C programs, or perhaps in a library they use. You need to include these functions with your new code, either brute force copy the source into your test.c file, or link with .o or .a