You don't change anything here. You need to change your communication parameters to access your meter. Parameters depend are you using TCP/IP or serial port connection.
You need to change TCP/IP address and port number. DLMS settings depend on the meter that you want to read. I strongly suggest that you use GXDLMSDirector to read your meter first and get an idea from DLMS meters.
You can use client example. Give IP address and port number as a parameter. Like this.
GuruxDLMSClientExample -h YOUR_SERVER_IP_ADDRESS -p YOUR_SERVER_PORT_NUMBER
Hi shakti,
Hi shakti,
You don't change anything here. You need to change your communication parameters to access your meter. Parameters depend are you using TCP/IP or serial port connection.
BR,
Mikko
Hi Sir,
Hi Sir,
I am using TCP/ IP connection . So What I have change ???
Thanks,
Shakti
Hi Sir,
Hi Sir,
You told me I have to change communication parameter . But which code I have change ( server or client ).
Thanks,
Shakti
Hi,
Hi,
You need to change TCP/IP address and port number. DLMS settings depend on the meter that you want to read. I strongly suggest that you use GXDLMSDirector to read your meter first and get an idea from DLMS meters.
BR,
Mikko
Hi Sir,
Hi Sir,
I don't want to read meter. I want to just communicate between dlms server and client using TCP/IP connection in Linux. So what I have to do ???
Thanks,
Shakti
Hi,
Hi,
You can use client example. Give IP address and port number as a parameter. Like this.
GuruxDLMSClientExample -h YOUR_SERVER_IP_ADDRESS -p YOUR_SERVER_PORT_NUMBER
BR,
Mikko
Hi Sir,
Hi Sir,
Where I have to use this "GuruxDLMSClientExample -h YOUR_SERVER_IP_ADDRESS -p YOUR_SERVER_PORT_NUMBER" ??.
Thanks,
Shakti
Hi Shakti,
Hi Shakti,
Compile GuruxDLMSClientExample to make a DLMS client.
BR,
Mikko
Hi Sir,
Hi Sir,
How I am using that command??. Because for Client already make file given and when i am compile client it generate " gurux.dlms.client.bin" .
Thanks,
Shakti
Hi Sir,
Hi Sir,
Whenever I compile dlms client is showing ( Attached photo ).
Thanks,
Shakti
Hi,
Hi,
Run your app like this:
gurux.dlmsclient.example -h YOUR_SERVER_IP_ADDRESS -p YOUR_SERVER_PORT_NUMBER"
BR,
Mikko
Hi Sir,
Hi Sir,
Which App sir ??? . I didn't Understand .
Thanks,
Shakti
Hi Shakti,
Hi Shakti,
You have compiled the client app in your pic. You use that application to connect to the server/meter app. Then you compile the server and start that.
Now you can connect client to the server using parameters that I showed.
BR,
Mikko
BR,
Mikko
Hi Sir,
Hi Sir,
How to compile dlms server and client in Linux??
Thanks,
shakti
Hi Shakti,
Hi Shakti,
There is a make-file. Make bin, lib and obj folders and run make.
BR,
Mikko
Hi Sir,
Hi Sir,
I compiled server . There run four server . How to connect client and server using TCP / IP.
Attached photos.
Thanks,
Shakti