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. Problem Writing Day_profile_table With Multiple Blocks

Problem writing day_profile_table with multiple blocks

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 AndreasAtPowel , 13 April, 2018
Forums
Gurux.DLMS

Hi

We are trying to set the day_profile_table with quite a lot data, which causes the data to be sent in two packets. After sending the two packets with day_profile_table data, we try to set the week_profile_table, but then we get an error back from the meter. Can you please help us and see if we are doing something wrong? This is the first time that we send something in more than one packet, so I guess that we might do something wrong there...

//first packet day_profile_table
char peer0_9[] = { /* Packet 6740 */
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0xc8,
0xc1, 0x02, 0xc1, 0x00, 0x14, 0x00, 0x00, 0x0d,
0x00, 0x00, 0xff, 0x09, 0x00, 0x00, 0x00, 0x00,
0x00, 0x01, 0x81, 0xb4, 0x01, 0x03, 0x02, 0x02,
0x11, 0x00, 0x01, 0x04, 0x02, 0x03, 0x09, 0x04,
0x17, 0x3b, 0x2f, 0x00, 0x09, 0x06, 0x00, 0x00,
0x0a, 0x00, 0x64, 0xff, 0x12, 0x00, 0x03, 0x02,
0x03, 0x09, 0x04, 0x03, 0x3b, 0x2f, 0x00, 0x09,
0x06, 0x00, 0x00, 0x0a, 0x00, 0x64, 0xff, 0x12,
0x00, 0x04, 0x02, 0x03, 0x09, 0x04, 0x09, 0x3b,
0x2f, 0x00, 0x09, 0x06, 0x00, 0x00, 0x0a, 0x00,
0x64, 0xff, 0x12, 0x00, 0x03, 0x02, 0x03, 0x09,
0x04, 0x0f, 0x3b, 0x2f, 0x00, 0x09, 0x06, 0x00,
0x00, 0x0a, 0x00, 0x64, 0xff, 0x12, 0x00, 0x04,
0x02, 0x02, 0x11, 0x01, 0x01, 0x04, 0x02, 0x03,
0x09, 0x04, 0x17, 0x3b, 0x2f, 0x00, 0x09, 0x06,
0x00, 0x00, 0x0a, 0x00, 0x64, 0xff, 0x12, 0x00,
0x03, 0x02, 0x03, 0x09, 0x04, 0x03, 0x3b, 0x2f,
0x00, 0x09, 0x06, 0x00, 0x00, 0x0a, 0x00, 0x64,
0xff, 0x12, 0x00, 0x04, 0x02, 0x03, 0x09, 0x04,
0x09, 0x3b, 0x2f, 0x00, 0x09, 0x06, 0x00, 0x00,
0x0a, 0x00, 0x64, 0xff, 0x12, 0x00, 0x03, 0x02,
0x03, 0x09, 0x04, 0x0f, 0x3b, 0x2f, 0x00, 0x09,
0x06, 0x00, 0x00, 0x0a, 0x00, 0x64, 0xff, 0x12,
0x00, 0x04, 0x02, 0x02, 0x11, 0x03, 0x01, 0x04,
0x02, 0x03, 0x09, 0x04, 0x17, 0x3b, 0x2f, 0x00 };

char peer1_9[] = { /* Packet 6792 */
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x07,
0xc5, 0x02, 0xc1, 0x00, 0x00, 0x00, 0x01 };

//second packet day_profile_table
char peer0_10[] = { /* Packet 6795 */
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x4d,
0xc1, 0x03, 0xc1, 0x01, 0x00, 0x00, 0x00, 0x02,
0x44, 0x09, 0x06, 0x00, 0x00, 0x0a, 0x00, 0x64,
0xff, 0x12, 0x00, 0x03, 0x02, 0x03, 0x09, 0x04,
0x03, 0x3b, 0x2f, 0x00, 0x09, 0x06, 0x00, 0x00,
0x0a, 0x00, 0x64, 0xff, 0x12, 0x00, 0x04, 0x02,
0x03, 0x09, 0x04, 0x09, 0x3b, 0x2f, 0x00, 0x09,
0x06, 0x00, 0x00, 0x0a, 0x00, 0x64, 0xff, 0x12,
0x00, 0x03, 0x02, 0x03, 0x09, 0x04, 0x0f, 0x3b,
0x2f, 0x00, 0x09, 0x06, 0x00, 0x00, 0x0a, 0x00,
0x64, 0xff, 0x12, 0x00, 0x04 };

char peer1_10[] = { /* Packet 6811 */
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x08,
0xc5, 0x03, 0xc1, 0xfa, 0x00, 0x00, 0x00, 0x02 };

//week_profile_table
char peer0_11[] = { /* Packet 6817 */
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x26,
0xc1, 0x01, 0xc1, 0x00, 0x14, 0x00, 0x00, 0x0d,
0x00, 0x00, 0xff, 0x08, 0x00, 0x01, 0x01, 0x02,
0x08, 0x09, 0x05, 0x77, 0x65, 0x65, 0x6b, 0x30,
0x11, 0x01, 0x11, 0x03, 0x11, 0x01, 0x11, 0x03,
0x11, 0x01, 0x11, 0x03, 0x11, 0x00 };

char peer1_11[] = { /* Packet 6869 */
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x04,
0xc5, 0x01, 0xc1, 0xfa };

Regards
Helena

AndreasAtPowel

8 years 3 months ago

It looks like it´s working

It looks like it´s working today, so maybe it was just something temporary last week...

Regards
Helena

Profile picture for user Kurumi

Kurumi

8 years 3 months ago

Helena

Hi Helena,

Thanks for this info. I check the bytes and they look correct. Let me know if this happens again.

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
More

Who's new

  • rcprociG
  • helloworld
  • Kak_nvKr
  • Geraldtup
  • Kak_jhKr
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin