summaryrefslogtreecommitdiff
path: root/include/gsmd
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-02-27 16:46:39 +0100
committerHarald Welte <laforge@gnumonks.org>2013-02-27 18:08:17 +0100
commit821f3af2ac2d77f0f15bdea02c2f3efd0e1cf419 (patch)
treeb945efd852906e94c422b6069406aeaffe0b7f68 /include/gsmd
parent28e25ae42da7d65face9ad2472075f7c4fc87e92 (diff)
add support for encapsulating and forwarding GPS and AIS data
we simply convert the sysmocom specific unsolicited messages into an usock event which is transported to the client[s] who subscribed to it.
Diffstat (limited to 'include/gsmd')
-rw-r--r--include/gsmd/event.h2
-rw-r--r--include/gsmd/usock.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/gsmd/event.h b/include/gsmd/event.h
index 8da0832..b07a92f 100644
--- a/include/gsmd/event.h
+++ b/include/gsmd/event.h
@@ -20,6 +20,8 @@ enum gsmd_events {
GSMD_EVT_IN_DS = 15, /* SMS Status Report */
GSMD_EVT_IN_ERROR = 16, /* CME/CMS error */
GSMD_EVT_CELLINFO = 17, /* Cell Information (MCC/MNC/LAC/CI) */
+ GSMD_EVT_GPS = 18, /* GPS NMEA string */
+ GSMD_EVT_AIS = 19, /* AIS NMEA string */
__NUM_GSMD_EVT
};
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h
index d77869a..ba50cbd 100644
--- a/include/gsmd/usock.h
+++ b/include/gsmd/usock.h
@@ -50,7 +50,6 @@ enum gsmd_msg_voicecall_type {
GSMD_VOICECALL_FWD_ERAS = 13,
};
-
/* call direction from 3GPP TS 07.07, Clause 7.17 */
enum gsmd_call_dire {
GSMD_CALL_DIRE_MO = 0,
personal git repositories of Harald Welte. Your mileage may vary