Hi all,
I have two micaz motes of which one is sitting on a MIB510 board(without battery) and other micaz mote battery supplied.

I turned on one of LED in the micaz mote sitting on MIB510 and sent the value over radio by modifying the CntToLedsAndRfm program so that it sends only the value of one LED ON status (not in counting fashion from 0x00 to 0x07) and in other mote supplied with battery i programmed the RfmToLeds program to receive the LED status and it was recevied fine.
But, What i expect is when i turn OFF the micaz mote sitting on MIB510, i expect the LED to get turned OFF on the micaz mote with battery supplied since the radio connection is lost. Once the micaz mote sitting on MIB510 is off, the radio connection is lost, but still the LED is ON on the micaz mote with battery.
 
Is there a way to check in the RfmToLeds Program to display the value of LED, only if there is radio connection! (that is micaz mote sitting on MIB510 is OFF) ? and if there is no radio connection make automatically the LEDs to OFF in the micaz mote with battery supplied.

TIA,
Regards,
Peri


Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to