Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. How To Add COM Port and Password In DLMS Client Example CPP

How to add COM Port and Password in DLMS Client example CPP

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 ginish22, 11 July, 2022
Forums
Known problems

How to add COM Port and Password in DLMS Client example CPP?
I think the default Port is COM1 . How to change it to COM4 and also insert password ABCD0001 to the client example?

Profile picture for user Kurumi

Kurumi

3 years 6 months ago

Hi,

Hi,

You can use command line parameters for that. Something like:
-S COM4 - P ABCD0001

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 01/20/2026 - 10:38
    gurux.dlms.java 4.0.89
  • Wed, 01/14/2026 - 14:29
    Gurux.DLMS.Python 1.0.196
  • Mon, 12/29/2025 - 10:38
    Gurux.Serial.Android 3.0.5
  • Mon, 12/15/2025 - 08:11
    Gurux.DLMS.Net 4.0.87
  • Fri, 12/12/2025 - 08:38
    Gurux.DLMS.Python 1.0.195

New forum topics

  • Generic Profile- gxGet with selector=2: different behaviour on cpp and cimplementation
  • DLMS Client–Server Communication Over GPRS Fails With Dynamic IP
  • Pre-established connection questions
  • writing Error "Service not allowed"
  • High GMAC meters can’t authenticate – can’t read invocation counter
More

Who's new

  • Balazs S
  • iot
  • vzavala
  • AmberAlertcost…
  • moazzam
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin