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 4 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 4 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, 10/29/2025 - 08:51
    gurux.dlms.c 9.0.2510.2901
  • Thu, 10/16/2025 - 09:59
    gurux.dlms.java 4.0.83
  • Wed, 10/08/2025 - 10:21
    gurux.dlms.c 9.0.2510.0801
  • Fri, 09/26/2025 - 10:02
    gurux.dlms.cpp 9.0.2509.2601
  • Fri, 09/26/2025 - 09:45
    gurux.dlms.c 9.0.2509.2601

New forum topics

  • Guidance on using the source codes
  • How to get/convert user readable format data from readRowsByRange
  • Insufficient memory to continue the execution of the program.
  • The client instance code failed to connect to the electricity meter for authentication
  • Unable to Release Request when closing connection with meter.
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin