I just had a deeper look at the source-code of irdadump, as it's the
only part of the irda-utils which doesn't cross-compile for arm without
I discovered that the source- and destination-addresses ('frame->saddr'
and 'frame->daddr') are converted _from_ Little-Endian. Which seems odd
to me, because network byte ordering is supposed to be Big-Endian (isn't
it?), and also the address as listed by ifconfig is byte-switched
compared to that shown by irdadump.
Suggestion: I think converting _from_ Big Endian (e.g. ntohs() or
GINT32_FROM_BE() in glib'ish) should be the way it's done. Then, the
ifconfig-address should be right.
Thanks for your comments.
PS: What's the reason irdadump is based on glib?? It's annoyingly hard
to compile that for arm...
Get latest updates about Open Source Projects, Conferences and News.