Adding ability to set priority of the Rx thread

Dependencies:   ublox-at-cellular-interface

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
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
diff -r 08717b418ba1 -r 6f0a1ecc8cec UbloxATCellularInterfaceExt.cpp
--- 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));
diff -r 08717b418ba1 -r 6f0a1ecc8cec UbloxATCellularInterfaceExt.h
--- 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.
       */