M2MForums: Your Online Resource & Community for M2M Application Development  

Go Back   M2MForums: Your Online Resource & Community for M2M Application Development > Hardware > Telit

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-30-2007, 07:25 AM
Junior Member
 
Join Date: Nov 2007
Posts: 5
Default FTP with GM862

I am having a problem closing a FTP connection. I think I've read through at ton of posts about FTP problems, but haven't found my answer. I am able to get on the GPRS network and connect to my FTP server just fine. I can also successfully put the file on the server and send the escape sequence "+++". Previously I was having an error with this showing up in my file, but I increased the wait time before and after the escape sequence send to 10 seconds and this fixed that problem.

The +++ no longer shows up in my file, but I still don't get a response from the 862 after this. I have set my program to wait for 2 minutes, but still no response. It seems that after the +++ is sent the module goes off into la-la land. I have set at&d2 and done a transition from high to low twice, but no response. I tried sending at#ftpclose over and over again with 10 second pauses between them, but no response.

The only way I have found to get my module to respond again is to toggle on/off. Then I have to run my setup sequence again to establish another connection. Does anybody have any recommendations to fix this? Thank you so much for your help!
Reply With Quote
  #2 (permalink)  
Old 11-30-2007, 01:25 PM
Administrator
 
Join Date: Nov 2007
Location: Dallas, TX
Posts: 43
Default

Can you post the series of commands you're issuing and I'll try to replicate this with our Telit module in our lab. Also, have you verified it's not server-side and tried using another FTP site?
__________________
Ublip, Inc.
www.ublip.com
blog.ublip.com
Reply With Quote
  #3 (permalink)  
Old 11-30-2007, 01:39 PM
Junior Member
 
Join Date: Nov 2007
Location: FL
Posts: 12
Default Like to know more...

Can you share what you are connecting to the modem. Device specifics?

Device description,Processor,Memory,OS if any...

It looks like you can modify you device firmware?

Their is always more than one way to skin a cat...
Reply With Quote
  #4 (permalink)  
Old 11-30-2007, 02:15 PM
Junior Member
 
Join Date: Nov 2007
Posts: 5
Default

These are the commands I use to connect, in this order.
at#bnd=1
at+cgdcont=1,IP,internet2.voicestream.com,0.0.0.0, 0,0
at#skipesc=1
at#dsto=1
at#sktto=1
at#gprs=1
at#ftpopen=talonhouse.hopto.org,user,password,0
at#ftpput="httest.txt"
//wait 6 seconds
hello world
//wait 10 seconds
+++
//wait 10 seconds
at#ftpclose

As for the setup, I am connecting to the Telit module with a Rabbit RCM4400W through serial ports. There are several other parts to my device which the rabbit gathers information from, and builds a string of that information. Then I run the code above to setup the data connection on the Telit. This code works in hyperterminal but not when it is run from the Rabbit. Has anybody else used this module with a MCU?
Reply With Quote
  #5 (permalink)  
Old 11-30-2007, 02:19 PM
Junior Member
 
Join Date: Nov 2007
Posts: 5
Default

Note on the wait sequences:
When I run in HyperTerminal I simply just wait before entering in the next command.
When I run from the Rabbit I use Rabbit's waitfor(DelaySec(n)) command, which delays for n seconds.
Reply With Quote
  #6 (permalink)  
Old 11-30-2007, 02:35 PM
Administrator
 
Join Date: Nov 2007
Location: Dallas, TX
Posts: 43
Default

I want to verify something before I run your commands. You're having a problem closing the connection regardless of whether or not the Rabbit is connected to the Telit module, correct?
__________________
Ublip, Inc.
www.ublip.com
blog.ublip.com
Reply With Quote
  #7 (permalink)  
Old 11-30-2007, 03:16 PM
Junior Member
 
Join Date: Nov 2007
Posts: 5
Default

I am having this problem only when the Rabbit is connected. In Hyperterminal it works.
Reply With Quote
  #8 (permalink)  
Old 11-30-2007, 03:26 PM
Administrator
 
Join Date: Nov 2007
Location: Dallas, TX
Posts: 43
Default

Sorry, I should have read your entire post...you had already mentioned that I don't know if I can replicate your setup. Mabye scasperson can chime in.
__________________
Ublip, Inc.
www.ublip.com
blog.ublip.com
Reply With Quote
  #9 (permalink)  
Old 12-03-2007, 10:42 AM
Junior Member
 
Join Date: Nov 2007
Location: FL
Posts: 12
Default Do you have time for a call?

If you like, you could call me on my cell at 813-728-9537.

I might be able to assist.

Any time Steve.
Reply With Quote
  #10 (permalink)  
Old 12-03-2007, 10:53 AM
Administrator
 
Join Date: Nov 2007
Location: Dallas, TX
Posts: 43
Default

Steve, now that's what I call service!
__________________
Ublip, Inc.
www.ublip.com
blog.ublip.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -6. The time now is 04:40 AM.


M2MForums.com Sponsored by Ublip

Search Engine Friendly URLs by vBSEO 3.2.0