<trclass="memitem:a7b08f7ba2161d6309da1fc40c83027c4"id="r_a7b08f7ba2161d6309da1fc40c83027c4"><tdclass="memItemLeft"align="right"valign="top"> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="struct_nim_b_l_e_task_data.html#a7b08f7ba2161d6309da1fc40c83027c4">NimBLETaskData</a> (void *pInstance=nullptr, int flags=0, void *buf=nullptr)</td></tr>
<trclass="memdesc:a7b08f7ba2161d6309da1fc40c83027c4"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Construct a <aclass="el"href="struct_nim_b_l_e_task_data.html"title="A structure to hold data for a task that is waiting for a response.">NimBLETaskData</a> instance. <br/></td></tr>
<divclass="textblock"><p>A structure to hold data for a task that is waiting for a response. </p>
<p>This structure is used in conjunction with <aclass="el"href="class_nim_b_l_e_utils.html#a6b3a170f26ce51f353ff960f59739181"title="Blocks the calling task until released or timeout.">NimBLEUtils::taskWait()</a> and <aclass="el"href="class_nim_b_l_e_utils.html#a7b2de1e3827f9f6750550623dc6d9288"title="Release a task.">NimBLEUtils::taskRelease()</a>. All items are optional, the m_pHandle will be set in taskWait(). </p>
</div><h2class="groupheader">Constructor & Destructor Documentation</h2>
<p>Construct a <aclass="el"href="struct_nim_b_l_e_task_data.html"title="A structure to hold data for a task that is waiting for a response.">NimBLETaskData</a> instance. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">pInstance</td><td>An instance of the class that will be waiting. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">flags</td><td>General purpose flags for the caller. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">buf</td><td>A buffer for data. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<divid="nav-path"class="navpath"><!-- id is needed for treeview function! -->
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.9.8 </li>