Howdie! I trying to run a GPRS modem on an Arduino. My full stack is Nimbelink's NL-SW-GPRS Modem (containing Telit GE910-QUAD GPRS module) with the Nimbelink Arduino Development Shield on an Arduino UNO R3.
I am stuck because the AT#FTPOPEN command doesn't seem to ever timeout nor does it return any result (ERROR or OKAY).
Here is the AT commands I am running:
AT > OK AT+CGREG? > +CGREG: 0,1 > OK AT#SIMDET=1 > OK AT+CGDCONT=1,"IP","internet.com","0.0.0.0",0,0 > OK AT#SCFG=1,1,300,90,600,200 > OK AT#SGACTAUTH=0 > OK AT#SGACT=1,1 > <My IP Address> > OK AT#FTPTO=100 > OK AT#FTPOPEN="126.96.36.199","anonymous","anonymous",0
Where 188.8.131.52 is the IP address of ftp.earthlink.net which I am just using for testing purposes, but I have tried several others. I have tried with FTP mode 0 (active) and 1 (passive) with no change in behavior.
The AT#FTPOPEN just never returns anything (no ERROR and no OK). I've waited up to 5 minutes. The command does returns "ERROR" if I deliberately mess up the syntax of the command (eg. AT#FTPOPEN="") but for any valid format it just seems to hang.
Is this a known problem or something I can easy work around? Am I doing something crazy with my timeout values? Is there an easy way to test the context that I activated with the SGACT?
This is more of a question for an M2M forum, but I'm on an Arduino and it seems like there are many people using GSM modules on Arduino - so I thought I'd post here because I am a bit desperate. Thanks :)