When I look at my router DHCP table the only way to identify the Spark Core is by the MAC address because it does not supply the router with a host name.
I am using UDP communications and since the IP address of the core changes from time to time I’d like to connect by host name using the python code …
name = 'mySparkOne' host = socket.gethostbyname(name)
As you can see in the attached DHCP table the Spark, which for the moment I’ve given the static address 192.168.1.100, has a blank field for Host Name.
Is there anything I can do to give the Spark Core a host name?
Thanks in anticipation