|
FreeRTOS:
Platform
Platform portability layer
|
| Return to main page ↑ |
Register an IotNetworkReceiveCallback_t.
Sets an IotNetworkReceiveCallback_t to be called asynchronously when data arrives on the network. The network stack should invoke this function "as if" it were the thread routine of a detached thread.
Each network connection may only have one receive callback at any time. IotNetworkInterface_t::close is expected to remove any active receive callbacks.
| [in] | pConnection | The connection to associate with the receive callback. |
| [in] | receiveCallback | The function to invoke for incoming network data. |
| [in] | pContext | A value to pass as the first parameter to the receive callback. |