Add following line in your make file and it will start communicating. PFLAGS += -DCC1K_DEF_FREQ=916700000
Basically mica2 motes comes with two frequencies. The default frequency set in the makefile works for people in USA however, for people in Asia and Europe we have to add above mention line. It is because we usually have mica2 motes with different frequency. Now I have answer your question, and in case you want to return favor then try out programming motes using Java instead of NesC. Look at TakaTuka http://takatuka.sourceforge.net. regards, -- Faisal Aslam University of Freiburg http://cone.informatik.uni-freiburg.de/people/aslam/ vishram mishra wrote: > Dear All, > I am trying to communicate between two Mica2 motes, but these are not > communicating. I am using TinyOS 2.0.2 on Cygwin Win XP platform. I am > able to burn the Blink program and can watch the Leds glowing on the > motes but when i tested it with RadioCountToLeds, it doesn't work. I > am able to simulate the RadioCountToLeds using TOSSIM and it works fine. > For debugging purpose i inserted a -(call Leds.led0On();) in > (AMSend.send) event, a (call Leds.led0Off();) in (AMSend.sendDone) > event and a (call Leds.led2On();) in (Receive.receive) event. After > burning the program the led 0 turn On and OFF indicating that the > packets are sent from sender but the led 2 doesn't even glow up > indicating that it didn't recieved anything. > Note: I didn't get any error during compilation or burning. I have > even used different identifiers to check if it was any problem with > id, but didn't work. I have small antennas on motes provided by xbow. > Distance between motes is not greater than 20 cm.During simulation of > RadioCountToLeds packets are sent and recieved properly. I've already > checked the mailing archives for this problem but none deals with > TinyOS 2.0 version. > Any help would be appreciated. > > Thank You > > Vishram Mishra > Final Year, UnderGrad Student > Division Of Computer Engineering > Cochin University of Science And Technology > > > ------------------------------------------------------------------------ > Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! > <http://in.rd.yahoo.com/tagline_ie8_new/*http://downloads.yahoo.com/in/internetexplorer/>. > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [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
