Hi Sarfaraz Thanks again. But how to set the sender ID for comm.sendRadioMessage() coz three arguments accepted by this method dont specify who is sender.
Looking forward for your early reply Regards Faisal Karim ----- Original Message ---- From: Sarfraz Nawaz <[EMAIL PROTECTED]> To: Faisal Karim <[EMAIL PROTECTED]> Cc: tinyos help <tinyos-help@millennium.berkeley.edu> Sent: Tuesday, June 5, 2007 2:51:49 AM Subject: Re: [Tinyos-help] sending packets via Tython Its the simulation environment that is sending the packets not the base station node. Though you can set the sender ID to be 0 and have the receiving node believe that the packet came from node 0. On 6/4/07, Faisal Karim <[EMAIL PROTECTED]> wrote: Hi Sarfaraz Thanks for reply. Thats true but "who" is using these methods (comm.sendRadioMessage() and comm.sendUARTMessage() ) to send messages to any node. I assume its base station ie node 0. Im looking forward to send messages from specific node. Lets say node 2 send message to node 10. How we can do by using Tython. Thanks in advance. Looking Forward Regards Faisal Karim ----- Original Message ---- From: Sarfraz Nawaz < [EMAIL PROTECTED]> To: Faisal Karim <[EMAIL PROTECTED]> Cc: tinyos help <tinyos-help@millennium.berkeley.edu> Sent: Sunday, June 3, 2007 6:12:12 AM Subject: Re: [Tinyos-help] sending packets via Tython comm.sendRadioMessage() and comm.sendUARTMessage() are used to send a packet to "any" node in the network on the uart and radio respectively. On 6/1/07, Faisal Karim < [EMAIL PROTECTED] > wrote: Hi All Im looking forward to send packets from specific node in simulation via Tython. In Tython manual it is described to send using moteIF(), but what i understand this is to send some msg from base station ie some serial port. To send to base station there is a method comm.sendUARTMessage(), also there is comm.sendRadioMessage() which im assuming to send msg from base station to specific node via radio as this method do not describe which node is sending the message. any comments and help will be highly appreciated Regards Faisal Karim Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. ____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help