summaryrefslogtreecommitdiff
path: root/src/gsmd/atcmd.c
diff options
context:
space:
mode:
authorlaforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3>2006-10-24 13:07:08 +0000
committerlaforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3>2006-10-24 13:07:08 +0000
commit23dfcf4ff925f61bcb2c3bdd712ff0f70bde4fcb (patch)
tree97c62e6b7bc73cd4be3961ed2a253504381841c3 /src/gsmd/atcmd.c
parent3c4d2776058a440bb8d406cd85783898c14b2403 (diff)
- clean up header files (all in include/gmsd now)
- finish vendor plugin support - add call progress indicator and signal quality unsolicited support to vendor_ti.c git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@120 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/gsmd/atcmd.c')
-rw-r--r--src/gsmd/atcmd.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gsmd/atcmd.c b/src/gsmd/atcmd.c
index 53120f4..7f95465 100644
--- a/src/gsmd/atcmd.c
+++ b/src/gsmd/atcmd.c
@@ -8,11 +8,13 @@
#include <sys/types.h>
#include <common/linux_list.h>
-#include <gsmd/ts0707.h>
#include "gsmd.h"
-#include "atcmd.h"
-#include "unsolicited.h"
+
+#include <gsmd/ts0707.h>
+#include <gsmd/gsmd.h>
+#include <gsmd/atcmd.h>
+#include <gsmd/unsolicited.h>
/* libgsmd / gsmd AT command interpreter / parser / constructor
* (C) 2006 by Harald Welte <hwelte@hmw-consulting.de>
@@ -179,7 +181,7 @@ static int ml_parse(const char *buf, int len, void *ctx)
* TBD
*/
- if (buf[0] == '+') {
+ if (buf[0] == '+' || buf[0] == '%') {
/* an extended response */
const char *colon = strchr(buf, ':');
if (!colon) {
personal git repositories of Harald Welte. Your mileage may vary