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 9 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 9 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

  • Tue, 04/07/2026 - 17:17
    Gurux.DLMS.Python 1.0.197
  • Tue, 04/07/2026 - 15:03
    gurux.dlms.c 9.0.2604.0701
  • Tue, 04/07/2026 - 14:50
    gurux.dlms.java 4.0.91
  • Tue, 04/07/2026 - 14:00
    Gurux.DLMS.Net 9.0.2604.0701
  • Mon, 03/30/2026 - 15:39
    gurux.dlms.c 9.0.2603.3001

New forum topics

  • Issue when reading Itron Type620 meter
  • Handling Unexpected Disconnects
  • DLMS Communication Issue – No Response (L&T Meter via USB Probe)
  • Unable to cast object of type Gurux.DLMS.GXStructure to type Gurux.DLMS.GXArray
  • How to properly invoke KeyAgreement
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin