[Tinyos-help] Help on multihop

2006-06-02 Thread #NG YEONG SHENG,JOHNSON#
Hi

I would like to ask if its possible to do multihop 
without using broadcasting. For example I have 2 remote motes both responsible 
for collecting datas and sending it to a base station.Mote 1can do a 
direct communciation with the base station whilemote 2needs to relay 
the data thru mote 1 to reach the base station. How should i go about to do it? 


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


[Tinyos-help] (no subject)

2006-05-24 Thread #NG YEONG SHENG,JOHNSON#
Hi

Does anyone knows how to implemeant multi-hop in 
our own applications? I need a direction to begin in.How can we use 
thosethat are provided in the lib folder eg mint route and route. I need 
to copy the codes and fit it into my application? 
regards___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] FW: Help on LoggerWrite and LoggerRead

2006-05-03 Thread #NG YEONG SHENG,JOHNSON#






From: #NG YEONG SHENG,JOHNSON#Sent: 
Thu 5/4/2006 10:14 AMTo: 
[EMAIL PROTECTED]Subject: Help on 
LoggerWrite and LoggerRead

Hi

I need help on LoggerRead and LoggerWrite 
functions. Lets take an example, I have an array.

int array[5]={1,2,3,4,5};
char* ptr;
ptr=(char*)array[0]; 
call LoggerWrite.apprend(ptr); 
---this will only write the first element into the eeprom.

Is that a way to write everything into the eeprom? 
Likewise for LoggerRead, is there any way to read the array of data 
out?
Any advice will be appreciated.


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


[Tinyos-help] Communication model

2006-04-13 Thread #NG YEONG SHENG,JOHNSON#
Hi
Iam trying to set up a simple communication model between 2 nodes, 
one as a base station and another as a sensor node. My concern is the 
communication between the 2 nodes, i.e. sending and receiving of packets. I have 
manage to sent messages using Generic Comm and for the receiving part, i 
actually made used of TOSBase. I used Listen.Java to monitor the packet data. I 
realise that Generic COmm doesn't offer any kind of acknowledgment when a packet 
is received. The sender just keep sending the packets to the base node. I need 
advice/suggestions on how to implement acknowledgment before sending the next 
packet. Thanks ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help