NimBLE-Arduino 2.1.2
|
A structure to hold data for a task that is waiting for a response. More...
#include <NimBLEUtils.h>
Public Member Functions | |
NimBLETaskData (void *pInstance=nullptr, int flags=0, void *buf=nullptr) | |
Construct a NimBLETaskData instance. | |
~NimBLETaskData () | |
Destructor. | |
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 m_pHandle will be set in taskWait().
NimBLETaskData::NimBLETaskData | ( | void * | pInstance = nullptr , |
int | flags = 0 , |
||
void * | buf = nullptr |
||
) |
Construct a NimBLETaskData 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. |