Hi, I'm glad it worked for you. Yes, you have to include it each time you use the radio.

Kumar, Vimal (S&T-Student) wrote:

Thanks Hussein,

It worked.

Do I have to include the frequency, each time I want two motes to communicate on radio?

*From:* Hussein Khaleel [mailto:[email protected]]
*Sent:* Friday, January 30, 2009 3:10 AM
*To:* Kumar, Vimal (S&T-Student)
*Cc:* [email protected]
*Subject:* Re: [Tinyos-help] Help with BinkToRadio

Hi Vimal,
You need to add this line in the makefile for each of the transmitter and the receiver:
PFLAGS+=-DCC1K_DEF_FREQ=867997200
The line specifies which frequency the MICA2 node should use for the transmission, as it supports two frequencies 868/916MHz, and the antenna equipped supports only one of them (mine is 868Mhz).
I hope this works for you.
Hussein

Kumar, Vimal (S&T-Student) wrote:

Hi TinyGurus,

I am not able to get the BlinkToRadio application to work on Tiny OS 2.x . I am using the Xbow mica2. I wrote the code and tried installing it on the motes, but nothing happens, ( the mote-to mote communication chapter says they should start blinking). Initially I thought that my code was incorrect, so I downloaded the code from the net, which was supposedly working for the person who put the code there, but still nothing happens, I am able to work with other programs but not this one. Can anyone suggest, what could be wrong or something which I am doing wrong.

Thank you

------------------------------------------------------------------------


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

Reply via email to