osmo-e1-recorder/src
Harald Welte c1b9cab053 e1cap_dump: Add SC (Super Channel) mode
In the super channel mode, it seems the BTS transmits one byte in each
timeslot, accross the entire link.

This basically means that if you have a 10 byte long signalling message
to be sent, its first byte will be in TS1 up until the tenth byte in
TS10.

As we are reading in 160 byte chunks from the E1 timeslots, we build a
matrix with 160 columns (for each byte) and 24/30 rows (timeslots).  So
we write 24 times 160 bytes into the matrix.

Once we have completed all timeslots, we start to read the matrix by
reading byte 0 of each timeslot (in incrementing TS order), next byte 1
of each timeslot, ... until we end up having read 160 times 24 bytes
from the matrix.

The resulting bitstream needs to be HDLC-synchronized and the resulting
messages passed up for further decoding.
2016-10-23 19:36:14 +02:00
..
Makefile add a command line tool for dumping the contents of a capture file 2016-10-18 23:51:54 +02:00
e1_recorder.c e1_recorder: add config option for configuration file 2016-10-19 10:55:25 +02:00
e1cap_dump.c e1cap_dump: Add SC (Super Channel) mode 2016-10-23 19:36:14 +02:00
recorder.h first functional version that actually records + mirrors data 2016-07-29 14:26:50 +02:00
storage.c e1_recorder: propagate errors to main, where we exit() in case of failing to open file 2016-10-19 10:55:25 +02:00
storage.h e1_recorder: Add signal handlers for log file rotation + talloc report 2016-10-19 10:55:25 +02:00
vty.c e1_inp: Use HDLC mode for signalling, not SIGN 2016-10-19 10:54:59 +02:00