Hi sir
I am building a modem for DLms meters and I have successfully launched the client with a microcontroller stm32 and read data meters successful and now I want to process it with the wrapper tcp that takes the request from the MDM's and reading it from the meters with client. How should I do that ?
You need to implement both client and server for the stm32. The server is using WRAPPER and client HDLC. When svr_preRead of the server is invoked you will get the OBIS code and read that from the meter.
Then you set handled to true and return read value.
Thank you, what I do not have here is the lack of data sent from the
mdm and I do not know how to give and receive that data or what the data sent from the mdm is like. I have read section 10.7 of the Green Book. My country mdm use this method gateway portocol . Can you tell me how to build a simulator mdm that can test my modem?
The simulator doesn't support gateway protocol at the moment without modifications. What framing you are using to send gateway protocol data? I can check if it can be added to the simulator.
So you are using WRAPPER. We can add support to the gateway protocol for the simulator, but it will take time because there are other topics on the worklist at the moment.
Hi,
Hi,
You need to implement both client and server for the stm32. The server is using WRAPPER and client HDLC. When svr_preRead of the server is invoked you will get the OBIS code and read that from the meter.
Then you set handled to true and return read value.
You can check this example to get started:
https://github.com/Gurux/GuruxDLMS.c/tree/master/GuruxDLMSDataCollector…
BR,
Mikko
Thank you, what I do not have
Thank you, what I do not have here is the lack of data sent from the
mdm and I do not know how to give and receive that data or what the data sent from the mdm is like. I have read section 10.7 of the Green Book. My country mdm use this method gateway portocol . Can you tell me how to build a simulator mdm that can test my modem?
Hi,
Hi,
The simulator doesn't support gateway protocol at the moment without modifications. What framing you are using to send gateway protocol data? I can check if it can be added to the simulator.
BR,
Mikko
0001000100010025E60002105CC81
0001000100010025E60002105CC81E300000038A5CC472560AE01B9C40F9491BAAD2377790ABFB1D3E2C5D0670
hi sir
Sample code that you wanted
Hi,
Hi,
So you are using WRAPPER. We can add support to the gateway protocol for the simulator, but it will take time because there are other topics on the worklist at the moment.
BR,
Mikko