FreeRTOS: Platform
Platform portability layer
Return to main page ↑

Abstraction of network functions used by libraries in this SDK.

The platform networking component provides other libraries with an abstraction for interacting with the network through an IotNetworkInterface_t. Libraries that require the network will request an IotNetworkInterface_t as a parameter and use those function pointers to access the network. This allows libraries to use different network stacks simultaneously.


Dependencies of the platform networking component.

Networking direct dependencies

Functions should be implemented against the system's network stack to match the signatures given in an IotNetworkInterface_t.

  • The operating system must provide the necessary networking APIs, such as a sockets API.
  • A third-party security library is needed to encrypt secured connections.
  • The logging library may be used if IOT_LOG_LEVEL_PLATFORM is not IOT_LOG_NONE.