DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2007
    Posts
    9

    GSM modem operator connection lost

    Hi,

    An other thing what i notice is that i lose on a regular base the connection with the GSM operator. The only thing i can do is reset the modem by sending the command AT+CFUN=1 because on all the rest it respond with an error.

    Anyone had similar problems? Anyone can give me a hint how to verify this?

    My GSM modem is a Fargo Maestro 100 Lite.

    Thanks in advance.

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,649
    Is the connection open for a long period of time with no activity?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Dec 2007
    Posts
    9
    Well, actually there is activity, not so much but enough to get at least 1 activity every 6 hours. I receive sms messages and calls on that gsm modem. When i receive a call i send the command ATH and i reply by sending a sms message to the number (when CLIP is available).
    What i see is that it does not respond correctly on some test commands that i send every 5 minutes to the GSM modem.
    AT&T0 Response expected = OK
    AT+CREG? Response expected = +CREG: 0,1 and an OK

    The modem start to respond ERROR on both commands, when i try to call the gsm modem it does not respond (the operator cannot find the number) and messages of course does not arrive on the gsm modem.

    When i restart the service, the gsm modem is still locked up, giving me rubbish and fails to connect due the internal testing. So i need to go to hyper terminal and send AT+CFUN=1 to reset the software stack and than restart the service to bring it back online.

    I can understand that this happens one time, like a network glitch, but it start to be more regular. The reception is ok.

    Besides the fact that this can happen, is there a proper way to detect this? And what could be the proper way to respond on this problem?

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,649
    If the time between transaction activities is reaching 6 hours, then that might be why you are losing connections. With no activity, it could be disconnecting itself.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  5. #5
    Join Date
    Dec 2007
    Posts
    9
    no activity means, that you are not receiving any SMS or phone call? or no activity at all to the GSM modem? The last is certainly not, i developed an application that is monitoring the GSM modem connection by sending every 5 minutes some AT commands.

    I found the following AT+WIND=xxx. This is a specific Maestro command to get unsolicited feedback from the modem, i set it to 255. the response from the modem if something happens is like +WIND: x with x a number that correspond to an event/action/situation. I hope that it can inform me what is going on when the connection is lost. Than it should send out the signal +WIND: 8 : The network is lost.

  6. #6
    Join Date
    Nov 2003
    Posts
    4,118
    I think it's the former: not receiving calls or text messages. This dropout is deliberate, and it's meant to release some of the pressure on the network by disconnecting idle peers. You can prevent it by sending nonsense filler text messages every few minutes and see what happens.
    Danny Kalev

  7. #7
    Join Date
    Dec 2007
    Posts
    9
    After further investigation, the modem have enough activity to stay alive. It is indeed sending out the +WIND signals when it is losing the connection with. I think that the modem itself is broken. It is also losing some of its setting during the operation, while the others don't have this problem.

  8. #8
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,649
    Let us know if all you had to do to fix the problem was swap out the modem.

    It is not unlikely that someone else could run into this same issue.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  9. #9
    Join Date
    Dec 2007
    Posts
    9
    another attachment to the story...

    In the weekend, my system reported a Network Connection Lost (+WIND: 8)
    Even after 6 hours, the modem could not regain network connection, and i didn't see any try either. I wonder if this is normal for a GSM modem. But that small devil popping up on my right shoulder says otherwise.

    So, because i am fed up running to an internet connection so I remotely can re-establishing the network connection, I've implemented a respond on every time I receive +WIND: 8. I send the AT+CFUN=1 command and I wait 60 seconds before I send the configuration AT commands. That is another issue I have with this modem. It is not keeping the settings, even when I saved them by sending the command AT&W. Well yeah, we changed the modem to another location, another COM port and another SIM. The up coming days will bring us an answer packed as a late Christmas present.

    I keep the forum informed.

Similar Threads

  1. [VB6}Recieving & Extracting SMS from Gsm modem
    By KiraYamato in forum VB Classic
    Replies: 2
    Last Post: 06-25-2007, 09:22 PM
  2. gsm modem response
    By azy_777 in forum Mobile
    Replies: 1
    Last Post: 05-03-2007, 11:07 AM
  3. Replies: 1
    Last Post: 01-24-2007, 12:45 AM
  4. Range of Server to wireless GSM modem
    By ebeam in forum Mobile
    Replies: 0
    Last Post: 09-03-2002, 04:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links