> Hi,
>The first is obviously right.the second is also TOS_LOCAL_ADDRESS.You can
find the example using this in Tinyos tutorial.




> 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
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to