diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-04-16 17:26:30 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-04-27 09:50:47 +0200 |
commit | 31c0fef2fd5daa53617c05752411ec6446d8a82b (patch) | |
tree | 299c1643f09720801ae43b0936463e9d2d69b0a7 /include | |
parent | f85861d6eb6ebc962bc710ac2d481536e6be7053 (diff) |
control_if: Add control interface commands for FSMs
This allows programmatic access to introspection of FSM instances, which
is quite handy from e.g. external test cases: Send a message to the
code, then use the CTRL interface to check if that message has triggered
the right kind of state transition.
Change-Id: I0f80340ee9c61c88962fdd6764a6098a844d0d1e
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/ctrl/control_cmd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/ctrl/control_cmd.h b/include/osmocom/ctrl/control_cmd.h index d9092f38..3cef9d80 100644 --- a/include/osmocom/ctrl/control_cmd.h +++ b/include/osmocom/ctrl/control_cmd.h @@ -18,6 +18,8 @@ enum ctrl_node_type { CTRL_NODE_BTS, /* BTS specific (net.btsN.) */ CTRL_NODE_TRX, /* TRX specific (net.btsN.trxM.) */ CTRL_NODE_TS, /* TS specific (net.btsN.trxM.tsI.) */ + CTRL_NODE_FSM, /* Finite State Machine (description) */ + CTRL_NODE_FSM_INST, /* Finite State Machine (instance) */ _LAST_CTRL_NODE }; |