Example to read the modem IMEI and eUICC/SIM IMSI

Revision:
2:397a4c92da82
Parent:
1:63483ec4d0ff
--- a/main.cpp	Thu Feb 15 11:48:51 2018 +0000
+++ b/main.cpp	Wed Jun 05 13:42:44 2019 +0100
@@ -56,7 +56,6 @@
 
 // To check if the user pressed the User Button or not
 void threadBodyUserButtonCheck(void const *args){
-    float delayToggle = delay;
     while (1){
         if (userButton.read() == 1 ) {
         // User Button is pressed 
@@ -153,7 +152,7 @@
     
     printf("\n\r\n\ru-blox C030 reading the modem IMEI and eUICC/SIM IMSI\n\r");
     printf("Initialising UART for modem communication");
-    fh = new UARTSerial(MDMTXD, MDMRXD, 9600);
+    fh = new UARTSerial(MDMTXD, MDMRXD, 115200);
     printf("...DONE\r\n");
     
     // NOTE: if you are experiencing problems with the AT command
@@ -161,7 +160,7 @@
     // from the AT command parser
     printf("Initialising the modem AT command parser");
     at = new ATCmdParser(fh, OUTPUT_ENTER_KEY, AT_PARSER_BUFFER_SIZE,
-            AT_PARSER_TIMEOUT, false);
+                         AT_PARSER_TIMEOUT, false);
     printf("...DONE\r\n");
     
     printf("Initializing the modem\r\n");