1. Need to read data from meter using DLMS client library source code
Done and working fine.
2. Need to push data using DLMS server( a data read by DLMS client) to third party server
Done and working fine.
3. Need to get request from third party server to connect/disconnect load of meter.
For that I want to pass third party request to
DLMS Server -> DLMS client -> Meter
and same for response from meter
Meter -> DLMS client -> DLMS server -> Third part server
Is it possible ? if yes then is there any example or guidance ?
Here, I am using below request as an example for send a request from third party server to DLMS Server
We are using security as authenticationencryption and suite 0.
We are tryiing to send same payload request as generated by DLMS Gurux tool, from third party server to DLMS server -> DLMS client -> Meter
Till now achived below things :
Received load disconnect request from third party and parsed(decrypt ) it successfully using below API
svr_handleRequest2
But after decrypt payload, firmware get stucked at some where in API "dlms_getLNPdu"
This is not designed for Security Suite 0. It's using GMAC.
Do you want to decrypt the message in the client before handling it?
It might work if your block cipher keys and frame counters are the same in the client as in the server and meter.
The better alternative is if the client works as a gateway that decrypts the messages before sending them from the server to the meter and vice versa. In that way, GW has its own frame counter and it might be more robust.
Hi,
Hi,
Is the idea to use Security Suite 1 or 2 and general-ciphering?
3rd party signs the message and sends it to the client. The client checks the signing and removes it before sending a message for the meter.
Is this what you are looking for?
BR,
Mikko
We are using security as
We are using security as authenticationencryption and suite 0.
We are tryiing to send same payload request as generated by DLMS Gurux tool, from third party server to DLMS server -> DLMS client -> Meter
Till now achived below things :
Received load disconnect request from third party and parsed(decrypt ) it successfully using below API
svr_handleRequest2
But after decrypt payload, firmware get stucked at some where in API "dlms_getLNPdu"
Hi,
Hi,
This is not designed for Security Suite 0. It's using GMAC.
Do you want to decrypt the message in the client before handling it?
It might work if your block cipher keys and frame counters are the same in the client as in the server and meter.
The better alternative is if the client works as a gateway that decrypts the messages before sending them from the server to the meter and vice versa. In that way, GW has its own frame counter and it might be more robust.
BR,
Mikko