aboutsummaryrefslogtreecommitdiffstats
path: root/src/flip_bits.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-14 21:29:01 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-14 21:29:01 +0100
commit1df5cf49501226ebc9ba7f9989cc7c07d38a3062 (patch)
treeb181b436aa8edf968ef09e24d00d302e7b7ec9e8 /src/flip_bits.c
parent6daa71dbd2898ee4afad984eff79c30ce171d0d6 (diff)
e1cap_dump: Implement functional HDLC decode of super-channel
Finally the bit ordering and bit format of the SuperChannel has been figured out. * the data as read from DAHDI must be flipped (0->1 / 1->0). why? * the data must be read lsb-first when converting into a bit-buffer We are now getting the following output e.g. for a OM2000 "TX Configuration Request" message: fa 03 8a 8a 80 80 00 13 00 b0 0b 00 ff 01 20 00 2e 2b 1c 00 06 01 95 81 76 00 e9 bf ^ lapd hdr ^ OML ^l ^OM2000 TX Config Req for 43 dBm
Diffstat (limited to 'src/flip_bits.c')
0 files changed, 0 insertions, 0 deletions