ublox-cellular-base-n2xx

Revision:
10:1afe5ed24f0c
Parent:
8:72412b28c93f
--- a/UbloxCellularBaseN2xx.h	Tue Jan 09 15:25:11 2018 +0500
+++ b/UbloxCellularBaseN2xx.h	Tue Jan 09 14:35:43 2018 +0000
@@ -230,7 +230,40 @@
     *
     * @return true if successful, otherwise false.
     */
+    MBED_DEPRECATED("This method is now replaced by const char * imei(), please use that instead")
     bool get_imei(char *buffer, int size);
+    
+        /** Get the IMEI of the module.
+     *
+     * @return a pointer to the IMEI as a null-terminated string.
+     */
+    const char *imei();
+ 
+    /** Get the Mobile Equipment ID (which may be the same as the IMEI).
+     *
+     * @return a pointer to the Mobile Equipment ID as a null-terminated string.
+     */
+    const char *meid();
+ 
+    /** Get the IMSI of the SIM.
+     *
+     * @return a pointer to the IMSI as a null-terminated string.
+     */
+    const char *imsi();
+ 
+    /** Get the ICCID of the SIM.
+     *
+     * @return a pointer to the ICCID as a null-terminated string.
+     */
+    const char *iccid();
+ 
+    /** Get the RSSI.
+     *
+     * @return the RSSI in dBm. If it is not possible to obtain an
+     *         RSSI reading at the time (e.g. because the modem is in
+     *         data mode rather than AT command mode) then 0 is returned.
+     */
+    int rssi();
 
 protected: