locked
Serail Port GSM Modem RRS feed

  • Question

  • Hi,

    I have written a C# application with Serial Port.IO Class which uses GSM modem(connected to COM PORT) to send SMS. It works fine at the initial and receives the SMS.After sometime GSM modem hangs and there after no communication to and from GSM modem via serial port.It seems whenever the server is busy it hangs. How to debug why it hangs? Is there any other way to identify the problem?

     

    Friday, June 3, 2011 3:12 AM

Answers

  • I have the same issue, basically its a service and in it i surround all the logic in a try catch, when unhandled exceptions happen i try close, and reconnect and stat all over again recycling the process...

    Im using this library if its of any help for you:

    http://www.scampers.org/steve/sms/libraries.htm


    -
    • Proposed as answer by Paul Zhou Monday, June 6, 2011 7:19 AM
    • Marked as answer by Paul Zhou Friday, June 10, 2011 5:35 AM
    Friday, June 3, 2011 12:23 PM

All replies

  • I have the same issue, basically its a service and in it i surround all the logic in a try catch, when unhandled exceptions happen i try close, and reconnect and stat all over again recycling the process...

    Im using this library if its of any help for you:

    http://www.scampers.org/steve/sms/libraries.htm


    -
    • Proposed as answer by Paul Zhou Monday, June 6, 2011 7:19 AM
    • Marked as answer by Paul Zhou Friday, June 10, 2011 5:35 AM
    Friday, June 3, 2011 12:23 PM
  •  

    Hi,

     

    Has your issue been resolved? Would you mind letting us know the result of the suggestions?

     

    Now I will mark an answer, you can mark others that you think to be so useful to your issue.

    If you still have any questions about this issue, please feel free to let me know. We will continue to work with you on this issue.

     

    Have a nice day!


    Paul Zhou [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, June 10, 2011 5:33 AM