[Tinyos-help] Communication model

2006-04-13 Thread #NG YEONG SHENG,JOHNSON#
Hi
I am 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


Re: [Tinyos-help] Communication model

2006-04-13 Thread Michael Schippling

You can turn on a rudimentary ACK with MacControl.enableACK(),
but it is not very good on mica2s. Otherwise you need to build
your own protocol on top. Look back a couple days on the list,
I reposted pointers to my treatise on radio reliability which
has some detail and code on the ACK mechanism.
MS


#NG YEONG SHENG,JOHNSON# wrote:

Hi
I am 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

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