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

Server connectivity

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 kamerdack
By kamerdack , 31 October, 2019
Forums
Gurux.Net

Hi
I am new commer in dlms and have a problem in server connction
Smart meter is Actaris electricity type and it connected to server. But it does not reply to server response. It connect via optical usb cable easily
There is any notice here i missed it?
Do you have any same exprience?

Profile picture for user Kurumi

Kurumi

6 years 7 months ago

Hi,

Hi,

You need to use the client app to read your meter. The best way to start is if you download GXDLMSDirector and start with that.

BR,
Mikko

Profile picture for user kamerdack

kamerdack

6 years 7 months ago

Thanks for reply.

Thanks for reply.
I used GuruxDLMSDirector. It can connect by optical calble but when i choose Net as Media and set Server ip and WRAPPER interface, as shown as attached screenshot i have not any reply.
Even i set Use Serial port through... it has not any action
I attached both mode, Serial port log and Server log in attached files.
Where can i find a released build file for server. I code my own simple server like a chat app so it send recieved daya stream for the otherside of client. You imagin we have two client Glxdirector and smart meter via GPRS here
I would be appreciate in case that you guid me.

Data exchanging in GPRS and GDirector
01/11/2019 13:35:48] Read data (COM10)
00 01 00 01 00 66 00 19 0f 00 00 06 92 0c 05 76 .....f......’..v
08 0a 05 0d 24 00 00 00 00 00 02 01 06 00 00 20 ....$..........
00

Data exchanging with Serial port
01/11/2019 13:24:52] Written data (COM4)
7e a0 08 02 23 03 93 3e 74 7e ~ ..#.“>t~
[01/11/2019 13:24:52] Read data (COM4)
7e a0 1f 03 02 23 73 c3 71 81 80 12 05 01 80 06 ~ ...#sÃq€...€.
01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3b .€............S;
7e ~
[01/11/2019 13:24:52] Written data (COM4)
7e a0 45 02 23 03 10 fb 7f e6 e6 00 60 36 a1 09 ~ E.#..ûææ.`6¡.
06 07 60 85 74 05 08 01 01 8a 02 07 80 8b 07 60 ..`…t....Š..€‹.`
85 74 05 08 02 01 ac 0a 80 08 31 32 33 34 35 36 …t....¬.€.123456
37 38 be 10 04 0e 01 00 00 00 06 5f 1f 04 00 00 78¾........_....
1e 1d ff ff df fb 7e ..ÿÿßû~
[01/11/2019 13:24:52] Read data (COM4)
7e a0 38 03 02 23 30 11 51 e6 e7 00 61 29 a1 09 ~ 8..#0.Qæç.a)¡.
06 07 60 85 74 05 08 01 01 a2 03 02 01 00 a3 05 ..`…t....¢....£.
a1 03 02 01 00 be 10 04 0e 08 00 06 5f 1f 04 00 ¡....¾......_...
00 1e 1d 04 c8 00 07 b8 6a 7e ....È..¸j~
[01/11/2019 13:25:18] Written data (COM4)
7e a0 1a 02 23 03 32 75 62 e6 e6 00 c0 01 c1 00 ~ ..#.2ubææ.À.Á.
08 00 00 01 00 00 ff 01 00 08 30 7e ......ÿ...0~
[01/11/2019 13:25:18] Read data (COM4)
7e a0 19 03 02 23 52 d0 7a e6 e7 00 c4 01 c1 00 ~ ...#RÐzæç.Ä.Á.
09 06 00 00 01 00 00 ff 86 18 7e .......ÿ†.~
[01/11/2019 13:25:18] Written data (COM4)
7e a0 1a 02 23 03 54 45 64 e6 e6 00 c0 01 c1 00 ~ ..#.TEdææ.À.Á.
08 00 00 01 00 00 ff 02 00 60 1a 7e ......ÿ..`.~
[01/11/2019 13:25:18] Read data (COM4)
7e a0 1f 03 02 23 74 7c 05 e6 e7 00 c4 01 c1 00 ~ ...#t|.æç.Ä.Á.
09 0c 05 76 08 0a 05 0d 19 1f 00 00 00 00 d1 26 ...v..........Ñ&
7e ~
[01/11/2019 13:25:18] Written data (COM4)
7e a0 1a 02 23 03 76 55 66 e6 e6 00 c0 01 c1 00 ~ ..#.vUfææ.À.Á.
08 00 00 01 00 00 ff 03 00 b8 03 7e ......ÿ..¸.~
[01/11/2019 13:25:19] Read data (COM4)
7e a0 14 03 02 23 96 8c 86 e6 e7 00 c4 01 c1 00 ~ ...#–Œ†æç.Ä.Á.
10 00 00 bb 04 7e ...».~
[01/11/2019 13:25:19] Written data (COM4)
7e a0 1a 02 23 03 98 25 68 e6 e6 00 c0 01 c1 00 ~ ..#.˜%hææ.À.Á.
08 00 00 01 00 00 ff 04 00 b0 4e 7e ......ÿ..°N~
[01/11/2019 13:25:19] Read data (COM4)
7e a0 13 03 02 23 b8 2c 7e e6 e7 00 c4 01 c1 00 ~ ...#¸,~æç.Ä.Á.
11 00 1b 4d 7e ...M~
[01/11/2019 13:25:19] Written data (COM4)
7e a0 1a 02 23 03 ba 35 6a e6 e6 00 c0 01 c1 00 ~ ..#.º5jææ.À.Á.
08 00 00 01 00 00 ff 05 00 68 57 7e ......ÿ..hW~
[01/11/2019 13:25:19] Read data (COM4)
7e a0 1f 03 02 23 da 08 49 e6 e7 00 c4 01 c1 00 ~ ...#Ú.Iæç.Ä.Á.
09 0c ff ff 01 01 ff 02 00 00 00 80 00 ff fa b8 ..ÿÿ..ÿ....€.ÿú¸
7e ~
[01/11/2019 13:25:19] Written data (COM4)
7e a0 1a 02 23 03 dc 05 6c e6 e6 00 c0 01 c1 00 ~ ..#.Ü.lææ.À.Á.
08 00 00 01 00 00 ff 06 00 00 7d 7e ......ÿ...}~
[01/11/2019 13:25:19] Read data (COM4)
7e a0 1f 03 02 23 fc 3c 0d e6 e7 00 c4 01 c1 00 ~ ...#ü<.æç.Ä.Á.
09 0c ff ff 06 1e ff 02 00 00 00 80 00 ff b3 15 ..ÿÿ..ÿ....€.ÿ³.
7e ~
[01/11/2019 13:25:19] Written data (COM4)
7e a0 1a 02 23 03 fe 15 6e e6 e6 00 c0 01 c1 00 ~ ..#.þ.nææ.À.Á.
08 00 00 01 00 00 ff 07 00 d8 64 7e ......ÿ..Ød~
[01/11/2019 13:25:20] Read data (COM4)
7e a0 13 03 02 23 1e 10 be e6 e7 00 c4 01 c1 00 ~ ...#..¾æç.Ä.Á.
0f 3c 75 b9 7e .<u¹~
[01/11/2019 13:25:20] Written data (COM4)
7e a0 1a 02 23 03 10 65 60 e6 e6 00 c0 01 c1 00 ~ ..#..e`ææ.À.Á.
08 00 00 01 00 00 ff 08 00 10 e7 7e ......ÿ...ç~
[01/11/2019 13:25:20] Read data (COM4)
7e a0 13 03 02 23 30 6c 76 e6 e7 00 c4 01 c1 00 ~ ...#0lvæç.Ä.Á.
03 01 b3 fa 7e ..³ú~
[01/11/2019 13:25:20] Written data (COM4)
7e a0 1a 02 23 03 32 75 62 e6 e6 00 c0 01 c1 00 ~ ..#.2ubææ.À.Á.
08 00 00 01 00 00 ff 09 00 c8 fe 7e ......ÿ..Èþ~
[01/11/2019 13:25:20] Read data (COM4)
7e a0 13 03 02 23 52 78 36 e6 e7 00 c4 01 c1 00 ~ ...#Rx6æç.Ä.Á.
16 01 9a 11 7e

Image
Profile picture for user kamerdack

kamerdack

6 years 7 months ago

This is my server code in

Server written in nodejs

Profile picture for user Kurumi

Kurumi

6 years 7 months ago

Hi,

Hi,

WRAPPER is used only with TCP/IP connection and all the meters don't support it.
If you are using Moxa, you still need to use HDLC frames, even data is sent in TCP/IP network.

So change Wrapper to HDLC and make a new try.

BR,
Mikko

Profile picture for user kamerdack

kamerdack

6 years 7 months ago

Thanks

Thanks
The first data from smart meter after connecting to server seems that is in wrapper. It s like this;
Data exchanging in GPRS and GDirector
01/11/2019 13:35:48] Read data (COM10)
00 01 00 01 00 66 00 19 0f 00 00 06 92 0c 05 76 .....f......’..v
08 0a 05 0d 24 00 00 00 00 00 02 01 06 00 00 20 ....$..........
00

Maufture in glx file is Actaris electricity
I could not build server codes in C or C++. There is some error. Do u have any build file for running in ubuntu?

Profile picture for user kamerdack

kamerdack

6 years 7 months ago

I can contribute in your

I can contribute in your project for nodejs codes if success to connect it by gprs

Profile picture for user Kurumi

Kurumi

6 years 7 months ago

Hi,

Hi,

There is makefile for ANSI C and ANSI C++.
Just run make.

BR,
Mikko

Profile picture for user kamerdack

kamerdack

6 years 7 months ago

Thanks Mikko

Thanks Mikko
Solved it.
We are working on new IoT platform.https://github.com/ParaffinIoT
We can contribute together to link these two organizations in github

  • 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