mmlib/mmat.c: support a few more chars in long commands, i.e. to
authorMatthew Mondor <mmondor@pulsar-zone.net>
Wed, 10 Apr 2019 18:20:48 +0000 (18:20 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Wed, 10 Apr 2019 18:20:48 +0000 (18:20 +0000)
support AT+VSM=? etc

mmsoftware/mmlib/mmat.c

index 21fd60e..566d144 100644 (file)
@@ -212,6 +212,7 @@ next:
                if (longcmd) {
                        if ((*cptr == '-' || *cptr == '+' || *cptr == '*' ||
                             *cptr == '#' || *cptr == ',' || *cptr == '.' ||
+                            *cptr == '=' || *cptr == '?' ||
                            isdigit((int)*cptr) ||
                            (isalpha((int)*cptr) && isupper((int)*cptr))) &&
                            lcmdn < AT_LCMD_MAX) {