From 821f3af2ac2d77f0f15bdea02c2f3efd0e1cf419 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 27 Feb 2013 16:46:39 +0100 Subject: 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. --- include/gsmd/event.h | 2 ++ include/gsmd/usock.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'include/gsmd') 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, -- cgit v1.2.3