AWS IoT Device SDK C: Platform
Platform portability layer
Return to main page ↑
IotNetworkReceiveCallback_t

Provide an asynchronous notification of incoming network data.

typedef void ( * IotNetworkReceiveCallback_t )( IotNetworkConnection_t pConnection,
void * pContext );

A function with this signature may be set with IotNetworkInterface_t::setReceiveCallback to be invoked when data is available on the network.

Parameters
[in]pConnectionThe connection on which data is available, defined by the network stack.
[in]pContextThe third argument passed to IotNetworkInterface_t::setReceiveCallback.