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. Stm32 Dlms/cosem Gurux

stm32 dlms/cosem gurux

By Apap1212 , 14 August, 2023
Forums
General discussion

Hello guys
can someone please help me for implanting dlms/cosem on stm32 I downloaded and add development folder from github to my project but after compiling the files i get errors like " cant find arpa/inet.h and ... and after commenting the parts that was mentioned it is for windows or Linux include I got 500 new errors and pls can someone tell me how to implant it to stm32 ?? which lines or header files I should delete for this application ?? I'm using stm32f103for testing and I'm using IAR as compiler

Profile picture for user Kurumi

Kurumi

2 years 11 months ago

Hi, Are you implementing the…

Hi,

Are you implementing the client or meter?

I believe that the best way to go is if you use the Arduino example as a base for your project. The only thing that you need to change is UART part.

https://github.com/Gurux/GuruxDLMS.c/tree/master/Arduino_IDE

BR,
Mikko

girija

2 years 6 months ago

Hi, I would like to know…

Hi,

I would like to know whether this code is compatible with STM32L476 or not.
Also, will this code work successfully in STM32CubeIDE ?

Profile picture for user Kurumi

Kurumi

2 years 6 months ago

Hi girija, Please, create a…

Hi girija,

Please, create a new topic if you have a new question.

Our clients are using this with STM32CubeIDE and STM32 MCU.
You need only make changes for UART handling.

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

  • 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
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin