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. Node
  3. Connection Initialisation Fails [Arduino Example + ACE6000]

Connection Initialisation fails [Arduino example + ACE6000]

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 zerow , 5 January, 2022
Forums
Gurux.DLMS

Hello,

I'm trying to read data from smart meter ace6000 , i've been succeseful in reading its data from GXDirector so fat but when i try to establish connection with the meter using my mcu and the example provided i dont seem to manage to get it working .

the hardware connection is all good i tried reading the meter using the python library using my mcu as a proxy and it works however using the C library i seem to have some problem.

i'll join the logs plus the Gxdirector config i used

thank you for your support i hope of hearing back from you.

P.S: Forgot to include code snippet :

void setup() {
// put your setup code here, to run once:
TraceSerial.begin(9600);
HSerial.begin(9600);

GXTRACE(GET_STR_FROM_EEPROM("Start application"), NULL);
BYTE_BUFFER_INIT(&frameData);
//Set frame capacity.
bb_capacity(&frameData, 128);

Client.init(true, 1, Client.GetServerAddress(1,0x11,0), DLMS_AUTHENTICATION_LOW,"ABCDEFGH", DLMS_INTERFACE_TYPE_HDLC);

counter = millis();
}

void loop() {
int ret;
if (millis() - runTime > 5000)
{
runTime = millis();
GXTRACE(GET_STR_FROM_EEPROM("Start reading"), NULL);
//TODO: Change logical name of the frame counter if it's used.
ret = com_readAllObjects("0.0.43.1.0.255");
com_close();
}
//transparentMode();
}

Image

zerow

4 years 10 months ago

Logs :

Logs :

:Start application :Start readingTransmiting ->
7E A0 8 2 23 3 93 3E 74 7E
DONE
Received ->
7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E DONE
:Received bytes:
37 :Data send failed. Try to resend. 1
Transmiting ->
7E A0 8 2 23 3 93 3E 74 7E
DONE
Received ->
7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E DONE
Received ->
7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E 7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4
0 0 0 1 CE 6A 7E DONE
:Received bytes:
74 :Data send failed. Try to resend. 2
Transmiting ->
7E A0 8 2 23 3 93 3E 74 7E
DONE
Received ->
7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E 7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4
0 0 0 1 CE 6A 7E DONE
Received ->
7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E 7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4
0 0 0 1 CE 6A 7E 7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E DONE
:Received bytes:
111 :Data send failed. Try to resend. 3
Transmiting ->
7E A0 8 2 23 3 93 3E 74 7E
DONE
Received ->
7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E 7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4
0 0 0 1 CE 6A 7E 7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E DONE
Received ->
7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E 7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4
0 0 0 1 CE 6A 7E 7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E 7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E DONE
:Received bytes:
148 :com_initializeConnection failed 252
:Start readingTransmiting ->
7E A0 8 2 23 3 93 3E 74 7E
DONE
Received ->
7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E DONE
:Received bytes:
37 :Data send failed. Try to resend. 1
Transmiting ->
7E A0 8 2 23 3 93 3E 74 7E
DONE
Received ->
7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E DONE
Received ->
7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4 0 0 0 1 CE 6A 7E 7E A0 23 3 0 2 0 23 73 C0 48 81 80 14 5 2 0 80 6 2 0 80 7 4 0 0 0 1 8 4
0 0 0 1 CE 6A 7E DONE

Image
Profile picture for user Kurumi

Kurumi

4 years 10 months ago

Hi,

Hi,

ACE6000 is a special case.

Change this:
Client.GetServerAddress(1,0x11,0)

to:
Client.GetServerAddress(1,0x11,4)

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101

New forum topics

  • Landis E650 meter reading over DLMS
  • class_id = 40, version = 2, pushsetup Unparsed data frame
  • GXObisValueItem entries without MaskSize appear to be interpreted as bit flags
  • CheckedListBox incorrectly selects GXObisValueItem Value=0 for non-zero values
  • UIValueType=TextBox is rendered as CheckedListBox when Values are defined
More

Who's new

  • Sayang
  • q80435762@gmail.com
  • ONCAK
  • Berhasil
  • ratirvivege1979
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin