You have to be more specific about the type of mote you are using and don't expect any off-the-shell answer...
For Z1 motes I create an udev rule naming each with its serial number, having /dev/Mote1, /dev/Mote2 instead of /dev/ttyUSB0... this avoids having to care about which ttyUSBx specific port is assigned to each mote. Secondly I run the tos-bsl script for flashing the mote(s) using a python/bash script, passing as parameters the .ihex compiled image and a list of the motes to program. You can google how to create udev rules, and for the scripting/interface part you will have to start banging your keyboard and giving it a go. --Antonio On Fri, Nov 16, 2012 at 12:58 PM, Sarah John Mwariti <[email protected]>wrote: > i was able to do this by creating a bash file. > > Now how to create an interface where you can select which mote you want to > program? > > > > On Fri, Nov 16, 2012 at 10:42 AM, Sarah John Mwariti <[email protected] > > wrote: > >> Hi guys, >> >> >> i have a small test-bed using 6 motes, whenever i send data to the motes, >> i send data to each motes in a given time. >> How to program all the motes same time instead of programming them one by >> one? >> >> >> >> Looking forward to your reply. >> >> >> Regards >> Sara. >> >> >> > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- -- Antonio LiƱan Colina R+D+I Engineer @: [email protected] @: [email protected] ------------------------------ Advancare T: +34 93 582 02 70 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
