Adding ability to set priority of the Rx thread
Dependencies: ublox-at-cellular-interface
Fork of ublox-at-cellular-interface-ext by
Revision 15:6f0a1ecc8cec, committed 2018-10-30
- 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
--- 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.
*/
