diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 12:03:10 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 12:04:34 +0800 |
commit | 6a3d765bf97349535602ed5b2b55d2093aa18d71 (patch) | |
tree | 5b9f5ff2bf10d8973a6d1397717a2fe8f7b6f2a8 /openbsc/include/openbsc/gsm_04_11.h | |
parent | 43b0909394e78d908038495f98d9b51739b01213 (diff) |
bsc_api: Do not use RLL inside the SMS code, handle SAPI n REJECT
Directly send a SMS using the send method, in case of an error
we will need to find the transaction and free the SMS and the
transaction.
Diffstat (limited to 'openbsc/include/openbsc/gsm_04_11.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_04_11.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_04_11.h b/openbsc/include/openbsc/gsm_04_11.h index 8127af1ea..95ff5ef78 100644 --- a/openbsc/include/openbsc/gsm_04_11.h +++ b/openbsc/include/openbsc/gsm_04_11.h @@ -3,6 +3,8 @@ #include <osmocore/protocol/gsm_04_11.h> +#define UM_SAPI_SMS 3 /* See GSM 04.05/04.06 */ + /* SMS deliver PDU */ struct sms_deliver { u_int8_t mti:2; /* message type indicator */ @@ -33,4 +35,5 @@ void sms_free(struct gsm_sms *sms); void _gsm411_sms_trans_free(struct gsm_trans *trans); int gsm411_send_sms_subscr(struct gsm_subscriber *subscr, struct gsm_sms *sms); +void gsm411_sapi_n_reject(struct gsm_subscriber_connection *conn); #endif |