Connect to board using a NAME instead of an IP

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Connect to board using a NAME instead of an IP

1,793件の閲覧回数
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 件の賞賛
3 返答(返信)

457件の閲覧回数
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 件の賞賛

457件の閲覧回数
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 件の賞賛

457件の閲覧回数
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 件の賞賛