FreeRTOS: Platform
Platform portability layer
Return to main page ↑

Create a new network connection.

IotNetworkError_t ( * create )( void * pConnectionInfo,
void * pCredentialInfo,
void ** pConnection );

This function allocates resources and establishes a new network connection.

Parameters
[in]pConnectionInfoRepresents information needed to set up the new connection, defined by the network stack.
[in]pCredentialInfoRepresents information needed to secure the new connection, defined by the network stack.
[out]pConnectionSet to represent a new connection, defined by the network stack.
Returns
Any IotNetworkError_t, as defined by the network stack.
IotNetworkError_t
IotNetworkError_t
Return codes for network functions.
Definition: iot_network.h:44