Converting AT Commands from Gemalto EHS6T to PLS62T-W | Telit Cinterion IoT Developer Community
April 20, 2021 - 9:28am, 1198 views
Hello,
Hope someone here can assist me in converting my AT commands from EHS6T to PLS62T-W
I want to use the worldwide type PLS62T-W, and here I need some assistance to go on.
Today I’m successfully using the Gemalto EHS6T to establish a connection to the network.
Here comes the AT commands :
AT+CFUN=1,1
AT&F0
ATE0
AT+COPS=0,0
AT^SICS=0,conType,GPRS0
AT^SICS=0,apn,internet
AT^SICS=0,inactTO,10
AT^SICI=0
AT^SISS=0,srvType,Socket
AT^SCFG="tcp/withurcs","on"
AT^SISS=0, conID,0
AT^SISS=0,address,socktcp://********** ( hidden)
AT^SISO=0
Can someone here help me with the AT commands I need to use with the PLS62T-W. I know there is a little difference on the two types of modems, I have stydied the AT commands datasheet, but I didn’t success to connect with the PLS62T-W.
Hope someone can assist me here.
Looking forward for your help.
Hello,
The main difference is that you don't use AT^SICS command for APN setting but instead you need to ensure that APN is set with AT+CGDCONT command and then you use AT^SICA command to activate the connection. You use the activated CID in AT^SISS command.
Example:
AT+CGDCONT=1,"IP","internet"
OK
/If necessary you can configure DNS with SICS command
AT^SICS=1,"dns1","198.023.097.002"
OK
AT^SICS=1,"dns2","212.023.097.003"
OK
AT^SICA=1,1
OK
/You can read the assigned IP
AT+CGPADDR=1
+CGPADDR: 1,"10.129.137.217"
The rest should be more or less the same.
Regards,
Bartłomiej
OK
Hello again,
Many thanks for your support, I have now created a connection by the PLS62T-W modem.
I normally use the AT^SICI=1 command to verify and monitor the actual connection, but now I use AT^SISO=1,1 instead of the AT^SICI=1, guess it’s the same functionality. I can’t find another similar command to the AT^SICI=1. Is that correct?
(EHS6T)
AT^SICI=0
^SICI: 0,2,1,"10.138.118.238"
(PLS62T-W)
AT^SISO=1,1
^SISO: 1,"Socket",4,2,0,0,"10.42.76.140:4097","172.104.237.251:32000"
I can see that your examples generally/typical uses ConID = 1, is it a problem to use ConID = 0?
Looking forward to hear from you.
Hello,
AT^SISO=1,1 is in fact also possible in EHS6. It gives you an information about the service while AT^SICI gives you an information about the connection. There is probably no direct equivalent for PLS62-W. To check IP address you can also send AT+CGPADDR command.
You can use any CID that is defined by the AT commands specification. Some networks may have additional requirements like for example CID3 might be the only one allowed for user data.
Regards,
Bartłomiej