|
esp-nimble-cpp 2.6.0
|
A structure to hold data for a task that is waiting for a response. More...
#include <NimBLEUtils.h>
Public Member Functions | |
| TaskData (void *pInstance=nullptr, int flags=0, void *buf=nullptr) | |
| Construct a NimBLEUtils::TaskData instance. | |
A structure to hold data for a task that is waiting for a response.
This structure is used in conjunction with NimBLEUtils::taskWait() and NimBLEUtils::taskRelease(). All items are optional; the internal semaphore entry is assigned in taskWait().
| NimBLEUtils::TaskData::TaskData | ( | void * | pInstance = nullptr, |
| int | flags = 0, |
||
| void * | buf = nullptr |
||
| ) |
Construct a NimBLEUtils::TaskData instance.
| [in] | pInstance | An instance of the class that will be waiting. |
| [in] | flags | General purpose flags for the caller. |
| [in] | buf | A buffer for data. |