From: Alexander Aring <alex.aring@gmail.com>
To: Remi Philippe <remi+wpan@linqio.com>
Cc: linux-wpan@vger.kernel.org
Subject: Re: Reversed Payload Bits?
Date: Mon, 4 Apr 2016 10:04:45 +0200 [thread overview]
Message-ID: <20160404080440.GA625@omega> (raw)
In-Reply-To: <CAH+RWqFxO9VgVgbyxjefot8JLnF_asKzbGh9AVtu2GW9Z8uqxA@mail.gmail.com>
On Sun, Apr 03, 2016 at 10:35:29PM +0400, Remi Philippe wrote:
> Hello,
> A generic question, have you ever run into issues such as payload bits
> arriving reversed (AT86RF215 to CC1200 on Contiki, but I guess it
> would be the same for AT86RF230)?
>
- which layer? MAC, 6LoWPAN?
- bit or byte ordering?
If you code something and missed byteordering handling you can check it
with:
make C=2 net/ieee802154/ net/mac802154/
this requires the software "sparse".
_But_ this works only if you use correct the byteorder typedefs such as
"__le16", etc...
> At first look it could have been and endianess problem, but I don't see why...
>
Which contiki version? I tested 2.6 with some self ported board only.
I know versions below had some fragmentation issues, which you not use.
- Alex
next prev parent reply other threads:[~2016-04-04 8:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-03 18:35 Reversed Payload Bits? Remi Philippe
2016-04-04 8:04 ` Alexander Aring [this message]
2016-04-05 12:20 ` Remi Philippe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160404080440.GA625@omega \
--to=alex.aring@gmail.com \
--cc=linux-wpan@vger.kernel.org \
--cc=remi+wpan@linqio.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox