ERROR FTP Upload (TC65i) | Thales IoT Developer Community
August 12, 2019 - 2:39pm, 3071 views
I'm having error when I give AT ^ SISO = 1 command.
How do I connect to the server with AT commands in module TC65i?
---- 12/08/2019 09:17:53
ati1
Cinterion
TC65i
REVISION 01.100
A-REVISION 03.002.00
OK
---- 12/08/2019 09:17:53
at+cpin?
+CPIN: READY
OK
---- 12/08/2019 09:17:54
at+cops?
+COPS: 0,0,"TIM BRASIL"
OK
---- 12/08/2019 09:17:54
at^sics=1,"conType","GPRS0"
OK
---- 12/08/2019 09:17:55
at^SICS=1,"inactTO","65535"
OK
---- 12/08/2019 09:17:55
at^sics=1,alphabet,1
OK
---- 12/08/2019 09:17:56
at^SICS=1,"user","tim"
OK
---- 12/08/2019 09:17:57
at^SICS=1,"passwd","tim"
OK
---- 12/08/2019 09:17:57
at^SICS=1,"apn","tim.br"
OK
---- 12/08/2019 09:17:58
at^SISS=1,"srvType","ftp"
OK
---- 12/08/2019 09:17:59
at^SISS=1,"conId","0"
OK
---- 12/08/2019 09:17:59
at^SISS=1,alphabet,"1"
OK
---- 12/08/2019 09:18:00
at^SISS=1,"address","ftpput://myname:mypasswd@10.108.128.122:21/test.txt;type=a"
OK
---- 12/08/2019 09:18:00
AT^SISO?
^SISO: 0, ""
^SISO: 1, "Ftp","2","1","0","0","0.0.0.0:0","0.0.0.0:0"
^SISO: 2, ""
^SISO: 3, ""
^SISO: 4, ""
^SISO: 5, ""
^SISO: 6, ""
^SISO: 7, ""
^SISO: 8, ""
^SISO: 9, ""
OK
---- 12/08/2019 09:18:01
AT^SISO=1
ERROR
---- 12/08/2019 09:18:31
AT^SICI?
^SICI: 1,0,0,"0.0.0.0"
OK
Hello,
for SICS configuration you use profile 1, but you set SISS "conid" parameter to 0:
at^SISS=1,"conId","0"
Please change SICS to 0 or conid to 1. It shoud work after that.
Best regards,
Adam
Hi thanks,
Now it'sworking
---- 12/08/2019 13:30:14
ati1
Cinterion
TC65i
REVISION 01.100
A-REVISION 03.002.00
OK
---- 12/08/2019 13:30:15
at+cpin?
+CPIN: READY
OK
---- 12/08/2019 13:30:15
at+cops?
+COPS: 0
OK
---- 12/08/2019 13:30:16
at^sics=1,"conType","GPRS0"
OK
---- 12/08/2019 13:30:16
at^SICS=1,"inactTO","65535"
OK
---- 12/08/2019 13:30:17
at^sics=1,alphabet,1
OK
---- 12/08/2019 13:30:18
at^SICS=1,"user","tim"
OK
---- 12/08/2019 13:30:18
at^SICS=1,"passwd","tim"
OK
---- 12/08/2019 13:30:19
at^SICS=1,"apn","tim.br"
OK
---- 12/08/2019 13:30:19
at^SISS=1,"srvType","ftp"
OK
---- 12/08/2019 13:30:20
at^SISS=1,"conId","1"
OK
---- 12/08/2019 13:30:21
at^SISS=1,alphabet,"1"
OK
---- 12/08/2019 13:30:21
at^SISS=1,"address","ftpput://*****:*****@10.108.128.122:21/uploa/test.txt;type=a"
OK
---- 12/08/2019 13:30:22
AT^SISO?
^SISO: 0, ""
^SISO: 1, "Ftp","2","1","0","0","0.0.0.0:0","0.0.0.0:0"
^SISO: 2, ""
^SISO: 3, ""
^SISO: 4, ""
^SISO: 5, ""
^SISO: 6, ""
^SISO: 7, ""
^SISO: 8, ""
^SISO: 9, ""
OK
---- 12/08/2019 13:30:22
AT^SISO=1
OK
---- 12/08/2019 13:30:29
AT^SICI?
^SICI: 1,2,1,"179.205.124.56"
OK
---- 12/08/2019 13:30:29
AT^SISO?
^SISO: 0, ""
^SISO: 1, "Ftp","3","2","0","0","179.205.124.56:0","10.108.128.122:21"
^SISO: 2, ""
^SISO: 3, ""
^SISO: 4, ""
^SISO: 5, ""
^SISO: 6, ""
^SISO: 7, ""
^SISO: 8, ""
^SISO: 9, ""
OK
---- 12/08/2019 13:30:30
Please can you help me with sending a txt file.
at^sisw=1,100
0123456789012345678901234567890123456789012
3456789012345678901234567890123456789012345
67890123456789
at^sisw=1,0,1
at^sisc=1
========================================
---- 12/08/2019 13:41:29
at^sisw=1,100
^SISW: 1, 0, 0
OK
---- 12/08/2019 13:41:30
---- 12/08/2019 13:42:00
---- 12/08/2019 13:42:30
^SIS: 1, 0, 18
---- 12/08/2019 13:43:00
at^sisw=1,0,1
ERROR
In this part of the AT command it returns me an error and does not generate a txt file.
Best regards,
Kelver Ruan Braga de Cristo.
Hello,
I checked your logs, but could not find root cause of this issue. Could you please verify connection with different FTP server? E.g publicly available https://dlptest.com/ftp-test/.
Thanks,
Adam
Hello,
I checked the code and it successfully performed FTP.
ati1
cpin?
at+cops?
at^sics=1,"conType","GPRS0"
at^SICS=1,"inactTO","65535"
at^sics=1,alphabet,1
at^SICS=1,"user","tim"
at^SICS=1,"passwd","tim"
at^SICS=1,"apn","tim.br"
at^SISS=1,"srvType","ftp"
at^SISS=1,"conId","1"
at^SISS=1,alphabet,"1"
at^SISS=1,"address","ftpput://********:*********@ftp3.simepar.br:21/example.txt;type=a"
AT^SISO?
AT^SISO=1
AT^SICI?
AT^SISO?
at^sisw=1,100
at^sisw=1,0,1
at^sisc=1
Thanks,
Kelver Ruan.
Hello Kelver,
great to hear that! Do you know what was the reason of previous problem?
Best regards,
Adam