diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2011-10-31 18:14:03 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2011-11-13 20:25:20 +0100 |
commit | fb7be589e6f2a7e8dcbd560a0b0fdbda7d1fd316 (patch) | |
tree | f67115ddda056bb78d318257c1454eb343d508df /src/host/layer23/src/mobile/app_mobile.c | |
parent | cf55219d45b13f8103c54746d61ce4a77e7f5703 (diff) |
host/mobile/sms: Adding SMS support for osmocomBB/mobile
Both MO and MT SMS are supported.
Transmission an reception can be controlled via VTY:
en
sms 1 <destination> <text>
All received SMS are stored in "~/.osmocom/bb/sms.txt".
SMS transmission is performed on SAPI 3 datalink, using DCCH or ACCH.
Written-by: Andreas Eversberg <jolly@eversberg.eu>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/host/layer23/src/mobile/app_mobile.c')
-rw-r--r-- | src/host/layer23/src/mobile/app_mobile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/app_mobile.c b/src/host/layer23/src/mobile/app_mobile.c index eeb76a82..c5fe9443 100644 --- a/src/host/layer23/src/mobile/app_mobile.c +++ b/src/host/layer23/src/mobile/app_mobile.c @@ -31,6 +31,7 @@ #include <osmocom/bb/common/logging.h> #include <osmocom/bb/common/gps.h> #include <osmocom/bb/mobile/gsm48_rr.h> +#include <osmocom/bb/mobile/gsm411_sms.h> #include <osmocom/bb/mobile/vty.h> #include <osmocom/bb/mobile/app_mobile.h> #include <osmocom/bb/mobile/mncc.h> @@ -144,6 +145,7 @@ int mobile_exit(struct osmocom_ms *ms, int force) gsm48_rr_exit(ms); gsm_subscr_exit(ms); gsm48_cc_exit(ms); + gsm411_sms_exit(ms); gsm_sim_exit(ms); lapdm_channel_exit(&ms->lapdm_channel); @@ -167,6 +169,7 @@ int mobile_init(struct osmocom_ms *ms) gsm_sim_init(ms); gsm48_cc_init(ms); + gsm411_sms_init(ms); gsm_voice_init(ms); gsm_subscr_init(ms); gsm48_rr_init(ms); |