From dc73a4a864610c3f9d5a175d30f9a168e3dc88fd Mon Sep 17 00:00:00 2001 From: erin_yueh Date: Tue, 4 Mar 2008 06:57:19 +0000 Subject: gsmd: revert to r4158 (Erin Yueh) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4162 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/usock.h | 2 +- include/libgsmd/phonebook.h | 2 +- src/gsmd/gsmd.c | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h index 48f5fee..f6d5250 100644 --- a/include/gsmd/usock.h +++ b/include/gsmd/usock.h @@ -638,7 +638,7 @@ struct gsmd_phonebook_readrg { /* Refer to GSM 07.07 subclause 8.14 */ /* FIXME: the nlength and tlength depend on SIM, use +CPBR=? to get */ #define GSMD_PB_NUMB_MAXLEN 44 -#define GSMD_PB_TEXT_MAXLEN (14*4) +#define GSMD_PB_TEXT_MAXLEN 14 struct gsmd_phonebook { int8_t index; char numb[GSMD_PB_NUMB_MAXLEN+1]; diff --git a/include/libgsmd/phonebook.h b/include/libgsmd/phonebook.h index ef82583..fbc651e 100644 --- a/include/libgsmd/phonebook.h +++ b/include/libgsmd/phonebook.h @@ -35,7 +35,7 @@ struct lgsm_phonebook_readrg { /* Refer to GSM 07.07 subclause 8.14 */ /* FIXME: the nlength and tlength depend on SIM, use +CPBR=? to get */ #define LGSM_PB_NUMB_MAXLEN 44 -#define LGSM_PB_TEXT_MAXLEN (14*4) +#define LGSM_PB_TEXT_MAXLEN 14 struct lgsm_phonebook { int index; char numb[LGSM_PB_NUMB_MAXLEN+1]; diff --git a/src/gsmd/gsmd.c b/src/gsmd/gsmd.c index c8ca012..2373a06 100644 --- a/src/gsmd/gsmd.c +++ b/src/gsmd/gsmd.c @@ -193,7 +193,6 @@ static int gsmd_initsettings2(struct gsmd *gsmd) atcmd_submit(gsmd, atcmd_fill("AT+CIMI", 7+1, &gsmd_get_imsi_cb, gsmd, 0, NULL)); - rc |= gsmd_simplecmd(gsmd, "AT+CSCS=\"UCS2\""); sms_cb_init(gsmd); -- cgit v1.2.3