FreeRTOS_Routing.h
NetworkInterface_t * FreeRTOS_AddNetworkInterface( NetworkInterface_t * pxInterface );
FreeRTOS_AddNetworkInterface() is used to add a new physical Network Interface. The object pointed to by 'pxInterface'
must continue to exist. Only the Network Interface function
px${port_name}_FillInterfaceDescriptor()
should call this function.
Parameters:
- pxInterface
- The address of the new interface. This object must continue to exist even after
px${port_name}_FillInterfaceDescriptor()
Returns:
The pointer that points to interface itself.
Example usage:
Examples are provided on the
Porting FreeRTOS to a Different Microcontroller
page. Search for FreeRTOS_AddNetworkInterface() on that page to find example source code.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.