Gemalto is now part of the Thales Group, find out more.

You are here

Connect EHS6T with hostname and DNS | Thales IoT Developer Community

September 5, 2017 - 12:53pm, 4349 views

Hello,

I'm trying to connect my EHS6T to server with hostname and DNS.

Cinterion
EHS6
REVISION 03.001
A-REVISION 00.000.42

To define the dns and APN I use this command :

 AT^SJNET="gprs","jcdapn1","","","8.8.8.8",0

Then I send:

 m_sc = (SocketConnection) Connector.open(s);

s =  socket://myadress.jcdecaux.org:91

the result is this error : Could not resolve hostname

I also tried with this function NetExtension.Hostname(m_myadress.jcdecaux.org) to get the ip with same result.

If I replace the hostname with the adress ip it's working.

I have used the same command in cinterion TC65i and it's working.

Can you tell please, how to connect with hostname with EHS6T ?

thanks.