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. Arduino Server Problem GXTRACE

Arduino Server Problem GXTRACE

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 JorgeM , 20 May, 2021
Forums
Known problems

Hi,
I'm trying to compile the arduino server (with arduino ide 1.8.13) with the last version (https://github.com/Gurux/GuruxDLMS.c), first I solve the problem with the inet.h, but then de IDE shows me the follow compilations errors:

"In file included from sketch/include/gxobjects.h:54:0,
from sketch/include/objectarray.h:41,
from sketch/include/dlmssettings.h:42,
from sketch/include/serverevents.h:38,
from sketch/GXDLMSServer.h:38,
from /home/jorge/Documentos/GuruxDLMS/Arduino_IDE/server/server.ino:35:
sketch/include/gxarray.h:103:9: note: declared here
int arr_getByIndex(
^~~~~~~~~~~~~~
/home/jorge/Documentos/GuruxDLMS/Arduino_IDE/server/server.ino: In function 'DLMS_SOURCE_DIAGNOSTIC svr_validateAuthentication(dlmsServerSettings*, DLMS_AUTHENTICATION, gxByteBuffer*)':
/home/jorge/Documentos/GuruxDLMS/Arduino_IDE/server/server.ino:1931:58: warning: invalid conversion from 'unsigned char*' to 'const char*' [-fpermissive]
GXTRACE(PSTR("Valid low level password."), password->data);
~~~~~~~~~~^~~~
/home/jorge/Documentos/GuruxDLMS/Arduino_IDE/server/server.ino:274:6: note: initializing argument 2 of 'void GXTRACE(const char*, const char*)'
void GXTRACE(const char* str, const char* data)
^~~~~~~
exit status 1
'gxUser' does not name a type; did you mean 'gxKey'?"

Can you help me?

Thanks a lot!!!

Profile picture for user Kurumi

Kurumi

5 years ago

Hi,

Hi,

You need to open gxignore.h file and uncomment #define DLMS_IGNORE_MALLOC

This example is not using mallow and because of the lack of compiler arguments there Is no way to define this in Arduino IDE.

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