Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of C027_Support by
Revision 142:8ef12abc4472, committed 2016-10-04
- Comitter:
- sarahmarshy
- Date:
- Tue Oct 04 20:23:00 2016 +0000
- Parent:
- 139:596bcb599ac1
- Commit message:
- Sim status reporting changes.
Changed in this revision
MDM.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);