|
libosmo-trx 1.8.0.50-7f5e
Osmocom TRX protocol (TRXC/TRXD) library
|
A single de-/serialized TRXC message. More...
#include <trxc.h>
Data Fields | |
| enum osmo_trxc_msg_type | type |
| char | cmd [OSMO_TRXC_CMD_LEN_MAX] |
| verb, e.g. More... | |
| int | status |
| RSP only. More... | |
| char | params [OSMO_TRXC_PARAMS_LEN_MAX] |
| raw parameters, may be "" More... | |
A single de-/serialized TRXC message.
The command verb set is deliberately open: the codec is verb-agnostic, so dialect specific (e.g. trxcon's ECHO/MEASURE/SETTA) and custom (e.g. fake_trx's FAKE_*) commands need no library changes.
| char osmo_trxc_msg::cmd[OSMO_TRXC_CMD_LEN_MAX] |
verb, e.g.
"POWERON"
Referenced by cmd_matches_rsp(), osmo_trxc_client_send_cmd(), osmo_trxc_clock_ind_parse(), osmo_trxc_msg_build(), osmo_trxc_msg_parse(), and setformat_rsp_cb().
| char osmo_trxc_msg::params[OSMO_TRXC_PARAMS_LEN_MAX] |
raw parameters, may be ""
Referenced by cmd_matches_rsp(), osmo_trxc_client_send_cmd(), osmo_trxc_msg_build(), osmo_trxc_msg_params_scan(), osmo_trxc_msg_parse(), and osmo_trxc_setslot_parse().
| int osmo_trxc_msg::status |
RSP only.
Referenced by osmo_trxc_msg_build(), osmo_trxc_msg_parse(), setformat_rsp_cb(), and trxc_client_default_rsp_cb().
| enum osmo_trxc_msg_type osmo_trxc_msg::type |