he910: Switch to permissive parser
authorDenis Kenzior <denkenz@gmail.com>
Wed, 5 Mar 2014 18:26:04 +0000 (12:26 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Wed, 19 Mar 2014 15:30:10 +0000 (10:30 -0500)
Seems the CCFC implementation on Telit firmware is not v.250 compliant:
ofonod[445]: Aux: > AT+CCFC=0,2\r
ofonod[445]: Aux: < \r\n\r\n+CCFC:0,7\r\n\r\nOK\r\n

plugins/he910.c

index ce7e57b..10adf3c 100644 (file)
@@ -102,7 +102,7 @@ static GAtChat *open_device(struct ofono_modem *modem,
        if (channel == NULL)
                return NULL;
 
-       syntax = g_at_syntax_new_gsmv1();
+       syntax = g_at_syntax_new_gsm_permissive();
        chat = g_at_chat_new(channel, syntax);
        g_at_syntax_unref(syntax);
        g_io_channel_unref(channel);