Added HTTP API to C027_Support library.

Fork of C027_Support by u-blox

Files at this revision

API Documentation at this revision

Comitter:
mazgch
Date:
Thu Mar 12 17:27:42 2015 +0000
Parent:
117:74e4e0109a9e
Child:
122:5f6804915d77
Commit message:
comments

Changed in this revision

MDM.cpp Show annotated file Show diff for this revision Revisions of this file
MDM.h Show annotated file Show diff for this revision Revisions of this file
--- a/MDM.cpp	Thu Jan 22 08:02:55 2015 +0000
+++ b/MDM.cpp	Thu Mar 12 17:27:42 2015 +0000
@@ -678,7 +678,7 @@
         char _ber[] = { 49, 43, 37, 25, 19, 13, 7, 0 }; // see 3GPP TS 45.008 [20] subclause 8.2.4
         // +CSQ: <rssi>,<qual>
         if (sscanf(buf, "\r\n+CSQ: %d,%d",&a,&b) == 2) {
-            if (a != 99) status->rssi = -113 + 2*a;  // 0: -113 1: -111 ... 30: -53 dBm with 2 dBm steps
+            if (a != 99) status->rssi = -113 + 2*a;  // 0: -113 1: -111 ... 30: -53 dBm with 2 dBm steps, 31: >-51 dBm
             if ((b != 99) && (b < sizeof(_ber))) status->ber = _ber[b];  // 
         }
     }
--- a/MDM.h	Thu Jan 22 08:02:55 2015 +0000
+++ b/MDM.h	Thu Mar 12 17:27:42 2015 +0000
@@ -59,7 +59,7 @@
         Reg csd;        //!< CSD Registration Status (Circuit Switched Data)
         Reg psd;        //!< PSD Registration status (Packet Switched Data)
         AcT act;        //!< Access Technology
-        int rssi;       //!< Received Signal Strength Indication (in dBm, range -113..-53)
+        int rssi;       //!< Received Signal Strength Indication (in dBm, range -113..-51)
         int ber;        //!< Bit Error Rate (BER), see 3GPP TS 45.008 [20] subclause 8.2.4
         char opr[16+1]; //!< Operator Name
         char num[32];   //!< Mobile Directory Number