osmocom-bb/src/target/trx_toolkit
Vadim Yanitskiy 93beb3f5c5 trx_toolkit/clck_gen.py: call send_clck_ind() on every TDMA frame
Change-Id: I6d53e5266fa3b1f2eb55822d1c14975789b202ed
2020-07-14 17:17:38 +07:00
..
.gitignore Rename 'fake_trx' to 'trx_toolkit' 2018-03-13 02:10:02 +07:00
README trx_toolkit/README: update fake_trx.py description 2019-01-14 23:52:31 +00:00
app_common.py trx_toolkit/app_common: add options to enable time printing 2020-04-09 04:44:49 +07:00
burst_fwd.py trx_toolkit/burst_fwd.py: inherit trx list API from TRXList 2020-07-13 08:51:19 +00:00
burst_gen.py trx_toolkit/burst_gen.py: basic TRXD header version 1 support 2019-07-24 05:44:19 +07:00
burst_send.py trx_toolkit: fix compatibility with Python 3: 'is' vs '==' 2019-07-24 05:44:19 +07:00
clck_gen.py trx_toolkit/clck_gen.py: call send_clck_ind() on every TDMA frame 2020-07-14 17:17:38 +07:00
ctrl_cmd.py trx_toolkit: fix compatibility with Python 3: 'is' vs '==' 2019-07-24 05:44:19 +07:00
ctrl_if.py trx_toolkit/transceiver.py: add frequency hopping support 2020-05-17 14:36:12 +07:00
ctrl_if_trx.py fake_trx: Support SETPOWER and NOMTXPOWER TRXC cmds 2020-06-03 20:22:59 +02:00
data_dump.py trx_toolkit: cosmetic: get rid of 'i' where it is not used 2020-05-22 18:48:23 +07:00
data_if.py trx_toolkit/data_msg.py: raise exceptions from validate() methods 2019-08-27 20:30:23 +02:00
data_msg.py trx_toolkit: cosmetic: get rid of 'i' where it is not used 2020-05-22 18:48:23 +07:00
fake_pm.py trx_toolkit/transceiver.py: add frequency hopping support 2020-05-17 14:36:12 +07:00
fake_trx.py trx_toolkit/fake_trx.py: move Rx burst handling to Transceiver 2020-07-13 08:51:19 +00:00
gsm_shared.py trx_toolkit/gsm_shared.py: implement hopping sequence generation 2020-05-17 07:26:07 +00:00
rand_burst_gen.py trx_toolkit: cosmetic: get rid of 'i' where it is not used 2020-05-22 18:48:23 +07:00
test_data_dump.py trx_toolkit: cosmetic: get rid of 'i' where it is not used 2020-05-22 18:48:23 +07:00
test_data_msg.py trx_toolkit/data_msg.py: rewrite unit tests to use unittest framework 2019-12-31 17:03:12 +00:00
transceiver.py trx_toolkit/fake_trx.py: move Rx burst handling to Transceiver 2020-07-13 08:51:19 +00:00
trx_list.py trx_toolkit/fake_trx.py: avoid using TRXList.__getitem__() 2020-07-13 08:51:19 +00:00
trx_sniff.py trx_toolkit/trx_sniff.py: add options to filter bursts by RSSI 2020-03-30 19:22:47 +07:00
udp_link.py target/*.py: shebang: use /usr/bin/env python 2019-07-16 22:46:12 +00:00

README

TRX toolkit is a set of tools intended for hacking and debugging
a TRX interface between both transceiver and L1 software, and
emulating a virtual Um-interface between OsmocomBB and OsmoBTS.

Brief description of available applications:

  - fake_trx.py - main application, that allows to connect both
    OsmocomBB and OsmoBTS without actual RF hardware. It's also
    possible to emulate more than two transceivers, so multiple
    MS and/or BTS instances can be connected.

  - clck_gen.py - a peripheral tool aimed to emulate TDMA frame
    clock generator. Could be used for testing and clock
    synchronization of multiple applications. It should be noted,
    that one relays on generic system timer (via Python), so
    a random clock jitter takes place.

  - ctrl_cmd.py - another peripheral tool, which could be used
    for sending CTRL commands directly in manual mode, and also
    for application fuzzing.

  - burst_gen.py - a tool for sending GSM bursts either to L1
    (OsmoBTS or OsmocomBB) or to TRX (OsmoTRX and GR-GSM TRX).
    Currently it is only possible to generate random bursts of
    different types: NB, FB, SB, AB.

  - burst_send.py - a tool for sending existing bursts from a
    capture file either to L1 (OsmoBTS or OsmocomBB) or to
    TRX (e.g. OsmoTRX or GR-GSM TRX).

  - trx_sniff.py - Scapy-based TRX protocol sniffer. Allows one
    to observe a single connection between TRX and L1, and vice
    versa. Also provides some capabilities for filtering bursts
    by direction, frame and timeslot numbers, and for recording
    captured messages to a binary file.

Please note that TRX toolkit is not using libosmocore's CTRL
interface, so 'CTRL' in scope of this code base actually means
control interface of TRX or control protocol. In order to avoid
possible confusion, we use 'TRXC' and 'TRXD' in logging.