Hi There,
didnt found the place where i can change the hostname of the Module.
Any document or file / function to watch for?
Thanks Tecomon
Hi Tecomon,
Just to double check it : you are not using the AT-CMD. Is this correct?
Thanks, PM_Dialog
Hi PM_Dialog,
this is correct.
Thanks, Tecomon
Thanks for the clarification. Let me check this internally and I'll get back to you ASAP.
We are checking this internally. Can you please let us know about the use case, application and purpose for changing the Hostname?
DA16200 is used as AP or Station?
Hello PM_Dialog,
at the moment the hostname seems to be Dialog_ with the last hex digits of the mac address. This shows firstly the module used on the final product, and secondly no connection to the manufacturer of the final product. So someone will put it on their network, see a device "Dialog_123456" and not know what it is, and maybe block it since most end users don't open the devices.
Also, it could be that there are multiple products with the same hostname in this scenario.
The "Dialog_123456" is the SSID when DA16200 is soft-ap. It is not hostname.
In case you need to change the ssid, you can use "easy setup" in console.
Or gen_ssid() can be used.
DA16200 supports mDNS feature when you enable _SUPPORT_ZERO_CONFIG_ feature in config_generic_sdk.h.
In case you need to set a different hostname, the following should be done in system_start() of system_start.c :
If you need more information, please let us know.
tested the code but without success.
nvram_status was fine and didnt failed.
zero_config task was running.
Still the hostname appears as:
DA16200_D29C (172.24.1.74) auf d4:3d:39:10:d2:9c [ether] auf wlan0 Tested with and without clearing the nvram.
Any idea how to debug or another way to set the hostname?
Sorry for my late response. Let me check this and I'll get back to you.
Could you let us know the purpose of the usage?
Please share a full console log to have a look.
You need to know the mDNS first.
As far as I know, you need another app to test this feature.
It's the "apple's Bonjour".
Please refer to : https://support.apple.com/en-hk/guide/deployment-reference-macos/apd040…
Bonjour support mDNS feature. Android and Window do not support.
as stated above the usage is, to let the people managing networks know which device is in the network.
Also, it could be that there are multiple products with the same hostname in this scenario. Which can cause troubles aswell when using, hostnames for requests.
As far i know mDNS is only needed if the router doesnt act as DNS server or to route a certrain request list "hostname.local" to a certain device.
The hostname itself is or at least should be not dependant on mDNS.
Console log is following but as far i saw, theres no output at all besides from the ones we included.