If I try to run the "ping test.local" command from the Windows command prompt the DNS is not resolved.
But if I set the WGM110 in power_0 mode, the ping works.
Tested on fw 1.1.1 and 1.1.1-1ae5e81f
event system_boot(hw, bootloader_version, major, minor, build, revision_len, revision_data) call sme_wifi_on() end event sme_wifi_is_on(result) call sme_set_password(8, "password") call sme_connect_ssid(4, "ssid") end event sme_interface_status(hw_interface, status) if(status = 1) call tcpip_mdns_set_hostname(4, "test") call tcpip_mdns_start() call system_set_max_power_saving_state(system_power_saving_state_1) end if end
we tested the code with the WGM110 module that was connected to the NetGear R700. The mDNS protocol resolves WGM110 hostname to IP correctly and the module responds to the "ping test.local" command in power mode 0 and 1, I attached the result of our tests. Probably the problem occurs only on some specific routers, could you please confirm this?
I have run further tests, and have found that there are cases where it works!
It seems that the problem is related to the number of devices connected to the same access point.
In fact, the more devices (PC, smartphone, tablet etc.) connected to the access point, the higher the probability that the WGM110 will not respond.
It looks like a problem very similar to this: https://www.silabs.com/community/wireless/wi-fi/forum.topic.html/wgm110_-_udp_serverinpowermode1doesnotwork-kpns
Analyzing the "DNS_ping.txt" that you have attached, I notice a strange thing, when you run the command "ping test.local" it is solved with the IP 192.168.1.1, are you sure it is correct? usually this IP is reserved for the access point.
Could it be that the ping command in your case works because windows caches the DNS "test.local"?
Furthermore, our real case is slightly different from what I have described.
We have two WGM110, "test.local" (power_mode_1) and "test2.local" (power_mode_0).
When "test2.local" executes the wifi_cmd_tcpip_mdns_gethostbyname ("test.local") command, it often receives no response.