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

You are here

Thales IoT Developer Community

How To Do IPv6 via AT Internet Service Command

Tutorial, December 25, 2018 - 11:39am, 3041 views

For general IPv4 cases,  one can specify target host address via AT Internet Service Command in a format like below:

AT^SISS=0,"address","socktcps://www.google.com.tw:443"

AT^SISS=0,"address","socktcps://215.58.200.228:443"

If one was forced to use IPv6 network, the URL string specified via FQDN is still OK:

AT^SISS=0,"address","socktcps://www.google.com.tw:443

However for IPv6 address one has to change it into this:

AT^SISS=0,"address","socktcps://[2404:6800:4008:802::2004]:443" 

The brackets [] is the key to the IPv6 URL string.

The contype also has to change to GPRS6:

AT^SICS=0,conType,GPRS6

Below is a more complet AT command log for you to reference:

ati1

Cinterion

EHS6-A

REVISION 03.001

A-REVISION 00.000.51

OK

at^sjam=5

^SJAM: "a:/JRC-1.56.54.jad","Java Remote Control MIDlet Suite","Cinterion","1.56.54",1

OK

at^sics=0,conType,none

OK

at^sics=0,conType,gprs6

OK

at^sics=0,apn,internet

OK

at^siss=0,srvtype,socket

OK

at^siss=0,conId,0

OK

at^siss=0,address,"socktcp://[2404:6800:4008:802::2004]:8888"

OK 

Author

antonyshen's picture
antonyshen