Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mDot_LoRa_Sensornode_Flowmeter_impl mbed-rtos mbed
TaskCommandHandler Class Reference
This TaskCommandHandler Class handles all the received Commands from LoRa. More...
#include <TaskCommandHandler.h>
Public Member Functions | |
| osStatus | start () |
| Starts the task by building it and connecting a callback function to the mbed::Thread. | |
| osStatus | stop () |
| Stops the task. | |
| TASK_STATE | getState () |
| Gets the actual state of the Task either RUNNING or SLEEPING. | |
| void | setDebugSerial (RawSerial *debugSerial) |
| Set a serial interface thats used for debugging the datastream which will be sent via LoRa and to show data handling relevant information. | |
Detailed Description
This TaskCommandHandler Class handles all the received Commands from LoRa.
Definition at line 24 of file TaskCommandHandler.h.
Member Function Documentation
| TASK_STATE getState | ( | ) |
Gets the actual state of the Task either RUNNING or SLEEPING.
- Returns:
Definition at line 112 of file TaskCommandHandler.cpp.
| void setDebugSerial | ( | RawSerial * | debugSerial ) |
Set a serial interface thats used for debugging the datastream which will be sent via LoRa and to show data handling relevant information.
- Parameters:
-
debugSerial the Serial interface used to show information
Definition at line 104 of file TaskCommandHandler.cpp.
| osStatus start | ( | ) |
Starts the task by building it and connecting a callback function to the mbed::Thread.
- Returns:
Definition at line 23 of file TaskCommandHandler.cpp.
| osStatus stop | ( | ) |
Stops the task.
Should only be used after start() was used
- Returns:
Definition at line 29 of file TaskCommandHandler.cpp.
Generated on Tue Jul 12 2022 21:35:27 by
1.7.2