C027 Support
Fork of C027_Support by
Diff: MDM.cpp
- Revision:
- 142:8ef12abc4472
- Parent:
- 137:6a7a5c4f35f6
--- a/MDM.cpp Tue Apr 12 18:45:34 2016 +0000 +++ b/MDM.cpp Tue Oct 04 20:23:00 2016 +0000 @@ -2057,8 +2057,8 @@ const char* txtLpm[] = { "Disabled", "Enabled", "Active" }; if (status->lpm < sizeof(txtLpm)/sizeof(*txtLpm)) dprint(param, " Power Save: %s\r\n", txtLpm[status->lpm]); - const char* txtSim[] = { "Unknown", "Missing", "Pin", "Ready" }; - if (status->sim < sizeof(txtSim)/sizeof(*txtSim) && (status->sim != SIM_UNKNOWN)) + const char* txtSim[] = { "Unknown", "Missing", "Pin", "Puk", "Ready", "Wrong Pin" }; + if (status->sim < sizeof(txtSim)/sizeof(*txtSim)) dprint(param, " SIM: %s\r\n", txtSim[status->sim]); if (*status->ccid) dprint(param, " CCID: %s\r\n", status->ccid);