Connect to board using a NAME instead of an IP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Connect to board using a NAME instead of an IP

1,770 Views
JaimeR
Contributor III

I would like to connect to my board using just a word and not an IP.

I've been looking for these network parameters but still don't exactly know what to do with them:

LWDNS_server_ipaddr

IPCFG_default_ip_address
IPCFG_default_ip_mask

IPCFG_default_ip_gateway

 

Is it possible to do this with the firmware and stack provided?

 

If anyone has an idea or comment about this, feel free to post it.

 

Regards,

0 Kudos
3 Replies

434 Views
vier_kuifjes
Senior Contributor I
I believe the NETBIOS protocol is needed to do this. I'm not sure if this is available in MQX though...
0 Kudos

434 Views
Nouchi
Senior Contributor II

Hello,

 

You probably need a DNS resolver to connect the board with domain name instead of IP address.

You can find informations about DNS resolver in MQXRTCSUG.pdf chapter 5.4.

 

 

Emmanuel

0 Kudos

434 Views
JaimeR
Contributor III

Thank you, I believe the information I was looking for is in that user guide. I did  change the variables suggested in the guide, but unfortunatelly, I couldn't call the function DNSinit() because I didnt know which file to include. Since I dont know if this function is called in MQX libraries  I typed different things in the address bar from the browser(ns.arc.com for instance) to check if it worked but it didnt...

I will deeper check the guide in order to make this work.

Regards

 

0 Kudos