New cellular update

Dependencies:  

Fork of ublox-at-cellular-interface-ext by u-blox

Files at this revision

API Documentation at this revision

Comitter:
amq
Date:
Tue Oct 30 18:54:19 2018 +0000
Parent:
14:08717b418ba1
Child:
18:00ba752520bb
Commit message:
Add ability to set priority for the Rx thread

Changed in this revision

UbloxATCellularInterfaceExt.cpp Show annotated file Show diff for this revision Revisions of this file
UbloxATCellularInterfaceExt.h Show annotated file Show diff for this revision Revisions of this file
--- a/UbloxATCellularInterfaceExt.cpp	Mon Mar 26 15:40:27 2018 +0100
+++ b/UbloxATCellularInterfaceExt.cpp	Tue Oct 30 18:54:19 2018 +0000
@@ -439,8 +439,9 @@
 UbloxATCellularInterfaceExt::UbloxATCellularInterfaceExt(PinName tx,
                                                          PinName rx,
                                                          int baud,
-                                                         bool debugOn):
-                             UbloxATCellularInterface(tx, rx, baud, debugOn)
+                                                         bool debugOn,
+                                                         osPriority priority):
+                             UbloxATCellularInterface(tx, rx, baud, debugOn, priority)
 {
     // Zero HTTP stuff
     memset(_httpProfiles, 0, sizeof(_httpProfiles));
--- a/UbloxATCellularInterfaceExt.h	Mon Mar 26 15:40:27 2018 +0100
+++ b/UbloxATCellularInterfaceExt.h	Tue Oct 30 18:54:19 2018 +0000
@@ -43,7 +43,8 @@
     UbloxATCellularInterfaceExt(PinName tx = MDMTXD,
                                 PinName rx = MDMRXD,
                                 int baud = MBED_CONF_UBLOX_CELL_BAUD_RATE,
-                                bool debugOn = false);
+                                bool debugOn = false,
+                                osPriority priority = osPriorityNormal);
 
      /* Destructor.
       */