hi to all, Thank you in principle for all people help me,
i'm studing for my university the tinyos and java, i have this problem, i read
example
Oscilloscope, now in this example i don't understand this:
in data.java i read this:
.
/* Data received from mote nodeId containing
Hi,
My answer is written inline below:
/* Data received from mote nodeId containing NREADINGS samples from
messageId * NREADINGS onwards. Tell parent if this is a new node. */
void update(int nodeId, int messageId, int readings[]) {
if (nodeId = nodes.length) {
On Tue, Feb 12, 2013 at 1:21 AM, Dang Thi Hai Ha hris2...@gmail.com wrote:
Hi,
My answer is written inline below:
/* Data received from mote nodeId containing NREADINGS samples from
messageId * NREADINGS onwards. Tell parent if this is a new node.
*/
void update(int
if (nodeId = newLength) {
newLength = nodeId + 1;
}
This is to treat the case when node.length = 0.
That seems like a rather convoluted (unclear) way of checking for 0. Why
don't you simply check for node.length == 0?
That was my initial guess. Maybe it
;
}
..
best regads
Antonio
Da: Eric Decker cire...@gmail.com
A: Dang Thi Hai Ha hris2...@gmail.com
Cc: Antonio daita...@yahoo.it; tinyos forum
tinyos-help@millennium.berkeley.edu
Inviato: Martedì 12 Febbraio 2013 10:48
Oggetto: Re: [Tinyos-help] example
@millennium.berkeley.edu
*Inviato:* Martedì 12 Febbraio 2013 10:48
*Oggetto:* Re: [Tinyos-help] example Oscilloscope
On Tue, Feb 12, 2013 at 1:21 AM, Dang Thi Hai Ha hris2...@gmail.comwrote:
Hi,
My answer is written inline below:
/* Data received from mote nodeId containing NREADINGS
Hi,
Is there any method in this oscilloscope java application that can retrieve
the number of Motes that are connected? i.e how many sensors are connected in
the network. Thank you.
Regards,
Edmund
-
Real people. Real questions. Real answers.
Hi,
Is there any method in this oscilloscope java application that can retrieve
the number of Motes that are connected? i.e how many sensors are connected in
the network. Thank you.
Regards,
Edmund
-
Real people. Real questions. Real answers.