diff options
author | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-08-17 08:29:08 +0000 |
---|---|---|
committer | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-08-17 08:29:08 +0000 |
commit | 348c9af2fce8d0d53341d9861494b5c13f9796f1 (patch) | |
tree | dbd6253c09e77e9c72ff082f2284ed0b6ba9165b /include/gsmd/sms.h | |
parent | 1c4526b52edc7c245cb76ba801bbbe9da1a3b5ae (diff) |
From: Andrzej Zaborowski <balrog@zabor.org>
Date: Thu, 26 Jul 2007 00:32:38 +0200
Subject: [PATCH] SMSC and Preferred Storage operations.
This adds setting and retrieval of SMS storage stats (memory type, used
entries, all entries), and of the default service centre (SMSC) number for
outgoing messages. The operation of setting a new SMSC number is untested
because my SIM doesn't seem to allow this (that or I did something wrong). New
"libgmsd-tool -m shell" commands for testing are also added.
Other changes in this patch:
* The third, optional, parameter to +CMGL: is a string, not an integer as I
wrongly assumed earlier, this is now corrected.
* Rename libgsmd API functions starting with lgsmd_.. to lgsm_.. for
consistency with all other identifiers.
* Move lgsm_send_simple() to libgsmd.c and add a prototype in
lgsm_internals.h, this eliminates some compile-time warnings.
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2720 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include/gsmd/sms.h')
-rw-r--r-- | include/gsmd/sms.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gsmd/sms.h b/include/gsmd/sms.h index ac16509..3192472 100644 --- a/include/gsmd/sms.h +++ b/include/gsmd/sms.h @@ -11,6 +11,9 @@ int sms_pdu_make_smssubmit(char *dest, const struct gsmd_sms_submit *src); int sms_pdu_to_msg(struct gsmd_sms_list *dst, const u_int8_t *src, int pdulen, int len); +extern const char *ts0705_memtype_name[]; +int parse_memtype(char *memtype); + #endif /* __GSMD__ */ #endif |