Hi Kartik,
Thanks for your reply. I did what you suggested and got the following output:
X=91
X=94
X=86
X=90
X=83
X=88
X=77
X=86
X=89
X=89
According to this, most packets are received, which is good. However, in
my application I am still facing the same problem. In that app, many nodes
try to send at a time to a particular node. More concretely, in (TOSSIM
simulation of) a 25 node network, about 20 nodes send a message to a
particular node of which only 7-8 are seen to be received by it. Could
this simultaneous sending be a reason for that node to not to receive all
the messages?
Regards,
Harshal
> Hi Harshal,
>
> I got over the problem. I tested some code two days back and I found that
> I was receiving some where between 89 to 99 messages out of 100 messages.
> I am not sure how I overcame the problem though I hadn't made much changes
> to the code!
>
> Try to do this: Have one sender and one receiver.
> Sender sends 1000 messages and each message is a number one more than the
> previous one.
>
> At the receiver have two variables X and Y initialized to 0.
> let's say the received number is z,
> do if z<Y+100 then X++
> else save the value of X in the log and then do X=0 and Y=Y+100.
>
> Get the log and then let me know the results.
>
> Kartik
>
>
> --- On Sun, 7/18/10, [email protected] <[email protected]>
> wrote:
>
> From: [email protected] <[email protected]>
> Subject: Re: [*] [Tinyos-help] Regarding sending and receiving
> To: "Kartik Siddhabathula" <[email protected]>
> Cc: [email protected]
> Date: Sunday, July 18, 2010, 11:46 PM
>
>> Hi All,
>>
>> I have a question regarding the buffers. I am using tinyos-2.x and
> telosb
>> motes. From one mote I sent a message 100 times, but another mote which
> was configured to receive the messages received less messages.
>>
>> Once it received the message only thrice and the maximum is 57 messages.
> The no of messages received (on average) is 30.
>>
>> What could be the reason, any ideas?
>>
>> Thanks in advance,
>> Kartik
>>
>>
>>
>> _______________________________________________
>
>
> Hi,
> I am facing a similar problem to the one above. It would be really great
> if someone provides some pointers.
>
> Regards,
> Harshal
>
>
>
>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help