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

10 months 1 week ago

Hi, You must import the…

Hi,

You must import the InterfaceType like this:

from gurux_dlms.enums import InterfaceType

BR,
Mikko

satishjyoti1998

10 months 1 week ago

Hi Mikko, Thanks a lot for…

Hi Mikko,

Thanks a lot for your suggestion. Issue got resolved.

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 05/15/2025 - 16:26
    gurux.dlms.c 9.0.2505.1501
  • Wed, 05/14/2025 - 08:30
    gurux.dlms.c 9.0.2505.1401
  • Tue, 05/13/2025 - 10:00
    Gurux.DLMS.Android 2.0.15
  • Fri, 05/09/2025 - 13:03
    Gurux.DLMS.Python 1.0.181
  • Wed, 05/07/2025 - 16:09
    Gurux.DLMS.Android 2.0.14

New forum topics

  • Long reading ends with "Invalid frame ..." error.
  • Push listener example how it works + tcp stream issue
  • Problem with reading energymeter Star DTS27 via GXDLMSDirector
  • Receiver Ready Test Failed
  • Combining several meters' profile generic data into one
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin