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. I Got AARQRequest Failed 252

I got AARQRequest failed 252

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 lofna , 24 October, 2019
Forums
Gurux.DLMS

Hi,
I am using Sprint 350 established the connection via serial port and got the below
error.
----------------------------------------------------------

InitializeConnection
AARQRequest failed 279.

cat trace.txt

TX: 18:06:48 7E A0 07 03 21 93 0F 01 7E
RX: 18:06:48 7E A0 20 21 03 73 73 98 81 80 14 05 02 02 00 06 02 02 00 07 04 00 00 00 01 08 04 00 00 00 01 6F EF 7E
TX: 18:06:48 7E A0 44 03 21 10 E6 84 E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 41 42 43 44 30 30 30 31 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF 1D 76 7E
RX: 18:06:48 7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 01 A3 05 A1 03 02 01 0D BE 10 04 0E 08 00 06 5F 1F 04 00 00 00 10 02 00 00 07 0F 53 7E
TX: 18:06:48 7E A0 07 03 21 53 03 C7 7E
RX: 18:06:48 7E A0 20 21 03 73 73 98 81 80 14 05 02 02 00 06 02 02 00 07 04 00 00 00 01 08 04 00 00 00 01 6F EF 7E

----------------------------------------------------------

Without authentication i am getting the meter specific information which i have mentioned below the log.
----------------------------------------------------------
./gurux.dlms.client.bin -S /dev/ttyUSB0 9600
InitializeConnection
GetAssociationView
-------- Reading GXDLMSAssociationLogicalName 0.0.40.0.0.255
Index: 2 Value: [0.0.40.0.0.255, 0.0.40.0.1.255, 1.0.0.0.6.255, 1.0.96.160.0.255, 1.0.0.0.1.255, 0.0.96.1.0.255, 0.0.42.0.0.255, 0.0.1.0.0.255]
Index: 3 Value: 16/1
Index: 4 Value: 0 0 0 5 8 1 1
Index: 5 Value: 16 512 1024 6 0
Index: 6 Value: 0 0 0 5 8 2 0
Index: 8 Value: 2
-------- Reading GXDLMSAssociationLogicalName 0.0.40.0.1.255
Index: 2 Value: [0.0.40.0.0.255, 0.0.40.0.1.255, 1.0.0.0.6.255, 1.0.96.160.0.255, 1.0.0.0.1.255, 0.0.96.1.0.255, 0.0.42.0.0.255, 0.0.1.0.0.255]
Index: 3 Value: 16/1
Index: 4 Value: 0 0 0 5 8 1 1
Index: 5 Value: 16 512 1024 6 0
Index: 6 Value: 0 0 0 5 8 2 0
Index: 8 Value: 2
-------- Reading GXDLMSData 1.0.0.0.6.255
Index: 2 Value: 69.83.76.45.48.48.50
-------- Reading GXDLMSData 1.0.96.160.0.255
Index: 2 Value: {{1.0.1.8.0.255, 134}, {1.0.2.8.0.255, 133}, {1.0.5.8.0.255, 150}, {1.0.6.8.0.255, 152}, {1.0.7.8.0.255, 151}, {1.0.8.8.0.255, 149}, {1.0.9.8.0.255, 161}, {1.0.10.8.0.255, 165}, {1.0.1.128.0.255, 208}, {1.0.16.8.0.255, 240}}
-------- Reading GXDLMSData 1.0.0.0.1.255
Index: 2 Value: 77.50.88.55.71.48.67
-------- Reading GXDLMSData 0.0.96.1.0.255
Index: 2 Value: 73.80.76.68.48.49.55.48
-------- Reading GXDLMSData 0.0.42.0.0.255
Index: 2 Value: 69.72.76.69.51.68.120.120.120
-------- Reading GXDLMSClock 0.0.1.0.0.255
Index: 2 Value: 10/24/2019 18:22:56
----------------------------------------------------------

When i am using authentication mode i am getting
InitializeConnection
AARQRequest failed 252.

What could be the issue, how can i over come this issue. Here i am using usb to serial cable (FTDI).
I am using Indian standard with this command failed: (./gurux.dlms.client.bin -S /dev/ttyUSB0 -c 20 -s 1 -a Low -P ABCD0001)

Thanks
Lofna

Profile picture for user Kurumi

Kurumi

6 years 7 months ago

Hi,

Hi,

You have to change client address. Now it's 0x10 and this is used when authentication is not used. Try to change it to 0x20.

BR,

Mikko

lofna

6 years 7 months ago

Hi Mikko,

Hi Mikko,
Thanks for your suggestions. Now i am getting the meter information that get stored under Log file.
how can i read the specific parameters from this Gurux library calls. Parameters mean voltage, current, frequency, power factor values. because i am new to dlms.
Now i got the total registers data get logged under log file.

How can i retrieve the particular parameters to read and display in readable/understandable decimal format.i am running this under arm linux platform.
regards,
lofna

Profile picture for user Kurumi

Kurumi

6 years 7 months ago

Hi,

Hi,

You need to know the object interface type and OBIS code. When you know this, you can read that value.
Something like:

CGXDLMSClock clock("0.0.1.0.0.255");
read(clock, 2);
clock.GetTime()

BR,
Mikko

shgandhi

4 years ago

hi ,

hi ,

I am communicating meter with optical cable and using gurux c code, but i got this error please help.

sudo ./bin/gurux.dlms.client.bin -S /dev/ttyUSB0 -c 16 -s 1

InitializeConnection
GetAssociationView
-------- Reading Object AssociationLogicalName 0.0.40.0.1.255
ReadObject failed AssociationLogicalName 0.0.40.0.1.255:7 Access Error : Device reports scope of access violated.
Failed to read object AssociationLogicalName 0.0.40.0.1.255 attribute index 7
ReadObject failed AssociationLogicalName 0.0.40.0.1.255:9 Access Error : Device reports a unavailable object.
Failed to read object AssociationLogicalName 0.0.40.0.1.255 attribute index 9
ReadObject failed AssociationLogicalName 0.0.40.0.1.255:10 Access Error : Device reports a unavailable object.
Failed to read object AssociationLogicalName 0.0.40.0.1.255 attribute index 10
ReadObject failed AssociationLogicalName 0.0.40.0.1.255:11 Access Error : Device reports a unavailable object.
Failed to read object AssociationLogicalName 0.0.40.0.1.255 attribute index 11

Access Error : Device reports a unavailable object.

Profile picture for user Kurumi

Kurumi

4 years ago

In reply to hi , by shgandhi

Hi shgandhi,

Hi shgandhi,

You need to create a new topic. I'll answer your question after you have created a new topic.
https://www.gurux.fi/ForumRules

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