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. Received An Error Code Invalid Parameter In Profile Generic Read - ANSCI C

Received an error code Invalid parameter in Profile generic read - ANSCI C

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 Mohanraj , 18 June, 2020
Forums
General discussion

Hi Mikko,

We used latest ANSI C library. Tried to read Name plate profile generic in Wrapper mode and we are receiving invalid parameter error code(DLMS_ERROR_CODE_INVALID_PARAMETER) 258.

Below is the log of data received from meter

00 01 00 01 00 20 00 6D C4 01 81 00 01 01 02 08 0A 0A 30 30 39 31 30 30 30 30 32 31 0A 0D 56 54 4B 30 30 39 31 30 30 30 30 32 31 0A 20 4C 49 4E 4B 57 45 4C 4C 20 54 45 4C 45 53 59 53 54 45 4D 53 20 50 56 54 2E 4C 54 44 2E 48 59 44 0A 14 53 4D 31 32 2D 53 56 30 33 2E 30 30 2D 41 56 30 33 2E 30 30 11 06 0A 02 44 31 0A 07 31 30 2D 36 30 20 41 12 07 E4

http://www.gurux.fi/GuruxDLMSTranslator is showing the data correctly. could you please correct what is going wrong?

Thanks
Mohan Raj

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi Mohan,

Hi Mohan,

Did you read capture objects (Index #2) first?

BR,
Mikko

Mohanraj

5 years 11 months ago

In reply to Hi Mohan, by Kurumi

Hi Mikko,

Hi Mikko,

Yes we are reading.
We are are douting on this function while parsing it for data type STRING
int dlms_getData(gxByteBuffer* data, gxDataInfo* info, dlmsVARIANT* value)
Please correct us what is wrong in the data.

Thanks
Mohan Raj

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi Mohan,

Hi Mohan,

You are right. A string in the array breaks this. I created an issue from this and this is fixed.
https://www.gurux.fi/node/16144

New version is released today.

BR,
Mikko

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi Mohan,

Hi Mohan,

New version is released where this is fixed.

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