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.
NOTE: This API has been deprecated from FreeRTOS V4.0.0 onwards. Please refer to FreeRTOS_GetEndPointConfiguration() for the new APIs supporting IPv6, Multiple Endpoints and Multiple interfaces. To use the deprecated APIs please set ipconfigIPv4_BACKWARD_COMPATIBLE to 1 in the FreeRTOSIPConfig.h header file.

FreeRTOS_GetDNSServerAddress()

[FreeRTOS-Plus-TCP API Reference]

FreeRTOS_IP.h
uint32_t FreeRTOS_GetDNSServerAddress( void );
		

Returns:

Returns the IP address of the first IPv4 endpoint in network byte order. FreeRTOS_inet_ntoa() can be used to convert the IP address into a more easily readable decimal dot notation ASCII string. Returns 0 if no IPv4 endpoint can be found.

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