EHS6/ELS61 AT^SISW=x,n Response does not show any <unackData> | Thales IoT Developer Community
April 19, 2018 - 8:20am, 5482 views
Hello Friends,
I am using EHS6 / ELS61-AUS modems in our datalogger to upload logged data to remote FTP server.
I am able to upload data successfully many *****. But some***** some characters are not being uploaded.
Please help me on how to check wheather all data has been successfully uploaded or not. Resoponse of AT^SISW=x,n shows <unackData> =0 every ***** even if I removed network cable from remote server. Is there any setting to cofigure modem to report <unackdata>
Same case is happening with both the modems EHS6 and ELS61-AUS
Please help me what to do? Commands and their reponses are given below
^SYSLOADING
^SYSSTART
+PBREADY
AT+CMEE=1
AT+CMEE=1
OK
AT+CPIN?
AT+CPIN?
+CPIN: READY
OK
AT+CSQ
AT+CSQ
+CSQ: 15,99
OK
AT^SICS=0,conType,GPRS0
AT^SICS=0,conType,GPRS0
OK
AT^SICS=0,dns1,"***.xx.***.xx"
AT^SICS=0,dns1,"***.xx.***.xx"
OK
AT^SICS=0,apn,"www"
AT^SICS=0,apn,"www"
OK
AT^SISS=2,"srvType","ftp"
AT^SISS=2,"srvType","ftp"
OK
AT^SISS=2,conId,"0"
AT^SISS=2,conId,"0"
OK
AT^SISS=2,"address","ftp://******:***xx@***.xx.***.xx:xx"
AT^SISS=2,"address","ftp://******:***xx@***.xx.***.xx:xx"
OK
AT^SISS=2,"cmd","put"
AT^SISS=2,"cmd","put"OK
AT^SISS=2,"files","TESTFTP_********************_********************_180419_1011.csv"
AT^SISS=2,"files","TESTFTP_********************_********************_180419_1011.csv"
OK
AT^SISO=2
AT^SISO=2
OK
^SIS: 2,0,2100,"Ftp open(***.xx.***.xx:xx)"
^SIS: 2,0,2100,"220-FileZilla Server version 0.9.47 beta"
^SIS: 2,0,2100,"FTP Login OK"
^SIS: 2,0,2100,"put TESTFTP_********************_********************_180419_1011.csv"
^SISW: 2,1
AT^SISW=2,130
AT^SISW=2,130
^SISW: 2,130,0
ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
OK
^SISW: 2,1
AT^SISW=2,130
AT^SISW=2,130
^SISW: 2,130,0
ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
OK
^SISW: 2,1
AT^SISW=2,130
AT^SISW=2,130
^SISW: 2,130,0
ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
OK
^SISW: 2,1
AT^SISW=2,3
AT^SISW=2,3^SISW: 2,3,0
ABC
OK
^SISW: 2,1
AT^SISW=2,0
AT^SISW=2,0
+CME ERROR: 3
AT^SISW=2,0,0
AT^SISW=2,0,0
+CME ERROR: 3
Hi, have you tried to trace the communication on the server side e.g. using wireshark, tshark etc. ? How do you verify that the character is missing on the server side?
Best regards,
Michał
Hi Michal,
Thanks for the reply! No, but I have checked the uploaded file data on server.
My concern is modem response to SISW command is always 0 (<unackData>) as you can see in my command response log. How can I ****** that my data has send completely to the server. I am using FileZila application on server for FTP transfer.
The same was OK with my previous 2G modem (Cinterion TC65i) but I am facing problem with these modems (Gemalto EHS6/ELS61-AUS)
Please help.
Thanks in advance !!
Arvind Gond
Hi Arvind,
I have checked this, and unfortunately "always 0 (<unackData>)" looks like the modules issue. I will report this to our R&D. Thanks for remarking this.
Best regards,
Michał
Hi Michal,
Thanks for the relpy!
OK, I will wait for your further response.
Thamks in advance for your kind support.
with warm regards,
Arvind Gond
Hi Arvind,
unackData is one thing, but your have been suffering also from data lost. Have you been able to trace the server side?
Best regards,
Michał
Hi Michal,
Case of data loss may be due to poor network internet connectivity. The possibility of data loss in files may be say 2% or 3%. Suppose I am uploading 100 files then may be 2 or 3 files are having less data or may be the chance all 100 files having complete data. It is the probability. But it happens.
Earlier we were facing data loss issue with TC65i but after checking <unAckData> we become sure that some data has not been uploaded. Next time we upload those data again in next file.
Presently I am not having the log of server side of that time because the probability of data loss is very low. The log file size becomes large so we regularily used to clear the log.
Next time when data loss will be trapped I will try to capture the log of FileZilla at server side. And then I will send you that log.
Thanks & regards,
Arvind Gond
Hi Michal,
Is there any update in this regards ?
I am waiting for your response.
thanks in advance!
Arvind Gond
Hello,
Michał has diagnosed and reported this unacknowledged data problem. Currently there is nothing new about it.
On the other hand that is interesting what is happening on the server side - the file is saved without any error if some data is not received... or maybe all the data is received but there is some other problem.
In a meantime some kind of workaround would be needed - maybe reading the file size.
Best regards,
Bartłomiej
Hi Bartłomiej,
We are uploading plain text file to server and the file is being saved without any formatting error.
regards,
Arvind Gond
Hello,
Anyway to verify the cause of this data loss problem the server and device logs would be needed, the saved file and the data file that was being sent. Then we would be able to compare both files and try to verify what was actually sent and received and if this unacknowledged data indication problem is to blame here.
Regards,
Bartłomiej