10 #ifndef AZURE_IOT_TRANSPORT_INTERFACE_H
11 #define AZURE_IOT_TRANSPORT_INTERFACE_H
127 struct NetworkContext;
140 size_t xBytesToRecv );
152 const void * pvBuffer,
153 size_t xBytesToSend );
int32_t(* AzureIoTTransportRecv_t)(struct NetworkContext *pxNetworkContext, void *pvBuffer, size_t xBytesToRecv)
User defined function for receiving data on the network.
Definition: azure_iot_transport_interface.h:138
int32_t(* AzureIoTTransportSend_t)(struct NetworkContext *pxNetworkContext, const void *pvBuffer, size_t xBytesToSend)
User defined function for sending data on the network.
Definition: azure_iot_transport_interface.h:151
struct AzureIoTTransportInterface AzureIoTTransportInterface_t
The transport layer interface.
The transport layer interface.
Definition: azure_iot_transport_interface.h:159
AzureIoTTransportRecv_t xRecv
Definition: azure_iot_transport_interface.h:160
struct NetworkContext * pxNetworkContext
Definition: azure_iot_transport_interface.h:162
AzureIoTTransportSend_t xSend
Definition: azure_iot_transport_interface.h:161