Osmo-e1d-pipe » History » Version 1
laforge, 07/02/2020 09:01 AM
1 | 1 | laforge | h1. osmo-e1d-pipe |
---|---|---|---|
2 | |||
3 | This is a small program that you can use to open an E1 timeslot from the command line. |
||
4 | * All data received on the E1 timeslot is written (in binary!) to stdout of the process; |
||
5 | * All data received on stdin of the process is written to the E1 timeslot. |
||
6 | |||
7 | Alternatively to stdin input, you can also use the "-r FILE" option to make osmo-1d-pipe read from a binary file. Once the End of File (EOF) is reached, it will repeat again |
||
8 | and again from the beginning of the capture |
||
9 | |||
10 | Example: |
||
11 | <pre> |
||
12 | ./osmo-e1d-pipe -i1 -l0 -t2 -r /tmp/e1_ts2_fr.bin > /dev/null |
||
13 | </pre> |
||
14 | |||
15 | This will open interface 1 line 0 timeslot 2 and play back the contents of /tmp/e1_ts2_fr.bin |
||
16 | again and again. All output is discarded (redirected to /dev/null). |