[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] question on 802.15.4 implementation
From: |
Bastian Bloessl |
Subject: |
Re: [Discuss-gnuradio] question on 802.15.4 implementation |
Date: |
Thu, 29 May 2014 11:58:02 +0200 |
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