PLS8-X: Internet Services with IPV6 | Telit Cinterion IoT Developer Community
June 3, 2016 - 11:28am, 4081 views
Hi,
I am trying to establish a socket connection over IPV6, but when I try to specify the destination IPV6 address and port I always get the following error:
2016.06.01, 18:57:16.509, AT^SISS=0,"address","socktcp://[****:x:x:x::xx]:pppp"
2016.06.01, 18:57:16.509, +CME ERROR: mistyped parameter
from the above error message Its clear that i am wrongly specifying the IPV6 address and port, be there is no clear information in documentation for the same, san spmeone please let me know if I am missing anything and also see the log for more details.
Note that the TCP connection over IPV4 is successful.
-----------------------------------------------
Terminal log file
Date: 6/1/2016 - 6:51:41 PM
-----------------------------------------------
AT^SISS=0,"address","socktcp://[****:x:x:x::xx]ppppp"
+CME ERROR: mistyped parameter
AT^SISS=0,"address","socktcp://[****:x:x:x::xx:ppppp]"
+CME ERROR: mistyped parameter
AT^SISS=0,"address","socktcp://[****:x:x:x::xx/ppppp]"
+CME ERROR: mistyped parameter
AT^SISS=0,"address","socktcp://[****:x:x:x::xx]ppppp"
+CME ERROR: mistyped parameter
AT^SISS=0,"address","socktcp://[****:x:x:x::xx]:[ppppp]"
+CME ERROR: mistyped parameter
AT^SISS=0,"address","socktcp://[FE80::2]:ppppp"
+CME ERROR: mistyped parameter
ATI1
Cinterion
PLS8-X
REVISION 03.017
A-REVISION 01.000.00
OK
AT^SCFG?
^SCFG: "Audio/Loop","0"
^SCFG: "Audio/SvTone","0"
^SCFG: "Call/Ecall/AckTimeout","5000"
^SCFG: "Call/Ecall/Callback","0"
^SCFG: "Call/Ecall/CallbackTimeout","43200000"
^SCFG: "Call/Ecall/Msd",""
^SCFG: "Call/Ecall/Pullmode","0"
^SCFG: "Call/Ecall/SessionTimeout","20000"
^SCFG: "Call/Ecall/StartTimeout","5000"
^SCFG: "Call/ECC","0"
^SCFG: "Call/Speech/Codec","2"
^SCFG: "GPIO/Mode/Antenna","off"
^SCFG: "GPRS/Auth","2"
^SCFG: "GPRS/AutoAttach","disabled"
^SCFG: "MEopMode/CFUN","1","1"
^SCFG: "MEopMode/Dormancy","0","0"
^SCFG: "MEopMode/DTM/Mode","0"
^SCFG: "MEopMode/ExpectDTR","current","acm1","acm2","acm3","acm4","asc0"
^SCFG: "MEopMode/ExpectDTR","powerup","acm1","acm2","acm3","acm4","asc0"
^SCFG: "MEopMode/NonBlock/Cops","0"
^SCFG: "MEopMode/PingRsp","1"
^SCFG: "MEopMode/PowerMgmt/LCI","disabled"
^SCFG: "MEopMode/Prov/Cfg","0"
^SCFG: "MEopMode/Prov/Iccid1","0",""
^SCFG: "MEopMode/Prov/Iccid2","0",""
^SCFG: "MEopMode/PwrSave","disabled","52","50"
^SCFG: "MEopMode/PwrSave/Delay/USB","10"
^SCFG: "MEShutdown/OnIgnition","off"
^SCFG: "MEShutdown/Timer","off"
^SCFG: "Misc/CId",""
^SCFG: "Radio/Band","5456495"
^SCFG: "Radio/CNS","0"
^SCFG: "Radio/Mtpl","0"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "RemoteWakeUp/Event/ASC","none"
^SCFG: "RemoteWakeUp/Event/URC","none"
^SCFG: "RemoteWakeUp/Event/USB","none"
^SCFG: "RemoteWakeUp/Ports","current","acm1","acm2","acm3","acm4","rmnet0","rmnet1","asc0"
^SCFG: "RemoteWakeUp/Ports","powerup","acm1","acm2","acm3","acm4","rmnet0","rmnet1","asc0"
^SCFG: "RemoteWakeUp/Pulse","10"
^SCFG: "SIM/CS","SIM_1"
^SCFG: "SIM/Retry","on"
^SCFG: "SMS/AutoAck","0"
^SCFG: "SMS/Format","3GPP","3GPP2"
^SCFG: "Tcp/IPv6Priv","1"
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/Loop","disabled"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/TLS/Version","MIN","***"
^SCFG: "Tcp/UnreachRsp","1"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "URC/DstIfc","mdm"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","2"
OK
AT+CGDCONT?
+CGDCONT: 1,"IPV6","apn","0.0.0.0",0,0
+CGDCONT: 2,"IP","","0.0.0.0",0,0
+CGDCONT: 3,"IP","","0.0.0.0",0,0
regards
kk
Hi,
Have you tried at^siss=0,"ipVer","6" in the service profile to use the IPv6. The default is "4" and IPv4.
See the AT manual (pls8-e_atc_v03017.pdf), page 306.
Besdt Regards Antero
Antero Markkula
Communication and Mechatronics
Enkom Active Oy – www.enkom-active.fi
Upseerinkatu 3 A, 02600 Espoo, Finland
Mobile: +358 400 411368
Office: +358 10 204 0000
Fax: +358 10 204 0010
E-mail: antero.markkula@enkom-active.fi
Hello,
According to the address format only the address part should be in brackets. Example:
http://[2001:0db8:85a3:0000:0000:8a2e:0370:7334]:80/index1.html
Regards,
Bartłomiej
Hi Bartłomiej,
I have tried the basic address which is described in the page 272 pls8-x_atc_v02502.pdf and that didnt worked.
AT^SISS=0,"address","socktcp://[FE80::2]:50467"
+CME ERROR: mistyped parameter
Hello,
I have also tried to do some tests with it. And I was unable to configure some addresses too. There seems to be a validation algorithm which rejects some addresses.
But for example I was able to configure this address:
at^siss=0,address,"socktcp://[2001:1B70:82BB::2123]:13"
I'm trying to clarify this.
Best regards,
Bartłomiej
Hi,
I tried the below address and it dint worked form me, let me try with your adress.
2016.06.01, 18:57:16.509, AT^SISS=0,"address","socktcp://[2001:0:0:1::20]:50467"
2016.06.01, 18:57:16.509, +CME ERROR: mistyped parameter
regards
kk
Hello,
I have the solution for this problem.
It is caused by the differences in "[]" characters encoding in GSM and ASCII character sets. You can read more about these differences in the AT commands specification document. At first I was a little bit mislead because I have tested that some addresses were accepted and some not.
You can set the parameter alphabet to 1 for the used internet services profile with AT^SISS command. In this case the string is taken in ASCII otherwise it is GSM. There is also a global character set setting - AT+CSCS.
Please test if it also solves the problem on your side.
Best regards,
Bartłomiej