[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] question on 802.15.4 implementation
From: |
Sahoo, Anirudha |
Subject: |
Re: [Discuss-gnuradio] question on 802.15.4 implementation |
Date: |
Fri, 30 May 2014 15:18:44 +0000 |
oops, I just found out that the code I have been working with, has been
modified in-house. So, the debug message is coming from changes made to your
code. Sorry about that.
thanks and regards
-Anirud
Anirudha "Anirud" Sahoo
National Institute of Standards and Technology
Advanced Network Technologies Division
100 Bureau Drive, Stop 8920
Gaithersburg, MD 20899-8920
-----Original Message-----
From: Bastian Bloessl [mailto:address@hidden
Sent: Thursday, May 29, 2014 5:58 AM
To: Sahoo, Anirudha
Cc: address@hidden
Subject: Re: [Discuss-gnuradio] question on 802.15.4 implementation
Hi Anirud,
On 28 May 2014, at 18:47, Sahoo, Anirudha <address@hidden> wrote:
> mac.cc:mac_in: pmt_is_pair
> mac.cc::mac_in: data_len = 30
> CRC at Reception: 0
> MAC: Dropping packet self routed
>
> I poked around mac.cc code a bit. It looks like the message received has the
> same mac id as the mac id of the receiver. It seems that the MAC layer does
> not use the *real* MAC id, rather it generates mac id using "rand() % 100".
> My understanding is that the receiver is also getting the same mac-id as the
> sender and hence dropping packet.
> Any idea how to fix the problem?
Which code are you using? I can neither find the debug output nor the "rand() %
100" code. Also what do you mean with MAC id? Sequence number or MAC address?
Best,
Bastian