AWS IoT Device SDK C:
Platform
Platform portability layer
|
Return to main page ↑ |
Functions of the network abstraction component.
The network abstraction component does not declare functions, but uses function pointers instead. This allows multiple network stacks to be used at the same time. Libraries that require the network will request an IotNetworkInterface_t parameter. The members of the IotNetworkInterface_t will be called whenever the library interacts with the network.
The following function pointers are associated with an IotNetworkInterface_t. Together, they represent a network stack.