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

You are here

CINTERION PDS5 -> Downloading problem in TCP transparent mode | Thales IoT Developer Community

September 8, 2015 - 5:35pm, 4583 views

Hi everyone,

I have interesting problem with data transfer, better with receiving data on module PDS5-US ( potentially with PDS5-E too ).

HW information ( ATI1 ):

Cinterion
PDS5-US
REVISION 03.001
A-REVISION 00.000.13
Sequence for establishing connection:
 :
 :
 V
AT^SICS=0,conType,GPRS0
OK
AT^SICS=0,apn,"...any_apn..."
OK
AT^SICS=0,user,"...any_apn_user..."
OK
AT^SICS=0,passwd,"...any_apn_psw..."
OK
AT^SISS=0,"srvType","Socket"
OK
AT^SISS=0,"conId","0"
OK
AT^SISS=0,"address","socktcp://Desired.url:80;etx"
OK
AT^SISS?
^SISS: 0,"srvType","Socket"
^SISS: 0,"conId","0"
^SISS: 0,"address","socktcp://Desired.url:80;etx"
^SISS: 0,"tcpMR","10"
^SISS: 0,"tcpOT","6000"
^SISS: 1,"srvType",""
^SISS: 2,"srvType",""
^SISS: 3,"srvType",""
^SISS: 4,"srvType",""
^SISS: 5,"srvType",""
^SISS: 6,"srvType",""
^SISS: 7,"srvType",""
^SISS: 8,"srvType",""
^SISS: 9,"srvType",""
OK
AT^SISO=0
OK
^SISW: 0,1
AT^SIST=0
CONNECT
{ ... DATA TRANSFER ... }
Test files:
File_1:
- content type: string ( only visible characters )
- size of file: 1 kB
File_2:
- content type: string ( only visible characters )
- size of file: 25kB
File_3:
- content type: data ( characters in full range 0x00 - 0xFF )
- size of file: 410kB
Problem:
1) I am sending request to server + any data for server ( this part without problem )
2) Downloading one of file:
Case for File_1:
   Whole file downloaded correctly.
Case for File_2:
   From 25kB file was downloaded aprox. 20-24kB ( depend from attempt ).
   Content was OK, without missing
   charecters.
   Transfer was done with sequence:
   NO CARRIER
   ^SIS: 0,0,48,"Remote peer has closed the connection"
   ^SISR: 0,2
Case for File_3:
   From 410kB file was downloaded 405kB.
   I did't investigate how ended this transfer but I suppose the same such for File_2.
I had the same problem with ****ms Sierra Wireless configured as TCP transparent. Then I used CINTERION PCS3 for CDMA, also in transparen ****, I connecting to the same server, with the same request and there all working nice without problems.
By this module (PDS5-US) I tried play with parameters like timer, tcpMR,tcpOT in AT^SISS without any success.
Had anybody similar problem, or know anybody help me with this?
Thanks a lot!