I want to discuss how I can read packets send by smart meter over TCP. What are the steps involved.
In your example "Gurux.DLMS.Client.Example.Net" client (i.e. server machine) connects with server (i.e. smart meter) using host IP and port and follow certain steps i.e. open media, send AARQRequest, read DLMS packet, and read data.
However, in my case server (i.e. smart meter) is sending data to client (i.e. server machine) now I want to establish a connection with smart meter and get data. In this case I don't have host IP i.e. smart meter IP. What are the step involved, what functions will be used.
You did not say are you using exists meters or is this your own meter. There are two possible ways to handle this.
1. You listen wanted port. When meter makes connection to that port you start client connection with the server.
2. Your meter is sending data as Push message.
Two way communication with smart meter over TCP
Hi,
You did not say are you using exists meters or is this your own meter. There are two possible ways to handle this.
1. You listen wanted port. When meter makes connection to that port you start client connection with the server.
2. Your meter is sending data as Push message.
BR,
Mikko