aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/misc/sysmobts_mgr.h
diff options
context:
space:
mode:
authorÁlvaro Neira Ayuso <anayuso@sysmocom.de>2014-05-17 10:45:50 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-18 09:41:29 +0200
commitc6ab90b27006ff2d1fdfb0b1d7fc01e1dd4a696d (patch)
tree46bb0d2443ef44dfdc1eaad5695bfc43424187ea /src/osmo-bts-sysmo/misc/sysmobts_mgr.h
parent73d9d3af6cd79e674cb326d814dbb50134f76f64 (diff)
sysmobts: Add beginnings of an OML router and create Failure Messages in the sysmobts-manager
Make the sysmobts listen for OML messages on a Unix Domain Socket. Messages passing a sanity check will be forwarded to the BSC. In case the sysmobts-mgr detects a temperature above or below temperature threshold an OML failure message will be sent to the BTS. [moved confinfo into the #ifdef BUILD_SBTS2050] Signed-off-by: Alvaro Neira Ayuso <anayuso@sysmocom.de>
Diffstat (limited to 'src/osmo-bts-sysmo/misc/sysmobts_mgr.h')
-rw-r--r--src/osmo-bts-sysmo/misc/sysmobts_mgr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr.h b/src/osmo-bts-sysmo/misc/sysmobts_mgr.h
index ddb6774a..21f30a42 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_mgr.h
+++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr.h
@@ -7,4 +7,11 @@ enum {
DFIND,
};
+enum {
+ SYSMO_MGR_DISCONNECTED = 0,
+ SYSMO_MGR_CONNECTED,
+};
+
+#define SOCKET_PATH "/var/run/bts_oml"
+
#endif