DNS not working in Azure RTOS

Alex Gal 1 Reputation point
2020-11-09T01:49:35.86+00:00

Hi!

It is pretty disappointing but i have a problem right after installing AzureRTOS. I am going through the step by step install guide but i'm stuck. Could you help me with that? There is no such documentation about this error which is also disappointing.

Starting Azure thread

Initializing WiFi
        Module: ISM43362-M3G-L44-SPI
        Firmware revision: C3.5.2.5.STM
        Connecting to SSID 'Telekom-J9BC2k'
SUCCESS: WiFi connected to Telekom-J9BC2k

Initializing DHCP
        IP address: 192.168.1.71
        Gateway: 192.168.1.1
SUCCESS: DHCP initialized

Initializing DNS client
        DNS address: 192.168.1.1
SUCCESS: DNS client initialized

Initializing SNTP client
        SNTP server 0.pool.ntp.org
        FAIL: Unable to resolve DNS for SNTP Server 0.pool.ntp.org (0xa3)
ERROR: Failed to run the sntp client

I have only found similar stuff in the source code.

#define NX_SNTP_INVALID_SERVER_ADDRESS      (NX_SNTP_ERROR_CONSTANT | 0x0A) /* Invalid server type e.g. IPv4 or IPv6 incompatible.                          */

Checked with Wireshark: there is no clue of any NTP packets.

Thanks!

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
333 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.