summaryrefslogtreecommitdiffstats
path: root/src/target/trx_toolkit/data_if.py
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-01-14 07:39:26 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-01-14 23:52:31 +0000
commitba28c3efc1b20141293b846ed79fa31312468ed1 (patch)
treecf0f6ba48a5fb8e28c5b2081e18d8e5fad74612e /src/target/trx_toolkit/data_if.py
parent71fee8639179beb6bce58f39cc98e014021c8340 (diff)
trx_toolkit/fake_trx.py: enrich TRX logging messages
Since fake_trx.py can handle multiple transceivers, it makes sense to print some info in logging messages about transceivers they belong to. This acvieved by defining __str__() for Transceiver. Some examples: [DEBUG] ctrl_if_trx.py:83 (127.0.0.1:5700) Recv POWEROFF cmd [INFO] ctrl_if_trx.py:85 (127.0.0.1:5700) Stopping transceiver... [DEBUG] ctrl_if_trx.py:95 (127.0.0.1:5700/1) Recv RXTUNE cmd [DEBUG] ctrl_if_trx.py:102 (127.0.0.1:5700/1) Recv TXTUNE cmd [DEBUG] ctrl_if_trx.py:155 (127.0.0.1:5700/1) Ignore CMD SETTSC [DEBUG] ctrl_if_trx.py:155 (127.0.0.1:5700/1) Ignore CMD SETPOWER Change-Id: I1f706790a2da226f1418f89d2cfbb55baa6ea624
Diffstat (limited to 'src/target/trx_toolkit/data_if.py')
0 files changed, 0 insertions, 0 deletions