Sending and receving Sms problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajujrk
    New Member
    • Aug 2008
    • 107

    Sending and receving Sms problem

    I am currently doing a project that sending and receving the text messages in java. I am using the jsmsengine API for sending and receving the message..

    But i am getting an error that

    Connection to mobile failed.. Error no: -11

    Pls any one hlp me..
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by rajujrk
    Connection to mobile failed.. Error no: -11
    Is that all your JVM tells you? No stacktrace or method or line number?

    kind regards,

    Jos

    Comment

    • rajujrk
      New Member
      • Aug 2008
      • 107

      #3
      Originally posted by JosAH
      Is that all your JVM tells you? No stacktrace or method or line number?

      kind regards,

      Jos
      Yes, and no stacktrace ..

      but it shows an error message on the below method

      srv.connect();

      srv is an object of that API...

      How to detect that GSM modem connect to my PC perfectly?

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by rajujrk
        Yes, and no stacktrace ..

        but it shows an error message on the below method

        srv.connect();

        srv is an object of that API...

        How to detect that GSM modem connect to my PC perfectly?
        Well, obviously it doesn't connect at all (the connection is refused). You have to
        study the API documentation for that method and see why no connection was
        made.

        kind regards,

        Jos

        Comment

        Working...