summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2020-11-05 16:36:38 +0200
committerMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2020-11-05 16:36:38 +0200
commit6a71aa94e9f6a668758062598b562c865e9f2698 (patch)
treecb60d9e00f227207d4724ca283434ec83e03134b
parent86a736c52268c0cec3d7c9e14a007ae11e4907d7 (diff)
downloadsms-utils-6a71aa94e9f6a668758062598b562c865e9f2698.tar.gz
sms-utils-6a71aa94e9f6a668758062598b562c865e9f2698.tar.bz2
sms-utils-6a71aa94e9f6a668758062598b562c865e9f2698.zip
fn980: use custom iccid command
-rw-r--r--src/atcmd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/atcmd.c b/src/atcmd.c
index 90d2774..b988a57 100644
--- a/src/atcmd.c
+++ b/src/atcmd.c
@@ -1312,6 +1312,9 @@ int atcmd_plus_iccid_read(int fd)
if (is_telit_model()) {
command = "AT#CCID";
+ if (strstr(Global.core.model, "FN980")) {
+ command = "AT+ICCID";
+ }
} else if (is_quectel_model()) {
command = "AT+QCCID";
} else {