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. Having Problem In Connecting Multiple GPRS(TCP/IP) Meters.

Having problem in connecting multiple GPRS(TCP/IP) meters.

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.

Profile picture for user Nitin Sethi
By Nitin Sethi , 17 March, 2017
Forums
Gurux.Net

Hi,

We are using TCP/IP protocol. And for single meter having dynamic ips with previous version of Gurux net api, I am able to read data asynchronously. But now for multiple meters i am able to capture multiple socket connections but not able to read data. So please tell me about that.

issue followed by this link: http://www.gurux.fi/node/5900

Thanks,

Regards,
Nitin Sethi

Profile picture for user Kurumi

Kurumi

9 years 3 months ago

Having problem in connecting multiple GPRS(TCP/IP) meters.

Hi,

I have few questions.
1. What version you are using now (Gurux.Net.dll)?
2. What was your previous version?
3. Can you read single meter with new version?

BR,

Mikko

Profile picture for user Nitin Sethi

Nitin Sethi

9 years 3 months ago

Hi,

Hi,

Please find the answers as per your questions:
1.) We don't know the exact version because we are using the development kit of gurux.net for java. But in those apis ListenerThread class was not available and because of this we were not getting List<Socket> connection But now we are getting multiple clients socket connections.
2.) And with new version we are not able to read even single meter but with earlier apis we are able to read.

Thanks,

Profile picture for user Nitin Sethi

Nitin Sethi

9 years 2 months ago

Hi Kurumi,

Hi Kurumi,

I have been waiting for you answers for previous posted question. Please let me know about it.

Thanks,

Profile picture for user Kurumi

Kurumi

9 years 2 months ago

Having problem in connecting multiple GPRS(TCP/IP) meters

Hi,

You can see version if you select pom.xml. You can get version from version tag.

BR,

Mikko

GABZZsoft

7 years 3 months ago

In reply to Having problem in connecting multiple GPRS(TCP/IP) meters by Kurumi

multiple meter reading with dynamic IP address

Could you kindly walk me through on how to read multiple GPRS meter with Dynamic IP addresses

Profile picture for user Kurumi

Kurumi

7 years 2 months ago

multiple meter reading with dynamic IP address

Hi,

If you have a new question, please, create a new topic. You should read this to get started.

https://www.gurux.fi/Gurux.DLMS.DynamicIP

BR,
Mikko

GABZZsoft

7 years 2 months ago

Trying to read a meter with Dynamic IP Using GXNET

The meter has been able to connect to the server, and i can read the meter from the OnClientConnect method but unable to read the meter from another method after connection has been established. Kindly help me on how to go about this?

Profile picture for user Kurumi

Kurumi

7 years 2 months ago

Hi,

Hi,

You need to read all data before you release the connection. Is connection established correctly?

BR,

Mikko

GABZZsoft

7 years 2 months ago

In reply to Hi, by Kurumi

Connection has been

Connection has been established and am able to read all data usin the OnClientConnect listenner. My question is, what if i want to read multiple meters upon the occurrence of an event, say read clock upon a button click? how do i go about it?

Profile picture for user Kurumi

Kurumi

7 years 2 months ago

Hi,

Hi,

Are the meters behind the DC or is each meter making own connection?

BR,
Mikko

GABZZsoft

7 years 2 months ago

In reply to Hi, by Kurumi

Each meter is making it's own

Each meter is making it's own connection. Not making using of a DC

Profile picture for user Kurumi

Kurumi

7 years 2 months ago

Hi,

Hi,

When meter makes connection OnClientConnect method is called for each meter. So you start own client instance for each meter and read needed information. After you have read data, you release the connection.

BR,

Mikko

GABZZsoft

7 years 2 months ago

In reply to Hi, by Kurumi

I want to keep the connection

I want to keep the connection and be able to read either of the meters, using the ip address and port of the connected meter to read it upon clicking a button. I would keep the socket connection active

Profile picture for user Kurumi

Kurumi

7 years 2 months ago

Hi,

Hi,

If you want to keep the connection up, you need to send keep-alive or meter will close the connection after inactivity timeout. In that case, don't call release or disconnect.

BR,

Mikko

GABZZsoft

7 years 1 month ago

In reply to Hi, by Kurumi

Thanks you for you support.

Thanks you for you support. You don't seem to get my question.

GABZZsoft

7 years 1 month ago

In reply to Hi, by Kurumi

say i want to control the

say i want to control the relay of a connected meter, how do i do it upon making an event occur...

Profile picture for user Kurumi

Kurumi

7 years 1 month ago

Hi GABZZsoft,

Hi GABZZsoft,

Please, create new topic. Now I have mixed your and Nitin 's questions.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • 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
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

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