summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/app_mobile.c
diff options
context:
space:
mode:
authorAndreas.Eversberg <jolly@eversberg.eu>2010-08-10 19:56:59 +0000
committerAndreas.Eversberg <jolly@eversberg.eu>2010-08-10 19:56:59 +0000
commitcb73be0d0cfa6f5f2c8b437fa3ceb80909199302 (patch)
tree2f35b914eeda3175520d8ebf01744737e8242439 /src/host/layer23/src/mobile/app_mobile.c
parent6439e4f2796deb1498de7d805757bf2b8f56b1c4 (diff)
Added support for NMEA GPS receiver
This early support does not use the received postion, it just dumps it. Later it can be used to set clock of the phone. Also it can be used to calculate the location of a BTS.
Diffstat (limited to 'src/host/layer23/src/mobile/app_mobile.c')
-rw-r--r--src/host/layer23/src/mobile/app_mobile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/app_mobile.c b/src/host/layer23/src/mobile/app_mobile.c
index 4599f99c..9a98f89f 100644
--- a/src/host/layer23/src/mobile/app_mobile.c
+++ b/src/host/layer23/src/mobile/app_mobile.c
@@ -34,6 +34,7 @@
#include <osmocom/bb/mobile/gsm48_rr.h>
#include <osmocom/bb/mobile/sysinfo.h>
#include <osmocom/bb/mobile/vty.h>
+#include <osmocom/bb/mobile/gps.h>
#include <osmocom/vty/telnet_interface.h>
#include <osmocore/msgb.h>
@@ -127,6 +128,7 @@ int mobile_exit(struct osmocom_ms *ms)
signal(SIGPIPE, SIG_DFL);
unregister_signal_handler(SS_L1CTL, &signal_cb, NULL);
+ gps_close();
gsm322_exit(ms);
gsm48_mm_exit(ms);
gsm48_rr_exit(ms);