Android App for BLE using DLMS protocol

8 posts / 0 new
Last post
sandeep007
Android App for BLE using DLMS protocol

Hi,
I need to communicate with Energy meter which is integrated with BLE module. Need some basic functionality, In BLE module there are different Services, Characteristics(For Read, Write, Notify). I need to Write the data and read from energy meter using DLMS protocol. Please let me know as soon as possible. I need to develop Android mobile application.
Thanks in Advance.

Kurumi
Kurumi's picture

Hi,

We don't have Bluetooth media at the moment so you need to make it. You can use GXSerial component as a base. You can use our DLMS component to communicate. You only need to send the bytes.

BR,
Mikko

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

sandeep007

Hi,
Can u share the source code link for DLMS component to communicate in Android.

Kurumi
Kurumi's picture

Hi,

You can find it from here:
https://github.com/Gurux/Gurux.DLMS.Android

BR,
Mikko

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

sandeep007

Hi,
Firstly Thank u for sharing the source code(Gurux.DLMS.Android-master).

I am trying to Integrate with BLE Integration in this source code but unable to get it where as GXSerial is not allowing to send and receive commands in BLE module. Where BLE should be integrated i need to know thanks in advance.

Kurumi
Kurumi's picture

Hi,

We are not supporting Bluetooth in Android at the moment.
You need to implement Bluetooth support by yourself.

BR,
Mikko

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

sandeep007

Hi,
I am Integrating BLE module source with GATTBLE write characteristics sending data in bytes but it is not connecting to GXSerial class, I am removing Serial and adding BLE template source but unable to add because library is totally build with Serial i am facing trouble in integrating BLE code in Gurux.DLMS.Android-master. Can u please help me
Thanks in Advancee.

Kurumi
Kurumi's picture

Hi,

The DLMS library is only generating and parsing the bytes. You can send and receive bytes as you want to.
We are planning to add support for Bluetooth at some point, but it's not added to the worklist yet.

BR,
Mikko

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