Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. GXSMS::Open Failed

GXSMS::Open failed

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By yuchen , 13 September, 2010

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...

Profile picture for user Kurumi

Kurumi

15 years 8 months ago

Hi,After hard work, we

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

yuchen

15 years 8 months ago

Well, I just downloaded the

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

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

suteme

15 years 8 months ago

Problems with GXSMS component

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

15 years 7 months ago

Any update?

Any update?

Profile picture for user Kurumi

Kurumi

15 years 7 months ago

Update available.

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

yuchen

15 years 7 months ago

I downloaded the latest

I downloaded the latest version.

I am afraid the problem persists.

Profile picture for user Kurumi

Kurumi

15 years 6 months ago

Re: Problems with GXSMS component

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

balavelocity

15 years 6 months ago

GXSMS::Open Failed. Modem did not responsed. Modem not answered.

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

15 years 6 months ago

In reply to GXSMS::Open Failed. Modem did not responsed. Modem not answered. by balavelocity

About GXSMS::Open Failed

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

15 years 6 months ago

Able to open Modem port, but unable to send the sms

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

Profile picture for user Kurumi

Kurumi

15 years 6 months ago

Re: Able to open Modem port, but unable to send the sms

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

balavelocity

15 years 6 months ago

Able to open Modem port, but unable to send the sms

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

Profile picture for user Kurumi

Kurumi

15 years 6 months ago

Re: Network error

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

yuchen

15 years 6 months ago

I started this thread on 13

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.

Profile picture for user Kurumi

Kurumi

15 years 6 months ago

Bluetooth problem

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

yuchen

15 years 6 months ago

Mikko, No, it was never

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

Profile picture for user Kurumi

Kurumi

15 years 6 months ago

Bluetooth problem solved.

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

yuchen

15 years 6 months ago

Yes, the problem with my

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

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501
  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin