diff options
author | Harald Welte <laforge@gnumonks.org> | 2013-02-27 16:46:39 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-02-27 18:08:17 +0100 |
commit | 821f3af2ac2d77f0f15bdea02c2f3efd0e1cf419 (patch) | |
tree | b945efd852906e94c422b6069406aeaffe0b7f68 /include | |
parent | 28e25ae42da7d65face9ad2472075f7c4fc87e92 (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')
-rw-r--r-- | include/gsmd/event.h | 2 | ||||
-rw-r--r-- | include/gsmd/usock.h | 1 |
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, |