add set_plmn

Files at this revision

API Documentation at this revision

Comitter:
pilotak
Date:
Fri Jan 11 15:57:47 2019 +0000
Parent:
16:2b30a056ae54
Commit message:
add set_plmn for network socket

Changed in this revision

UbloxATCellularInterface.cpp Show annotated file Show diff for this revision Revisions of this file
UbloxATCellularInterface.h Show annotated file Show diff for this revision Revisions of this file
--- a/UbloxATCellularInterface.cpp	Tue Oct 30 18:15:09 2018 +0000
+++ b/UbloxATCellularInterface.cpp	Fri Jan 11 15:57:47 2019 +0000
@@ -930,6 +930,10 @@
     return NSAPI_ERROR_UNSUPPORTED;
 }
 
+void UbloxATCellularInterface::set_plmn(const char *plmn)
+{
+}
+
 /**********************************************************************
  * PUBLIC METHODS
  **********************************************************************/
--- a/UbloxATCellularInterface.h	Tue Oct 30 18:15:09 2018 +0000
+++ b/UbloxATCellularInterface.h	Fri Jan 11 15:57:47 2019 +0000
@@ -598,6 +598,12 @@
                                      int optname, void *optval,
                                      unsigned *optlen);
 
+    /**  Set the plmn. PLMN controls to what network device registers.
+     *
+     *  @param plmn     user to force what network to register.
+     */
+    virtual void set_plmn(const char *plmn);
+
 private:
 
     // u_ added to namespace us somewhat as this darned macro