diff options
author | jserv <jserv@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-10-17 06:14:20 +0000 |
---|---|---|
committer | jserv <jserv@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-10-17 06:14:20 +0000 |
commit | 7247d56f6787bc1c7e573c2b3df78d0d46fee9eb (patch) | |
tree | ad3cacff9f4f753bda3817b930edc0281becc438 /include | |
parent | 6a95defd8355634eabcacc088db4704d42499f1a (diff) |
Added 'Ask Status report' option in shell.
From: Andrzej Zaborowski <balrogg@gmail.com>
I also moved the .ask_ds field from struct gsmd_sms into struct
gsmd_sms_submit because it seemed more logical being a property
of SMS-SUBMIT PDU.
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3201 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include')
-rw-r--r-- | include/gsmd/usock.h | 1 | ||||
-rw-r--r-- | include/libgsmd/sms.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h index bfd4cd0..c2f03f5 100644 --- a/include/gsmd/usock.h +++ b/include/gsmd/usock.h @@ -330,6 +330,7 @@ struct gsmd_sms { struct gsmd_sms_submit { struct gsmd_addr addr; struct gsmd_sms payload; + int ask_ds; }; /* Refer to GSM 07.05 subclause 4.4 */ diff --git a/include/libgsmd/sms.h b/include/libgsmd/sms.h index 3ada62d..9808442 100644 --- a/include/libgsmd/sms.h +++ b/include/libgsmd/sms.h @@ -46,6 +46,7 @@ struct lgsm_sms { enum gsmd_sms_alphabet alpha; u_int8_t data[LGSM_SMS_DATA_MAXLEN+1]; int length; + int ask_ds; }; /* GSM 03.40 subclause 9.2.2.2 and GSM 07.05 subclause 4.4 and subclause 3.1 */ |