Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.

FreeRTOS_GetEndPointConfiguration()

[FreeRTOS-Plus-TCP API Reference]

FreeRTOS_IP.h
void FreeRTOS_GetEndPointConfiguration( uint32_t * pulIPAddress,
                                        uint32_t * pulNetMask,
                                        uint32_t * pulGatewayAddress,
                                        uint32_t * pulDNSServerAddress,
                                        const struct xNetworkEndPoint * pxEndPoint )

Obtains the network address configuration from the TCP/IP stack for a given IPv4 endpoint. Only non-NULL pointers will be filled in.

Parameters:

pulIPAddress
Used to return the IP address being used by the IP stack. The IP address is represented as a 32-bit number in network byte order.

pulNetMask
Used to return the net mask being used by the IP stack. The net mask is represented as a 32-bit number in network byte order.

pulGatewayAddress
Used to return the IP address of the gateway being used by the IP stack. The IP address is represented as a 32-bit number in network byte order.

pulDNSServerAddress
Used to return the IP address of the DNS server being used by the IP stack. The IP address is represented as a 32-bit number in network byte order.

pxEndPoint
The IPv4 end-point which is being questioned.

Returns:
No return value.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.