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. Getting Scope Of Access Violated Exception In LS Data Reading

Getting Scope Of Access Violated exception in LS data reading

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 Bhaumik , 30 October, 2020
Forums
General discussion

Hi Mikko,

While I am reading all entries of the block load profile getting following response from the meter and it stops reading.

The following are the parsed data from the DLMS Translator. Can you please check to provide an update?

1: 00 01 00 01 00 20 00 17 2E 15 30 00 00 48 08 7A CE E4 5D F1 AB E5 2A A9 88 53 5E 15 B9 4A AA
<WRAPPER len="1F" >
<TargetAddress Value="1" />
<SourceAddress Value="20" />
<PDU>
<!-- Invocation Counter: 18440 -->
<!-- Decrypt data: 0E 05 05 01
<ConfirmedServiceError>
<Service Value="05" />
<ServiceError>
<Access Value="ScopeOfAccessViolated" />
</ServiceError>
</ConfirmedServiceError>
-->
<glo_GloConfirmedServiceError Value="30000048087ACEE45DF1ABE52AA988535E15B94AAA" />
</PDU>
</WRAPPER>

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

Hi,

It looks like the meter does not allow for reading all entries. It might be that there is no enough memory available, etc. What was the previous request/response?

BR,
Mikko

Bhaumik

5 years 10 months ago

Hi Mikko,

Hi Mikko,

Following is the previous request/response :

Request :

1: 00 01 00 20 00 01 00 1A C8 18 30 00 00 06 F3 B8 A4 6A 07 5B 3B BD C6 E0 B5 57 BF 4A DA 77 CA 98 6A DD
<WRAPPER len="22" >
<TargetAddress Value="20" />
<SourceAddress Value="1" />
<PDU>
<!-- Invocation Counter: 1779 -->
<!-- Decrypt data: C0 02 C1 00 00 00 2B
<GetRequest>
<GetRequestForNextDataBlock>
# Priority: High, ServiceClass: Confirmed, ID: 1
<InvokeIdAndPriority Value="C1" />
<BlockNumber Value="0000002B" />
</GetRequestForNextDataBlock>
</GetRequest>
-->
<glo_GetRequest Value="30000006F3B8A46A075B3BBDC6E0B557BF4ADA77CA986ADD" />
</PDU>
</WRAPPER>

======================
Response :

1: 00 01 00 01 00 20 00 F5 CC 81 F2 30 00 00 48 07 8E A7 C7 A7 28 29 3A 55 6B B6 27 D7 89 BC 1A C2 93 9B 26 5D 75 F5 96 A1 FA 22 13 04 ED 5E 86 87 AB DA 95 4C A4 6B 07 CD 1F 08 43 93 13 FD D3 19 4D 9E 2C 41 AA 90 E3 55 97 85 6A 79 51 DF BB D7 F4 90 90 3F E1 D6 0B 89 98 19 06 63 A2 23 74 2B 9E 5B 48 08 11 F8 96 CD 20 4F F5 15 55 6E BD B4 28 07 9C 33 36 86 CA A6 DB C6 0C 04 DF 8F 59 48 EB 19 46 7C 74 F7 21 6B B1 7C CF 70 16 6A 7C C9 4D 25 48 02 B3 EF B5 FB 92 6F AC 2E 4A 46 13 B4 B4 20 47 F0 65 23 3A 30 4D F2 D2 10 32 DF 69 70 32 80 50 2E 10 CD EB 7F EA CA E0 1A AA 20 A3 41 DE A3 C2 9D 56 04 E0 C0 39 27 69 C2 B6 A2 77 E0 E4 99 7F D9 27 7A 72 0D 2A 69 BC C0 12 C3 ED D1 08 F1 68 17 2E F8 05 F0 BC 6F 7B E3 31 E1 28 10 62 E3 C1 18 05 41 48 E3 FC 3E 4F 56 D0
<WRAPPER len="FD" >
<TargetAddress Value="1" />
<SourceAddress Value="20" />
<PDU>
<!-- Invocation Counter: 18439 -->
<!-- Decrypt data: C4 02 81 00 00 00 00 2C 00 81 D6 09 0C 07 E4 0A 0D 02 04 2D 00 FF 01 4A 00 12 5E 07 12 00 00 12 00 00 12 00 00 12 00 00 12 00 00 11 02 11 00 02 09 09 0C 07 E4 0A 0D 02 05 00 00 FF 01 4A 00 12 5D E7 12 00 00 12 00 00 12 00 00 12 00 00 12 00 00 11 02 11 00 02 09 09 0C 07 E4 0A 0D 02 05 0F 00 FF 01 4A 00 12 5D D5 12 00 00 12 00 00 12 00 00 12 00 00 12 00 00 11 02 11 00 02 09 09 0C 07 E4 0A 0D 02 05 1E 00 FF 01 4A 00 12 5D BC 12 00 00 12 00 00 12 00 00 12 00 00 12 00 00 11 02 11 00 02 09 09 0C 07 E4 0A 0D 02 05 2D 00 FF 01 4A 00 12 5D A0 12 00 00 12 00 00 12 00 00 12 00 00 12 00 00 11 02 11 00 02 09 09 0C 07 E4 0A 0D 02 06 00 00 FF 01 4A 00 12 5D 5E 12 00 00 12 00 00 12
<GetResponse>
<GetResponsewithDataBlock>
# Priority: High, ServiceClass: UnConfirmed, ID: 1
<InvokeIdAndPriority Value="81" />
<Result>
<LastBlock Value="00" />
<BlockNumber Value="0000002C" />
<Result>
<RawData Value="090C07E40A0D02042D00FF014A00125E07120000120000120000120000120000110211000209090C07E40A0D02050000FF014A00125DE7120000120000120000120000120000110211000209090C07E40A0D02050F00FF014A00125DD5120000120000120000120000120000110211000209090C07E40A0D02051E00FF014A00125DBC120000120000120000120000120000110211000209090C07E40A0D02052D00FF014A00125DA0120000120000120000120000120000110211000209090C07E40A0D02060000FF014A00125D5E12000012000012" />
</Result>
</Result>
</GetResponsewithDataBlock>
</GetResponse>
-->
<glo_GetResponse Value="30000048078EA7C7A728293A556BB627D789BC1AC2939B265D75F596A1FA221304ED5E8687ABDA954CA46B07CD1F08439313FDD3194D9E2C41AA90E35597856A7951DFBBD7F490903FE1D60B8998190663A223742B9E5B480811F896CD204FF515556EBDB428079C333686CAA6DBC60C04DF8F5948EB19467C74F7216BB17CCF70166A7CC94D254802B3EFB5FB926FAC2E4A4613B4B42047F065233A304DF2D21032DF69703280502E10CDEB7FEACAE01AAA20A341DEA3C29D5604E0C0392769C2B6A277E0E4997FD9277A720D2A69BCC012C3EDD108F168172EF805F0BC6F7BE331E1281062E3C118054148E3FC3E4F56D0" />
</PDU>
</WRAPPER>

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

Hi,

Do you ask the next block after receiving this data? You need to call ReceiverReady method to get the next block.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • cyby
  • Metin Onan
  • ssv007
  • 3nzol3dur
  • dw772
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin