Changeset 2180


Ignore:
Timestamp:
06/06/07 21:42:14 (6 years ago)
Author:
laforge
Message:

Ignore 1:1 echos of commands sent. This is mainly to work around modems that
are initially in 'E1' state, i.e. have echo enabled. This means that our first
ATE0V1 command will get echoed before we receive OK. (Philipp Zabel)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/gsm/src/gsmd/atcmd.c

    r2123 r2180  
    195195                                  struct gsmd_atcmd, list); 
    196196 
     197        if (cmd && !strcmp(buf, cmd->buf)) { 
     198                DEBUGP("ignoring echo\n"); 
     199                return 0; 
     200        } 
     201 
    197202        /* we have to differentiate between the following cases: 
    198203         * 
Note: See TracChangeset for help on using the changeset viewer.