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 Reboot In Wirepas Init Function

Getting reboot in Wirepas init function

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 Parth Jariwala , 17 February, 2021
Forums
Gurux.DLMS

Getting reboot Wirepas init function

I am using DLMS code got from below links.
link 1) https://github.com/Gurux/GuruxDLMS.c/tree/master/GuruxDLMSDataCollector…
link 2 )
https://github.com/Gurux/GuruxDLMS.c/tree/master/development

I am communicating EFR32FG12 microcontroller and meter which is connected via UART.

I have generated library file for development code and also defined below mentioned macro.
GX_DLMS_MICROCONTROLLER (because I am using this for EFR32FG12)
DLMS_IGNORE_MALLOC (MALLOC is not supported for my code).

I have commented wirepas stack API in code which I got from link 1.
I am calling App_init function which is at \wirepas\gurux_dc\app.c from application code.

As I call this function from my application, my application got rebooted.
I have disabled the all implementations of this function, add one print and enabled cl_init() calling.
First log got printed and then my application got rebooted.
I have added logs in cl_init definition too. But it did not print.

Please let me know if I am doing any thing wrong.

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

Check first that you have the right SDK. Can you run the blink example with your HW?

BR,
Mikko

Parth Jariwala

5 years 3 months ago

Hi Mikko,

Hi Mikko,

I do not know that How I can run the blink example and Where I can confirm the SDK?

Thanks,
Parth.

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

OK. So you don't have Wirepas SDK. I believe that you should check Arduino example and modify it for your use.
https://github.com/Gurux/GuruxDLMS.c/tree/master/Arduino_IDE/client

BR,
Mikko

Parth Jariwala

5 years 3 months ago

Hi Mikko,

Hi Mikko,

I have Wirepas SDK and verified too. I have added "hello world" print function in client.c file. Generated the lib file and used lib in my application. Called "hello world" print function from my application but my application stuck and got rebooted.
Will printf work in client.c file ?

Could you please tell what could be the issue ?
Is there configuration issue in make file for lib generation ?

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

Try to run the "blink" example from the Wirepas SDK and check if it's working. If it's not working then you have the wrong SDK and you need to contact the Wirepas

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