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 2 weeks 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 2 weeks 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

  • Tue, 05/20/2025 - 08:40
    gurux.dlms.c 9.0.2505.2001
  • Mon, 05/19/2025 - 10:19
    gurux.net.java 1.0.30
  • Mon, 05/19/2025 - 10:00
    gurux.dlms.c 9.0.2505.1901
  • 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

New forum topics

  • HDLC Adress resolver configuration
  • Reading all "Data" object type parameter together
  • com_read getting failed for billing profile and instantaneous profile
  • Simulator connection closed
  • Regarding the dlms android project
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin