Index: src/gsmd/usock.c =================================================================== --- src/gsmd/usock.c (revision 4067) +++ src/gsmd/usock.c (working copy) @@ -878,7 +878,7 @@ /* In case we're not registered, return an empty string */ buf[0] = '\0'; } - else if ( er->num_tokens == 3 && + else if ( er->num_tokens >= 3 && er->tokens[0].type == GSMD_ECMD_RTT_NUMERIC && er->tokens[1].type == GSMD_ECMD_RTT_NUMERIC && er->tokens[2].type == GSMD_ECMD_RTT_STRING ) {
My Option GTM378 modem answers AT+COPS? command with not standard
answer: +COPS: 0,0,"OMNITEL LT",2
Notice the ",2" in the end. This patch adds support for this "extended"
answer in network_oper_n_cb function.
- [patch] network_oper_n_cb support broken/extended COPS Paulius Zaleckas
- Re: [patch] network_oper_n_cb support broken/extende... Sean Chiang
- Re: [patch] network_oper_n_cb support broken/ext... Paulius Zaleckas
- Re: [patch] network_oper_n_cb support broken/ext... Paulius Zaleckas