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. IN GXDLMSClient We Are Not Able To Set Interface Type Giving Error As InterfaceType Is Not Defined.

IN GXDLMSClient we are not able to set interface type giving error as InterfaceType is not defined.

By satishjyoti1998, 9 July, 2024
Forums
Gurux.DLMS

client = GXDLMSClient()

client.interfaceType = InterfaceType.HDLC

NameError: name InterfaceType is not defined.

Profile picture for user Kurumi

Kurumi

1 year 5 months ago

Hi, You must import the…

Hi,

You must import the InterfaceType like this:

from gurux_dlms.enums import InterfaceType

BR,
Mikko

satishjyoti1998

1 year 5 months ago

Hi Mikko, Thanks a lot for…

Hi Mikko,

Thanks a lot for your suggestion. Issue got resolved.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 12/10/2025 - 08:45
    gurux.dlms.java 4.0.85
  • Tue, 12/02/2025 - 10:21
    gurux.dlms.c 9.0.2512.0201
  • Mon, 12/01/2025 - 13:55
    Gurux.DLMS.Python 1.0.193
  • Thu, 11/13/2025 - 15:23
    Gurux.DLMS.Python 1.0.192
  • Thu, 11/13/2025 - 14:55
    gurux.dlms.java 4.0.84

New forum topics

  • GXTIME Conversion Issue
  • DLMS Meter Gurux DLMS Director Properties
  • Using MAX3232 + FT232RL to Energy meter with GXDLMS Director
  • Incomplete Firmware Upgrade Process
  • SNRM byte mening
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin