Is there api for client to list out the servers in network. It means is there any client api available in c base code, where we can query in the network then DLMS meter servers will response to the query. Please let me know if anything is available like that which we can use. We need an api to list out the how many meters in the network which act as servers. Please response to this.
One more thing the current server simulator is only responding for clock update, what are and all this server meter simulator can support then I can request with different object ID?
It's not possible if you are using TCP/IP connection because it's Point to Point-based protocol. For UDP or RS-485 you can try to send a broadcast message. However, not all meters support it.
You can try setting server address to broadcast address.
Thanks Mikko,
Your server code like a simulator in github, will it support the UDP and RS485.? Will it response to broadcast query? If not please point some of your demo code which supports this.
The example is supporting only TCP/IP and RS485. You can change TCP/IP to UDP. I'll add UDP support to the worklist. Current example answer for all meter addresses. IsTarget returns always true.
Hi,
Hi,
It's not possible if you are using TCP/IP connection because it's Point to Point-based protocol. For UDP or RS-485 you can try to send a broadcast message. However, not all meters support it.
You can try setting server address to broadcast address.
You can read more from here:
http://www.gurux.fi/dlmsAddress
BR,
Mikko
Thanks Mikko,
Thanks Mikko,
Your server code like a simulator in github, will it support the UDP and RS485.? Will it response to broadcast query? If not please point some of your demo code which supports this.
Thanks,
Gopi Krishna
Hi,
Hi,
The example is supporting only TCP/IP and RS485. You can change TCP/IP to UDP. I'll add UDP support to the worklist. Current example answer for all meter addresses. IsTarget returns always true.
BR,
Mikko