We have an aplication that uses the GS64 to do some rudimentry file access on a server. All we want to be able to do is get a file or send a file, the Open At initiative would appear to support this however it’s not clear if the GS64 supports OpenAT. The Wavecom literature regarding this is blank. The way in which we currently do it is to send a simple script of AT commands as follows
ATE1
ATE2IPEV=0,0
AT&D1
ATE2EST=0
AT+IFC=0,0,0
ATE2RS232=0,0
ATE2IPS=10,8,20,10,0,64
AT+CGDCONT=1,“IP”,“internet”
d 5000 ;This command just adds a 5000 millisecond delay
AT+CGSN
AT+CGMR
ATENAD=1,“GPRS”,"","",1,0,0
AT+CGREG=2
ATE2IPA=1,1
ATE2IPI=0
d 200 ; This command just adds a 200 millisecond delay
AT+CSQ
d 200 ;This command just adds a 200 millisecond delay
ATE2IPO=1,"***.***.***.***",21,1
d 10000 ;This command just adds a 10000 millisecond delay
user *******
d 1000 ;This command just adds a 1000 millisecond delay
pass ******
…can anyone suggest a better way to do this? The delays need to be added to adjust for any latency in the carrier network in the case Vodafone. From here we then go on to open another port to initiate the file transfer which is flakey at best in it’s operation as well. I guess I’m looking for a better way in which we can say:
Open Internet connection
Go to this FTP Site/IP address
Get this file
Send this file
Clean up
anyone have any ideas?