From 31c0fef2fd5daa53617c05752411ec6446d8a82b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 16 Apr 2017 17:26:30 +0200 Subject: 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 --- include/osmocom/ctrl/control_cmd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/osmocom/ctrl') 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 }; -- cgit v1.2.3