While I'm on a roll...

In Surge, I don't see the code explicitly assigning the incoming message packet to the gMsgBuffer. How does the incoming message get stored? Does it get stored? Or is the gMsgBuffer only used to temporarily build the message before sending?

I can't seem to find the code for the last bit either.

Thing is, I can't seem to understand how the node rebroadcasts the message received if the message isn't meant for it. Is everything handled through the SendData() task?

Sankar.

On Fri, 16 Dec 2005 14:56:46 -0600, Michael Schippling <[EMAIL PROTECTED]> wrote:

you got it...

I believe TOS_LOCAL_ADDRESS is the name for a ROM memory address
known to the uisp program, where it sticks the install.N number
as it is downloading...

MS

Sankar Gorthi wrote:
Hi,
Another newbie doubt: When installing Surge in the motes, let's say I use <code>make mica2 install.3</code>, the node id is set as 3. Right?
 Then, how can I access it in NesC code?
 Is it the TOS_LOCAL_ADDRESS variable? (Is it a variable?)
 Sankar.
On Thu, 15 Dec 2005 08:38:51 -0600, Sankar Gorthi <[EMAIL PROTECTED]> wrote:

Thank You Tran and Harri.

Sankar.


On Thu, 15 Dec 2005 03:32:55 -0600, Harri Siirtola <[EMAIL PROTECTED]> wrote:

Hi Sankar,

look at contrib/xbow/beta/tools/src/xcmd. That's what I'm using to command my motes. You can give the mote ID on the command line.

Regards,

         Harri

At 01:41 PM 12/14/2005 -0600, Sankar Gorthi wrote:
Hi,

Quick newbie doubt. Has any code been written to address a particular node
in a network?

Basically trying to run a command like "put node no. X to sleep".

Thanks,

Sankar Gorthi.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


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

Reply via email to