connect dlms simulator with android emulator

2 posts / 0 new
Last post
Sandeep Shaw
connect dlms simulator with android emulator

I have installed the sample gurux serial android application from the github into my virtual android emulator, Now the app is showing an error "No serial ports available". How can I make serial port available in the android emulator, So that it can communicate with dlms simulator running into my PC.
Also suggest if there is any other way, so that app can receive data from dlms simulator.

Kurumi
Kurumi's picture

Hi,

You need to get DLMS library for Android if you want to read DLMS meters.
https://github.com/Gurux/Gurux.DLMS.Android

I'm not quite sure can you use USB from virtual device, but you can try. I can't help you with that because we are always using real Android device for development.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi