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. 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 1 month 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 1 month 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

  • 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