GXSMS::Open failed

19 posts / 0 new
Last post
yuchen
GXSMS::Open failed

Hello!

First of all, great job on the GXSMS component!

I am encountering some problem while using the component with a SAMSUNG E1360B mobile phone connected through bluetooth. The phone is working fine and a diagnostic test running under Windows 7 shows no error whatsoever.

Here's the interesting bit: when I invoke the Open method for the first time, it will fail. If I continue to invoke Open after catching the exception, it will work.

Any idea of why this is happening? I have been changing the parameters but still encountering the same error. Please help!

Best wishes

//////////////////////////////////////////////

GXSMS GXSMS1 = new GXSMS();
GXSMS1.ReceiverNumber = "+447777777777";
GXSMS1.Port = "COM3";

try
{
GXSMS1.Open();
}
catch (Exception ex)
{
Console.WriteLine("{0} -> {1}", ex.GetType().ToString(), ex.Message);
}

GXSMS1.Open();

Console.WriteLine();
Console.WriteLine("Press [ENTER] to exit...");
Console.ReadLine();

//////////////////////////////////////////////

Gurux.Common.GXException -> GXSMS::Open failed:
Serial port COM3 open failed. The parameter is incorrect.

Press [ENTER] to exit...

Kurumi
Kurumi's picture
Hi, After hard work, we believe that this is fixed. We will release new version from Gurux SMS component next week. I hope that this new version will solve your problems. Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

yuchen

Well, I just downloaded the latest version and had a go with it.

No, it doesn't solve the problem. The problem persists.

suteme
Hello, yuchen, sorry to hear that there is still problems with GXSMS. Mikko is on a business trip now, he'll be back on Thursday. As he is the expert on GXSMS, he'll sort this out as soon as possible, when back from China. I'll remind him to publish all information here, in this thread, as soon as he's had the time to take a look. Regards, and sorry for the inconvenience, MerjaS
yuchen

Any update?

Kurumi
Kurumi's picture

Hi,

We have found something that might help for this problem.
We are releasing new versions on Friday after our stress tests end.

Happy coding.

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

yuchen

I downloaded the latest version.

I am afraid the problem persists.

Kurumi
Kurumi's picture

Hi,

Do you have still problems with the newest versions?
I just got email from our client. He says that this version
fixed his problem. There was something strange with Bluetooth connection with some modems.

Best Regards,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

balavelocity

After installing the latest version (5.1.0.37). I having the same error at my end. COM1 port is available. I am using ADSL2 + Router to connect the internet. At the end it says GXSMS::Open Failed. Open Failed. Modem did not responsed. Modem not answered.

here the code
try
{
GXSMS mysms = new GXSMS();
GXSMSMessage mymsg = new GXSMSMessage();
mymsg.Data ="Sample tEst";
mysms.ReceiverNumber = "+919842648152";
mysms.Port = "COM1";
mysms.Open();
mysms.Send(mymsg);
}
catch (Exception e)
{
Console.Write(e.Message);
}
Console.Read();

How to solve the issue.

Regards,
Bala.

Gurux Ltd

Our developers are working on the Open Failed problems of GXSMS. As soon as we have found reasons and the way to fix this, we'll post the information here.

Please, be patient.

Kindest regards,
Gurux Ltd

balavelocity

Step 1: Modem and Port settings are completed
Step 2: While sending the sms, it says Network error or send sms error.

for certain times, the Serial port failed error is displayed.
By using the GURUXSMS (VB 6.0) application, I am able to open the Port
after opening the port the send sms method fails. says Network error

Please let me know how to solve the issue.

Regards,
Balavelocity

Kurumi
Kurumi's picture

Hi,

Can you call using your modem? Usually this error is received if SIM card is not function.

BTW: In your previous message you say that: "I am using ADSL2 + Router to connect the internet."

This component can't be used with cabel modems. You can send SMS only if your modem (or mobile phone) is capable to send SMS. There is not any Gurux Gateway that you can use to send SMS as free. You must have modem or mobile phone that you can use send SMS. Usually you need SIM card for this.

Hope this helps.

Best Regards,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

balavelocity

I have a client machine which consist of mobile modem(GSM).

Step 1: Modem and Port settings are completed

I have tried different settings. When trying to send a sms from SMS now tab. It accepts every thing but the receiver does not get any sms. And the application does not show any error message.

for certain times, the Serial port failed error is displayed.
By using the GURUXSMS (VB 6.0) application, I am able to open the Port
after opening the port the send sms method fails. says Network error

Please let me know how to solve the issue.

Regards,
Balavelocity

Kurumi
Kurumi's picture

Hi,

What modem you are using(manufacturer and model)?

Move your SIM card to mobile phone.
Try to send SMS. Did you succeed?

If SMS send failed, there is something wrong in your SIM card.

If you manage to send SMS, in what country you try to send SMS?
I can ask from our community, if there are other peoples who have same problems.

Happy Coding,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

yuchen

I started this thread on 13 September. My problem is yet to be resolved. It has been three months. I would appreciate my problem to be looked at please.

Kurumi
Kurumi's picture

Hi,

Sorry, I thought that your problem was already solved, because I asked it from you in earlier in this thread and you did not answered.

Do you have the newest version from GXSMS (5.1.0.37)?

I did try to duplicate your error with my Windows7 and Bluetooth modem, but it succeeded.

Best Regards,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

yuchen

Mikko,

No, it was never resolved.

19 October: I re-iterated the problem.
14 November: I re-iterated it again.

Anyway, that's for the personal email. I will do a run later today and report back to you.

Best wishes

Kurumi
Kurumi's picture

Hi,

We have fixed this and released new version.
Samsung driver did not support one functionality and returned error.

New version (5.1.0.42) is released in SourgeForge.net.

Happy Coding,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

yuchen

Yes, the problem with my Samsung device has now been resolved. Many thanks to Mikko's help.