A task that will handle the PubSubClient. More...
Public Member Functions | |
| PubSubClientTask (std::string name) | |
Public Member Functions inherited from Task | |
| Task (std::string taskName="Task", uint16_t stackSize=10000, uint8_t priority=5) | |
| Create an instance of the task class. More... | |
| void | setStackSize (uint16_t stackSize) |
| Set the stack size of the task. More... | |
| void | setPriority (uint8_t priority) |
| Set the priority of the task. More... | |
| void | setName (std::string name) |
| Set the name of the task. More... | |
| void | setCore (BaseType_t coreId) |
| Set the core number the task has to be executed on. If the core number is not set, tskNO_AFFINITY will be used. More... | |
| void | start (void *taskData=nullptr) |
| Start an instance of the task. More... | |
| void | stop () |
| Stop the task. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Task | |
| static void | delay (int ms) |
| Suspend the task for the specified milliseconds. More... | |
A task that will handle the PubSubClient.
This Task is started, when we have a valid connection. If the connection breaks, we stop this Task.
1.8.6