Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. NO Serial Port Error

NO Serial Port Error

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By Piyush , 11 December, 2018
Forums
Gurux DLMS for Android

Hi,

I want connect the L&T companies meter with the app but I am getting "No Serial Port Error".

Can you please help me out in this.

Profile picture for user Kurumi

Kurumi

7 years 6 months ago

NO Serial Port Error

Hi,

You don't have a serial port on your PC. Change media type to TCP/IP if you try to connect with TCP/IP connection.

BR,
Mikko

Piyush

7 years 6 months ago

No Serial Port Error

Actually I want to take reading using Android Phone.

So I connect the Probe to mobile

Profile picture for user Kurumi

Kurumi

7 years 6 months ago

NO Serial Port Error

Hi,

Can you share what probe you are using? Do you know the chipset?
You can get chipset if you select "Media settings".

BR,
Mikko

Piyush

7 years 6 months ago

No Serial Port Error

Hi,

On cable "<dc> deepcab 04 CORE ROUND DATA CONTROL FR CABLE" is return but I don't not found the chipset related on the cable....

When I connect the cable to mobile, in Media Setting of App shows the chipset to NONE

Profile picture for user Kurumi

Kurumi

7 years 6 months ago

No Serial Port Error

Hi,

If you select "Media settings" in the app you can see chipset settings.

BR,

Mikko

Piyush

7 years 6 months ago

No Serial Port Error

Hi,

Yes sir I saw that there are total 5 types of chipsets. But how to check that which one is perfect for me??

Profile picture for user Kurumi

Kurumi

7 years 6 months ago

No Serial Port Error

If you select "Media settings" in the app you can see chipset settings.
What is chipset text?

BR,

Mikko

Piyush

7 years 6 months ago

No Serial Port Error

Hi,

By default the chipset text is NONE,
and on click on that following are visible:
1) PROFILIC
2) CP21XX
3) CDC_ACM
4) FTDI
5) CH34X

Profile picture for user Kurumi

Kurumi

7 years 6 months ago

No Serial Port Error

Hi,

OK. Your converter is using some other chipset. If you connect your converter to the Windows PC and select "Device management" and select your serial port from there. Select "Properties" and select "Details" tab. Then select second dropdown item. It's something like:
USB\VID_17A8&PID_0001\0001

Send this info to me and we'll add support for this chipset.
Send also a link if you know where you have order this Probe.

BR,
Mikko

Piyush

7 years 6 months ago

No Serial Port Error

Hi,

PFB info of the Probe:

Device USB\VID_067B&PID_2303\5&15c311e1&0&5 was not migrated due to partial or ambiguous match.

Last Device Instance Id: USB\VID_2D95&PID_6003\16629ba0
Class Guid: {36fc9e60-c465-11cf-8056-444553540000}
Location Path: PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(5)
Migration Rank: 0xF000FFFFFFFF0033
Present: false
Status: 0xC0000719

Profile picture for user Kurumi

Kurumi

7 years 6 months ago

No Serial Port Error

Hi,

Your chipset is Prolific. It should be selected. Are you using source codes or packet?
Have you made any changes? Select Prolific as chipset. Let me know if you have problems.

BR,
Mikko

Piyush

7 years 6 months ago

No Serial Port Error

Hi,

I am using the source code as it is not make any changes in that.

I am just connecting the Probe with mobile by using OTG cable, is their any issue cause due to this?

But now when I am click on "Read" it gives me an error "Select serial port first"

Profile picture for user Kurumi

Kurumi

7 years 6 months ago

No Serial Port Error

Hi,

We are also using OTG cable. I don't believe that it's an issue.
If you have source code, can you check what are vendor and product values?
Put breakpoint to isUsing-method in GXProfilic.java

BR,

Mikko

Piyush

7 years 5 months ago

Select serial port first

Hi,

I am using "Gurux DLMS for Android" and in that GXProfilic.java is not present.

It is present in "Gurux.Serial.Android-master"....

Profile picture for user Kurumi

Kurumi

7 years 5 months ago

No Serial Port Error

Hi,
Yes, GXProfilic.java is in Gurux.Serial.Android. Let me know if you have problems.

BR,
Mikko

Piyush

7 years 5 months ago

No Serial Port Error

Hi,

But I am using the "Gurux DLMS for Android" for reading purpose.....

Profile picture for user Kurumi

Kurumi

7 years 5 months ago

No Serial Port Error

HI,

Yes, In your previous email you said that you have the source codes. Modify Gurux.Serial.Android reference for your local copy.

You can also start Gurux.Serial.Android and check vendor and product IDs in that.

BR,
Mikko

Piyush

7 years 5 months ago

No Serial Port Error

Hi,

I attach the debugger to the method isUsing() but nothing happen.

I also log the value but it is not printing, simply that method is not executing at all.

Then I apply debugger to findPorts() as onClick "Refresh" button this method is executing. But serial.getPorts() method gives nothing. The Post size is zero...

Profile picture for user Kurumi

Kurumi

7 years 5 months ago

No Serial Port Error

Hi,

Sometimes Android phone or tablet can't give enough power for the serial port.
Make sure that your serial port is available on the Android.

BR,
Mikko

Piyush

7 years 5 months ago

No Serial Port Error

Hi,

But how to check that serial port is available on my Android device or not ??

Profile picture for user Kurumi

Kurumi

7 years 5 months ago

No Serial Port Error

Hi,

If this is empty there are no USB devices connected.

UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE);
manager.getAccessoryList();

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin