I am trying to Integrate BLE with DLMS , I have established a connection through BLE from my device , Now I want to enable DLMS through this BLE connection .Please assist me on the same as I am not able to get any help on this
You can use the serial media component as a base for the Bluetooth media component.
You need just modify data sending for your needs and handle received data in onReceive -method.
Hi,
Hi,
You need to add Bluetooth Media that handles bytes over Bluetooth and you can use Gurux DLMS libraries to generate and parse the bytes.
Are you planning to use HDLC or WRAPPER framing?
BR,
Mikko
Thanks For your response , I
Thanks For your response , I am using HDLC here .Please provide any source code for Media component if you have the same .
I am able to send data
I am able to send data through my own media class .not sure where I will receive my data.
Hi Arka,
Hi Arka,
You can use the serial media component as a base for the Bluetooth media component.
You need just modify data sending for your needs and handle received data in onReceive -method.
https://github.com/Gurux/gurux.serial.android/blob/4b32c5836e11bf009deb…
BR,
Mikko