Connect EHS6T with hostname and DNS | Telit Cinterion IoT Developer Community
September 5, 2017 - 12:53pm, 5378 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.
Hello,
For this module "GPRS" is the only possible setting and here it just means the packet switched data transfer. So it might be EDGE, GPRS, HSPA, LTE depending on the module and network. In the older modules there was also "CSD" setting for circuit switched data transfer which is no longer possible here.
Regards,
Bartłomiej