Hi Mikko
I want to read dlms frame and Parse its subfields. we want to connect a pc to a meter via 485 port, i study some standards and paper but still i don't know what is for example AARQ tag and how should i set it's value? or in some frames (SNRM & UA) the format & group identifier is one, and in other frames is another one.which subject can i read and understand this issues?
DLMS is very complicated standard. AARQ depends on the used authentication level and several other parameters. I strongly suggest that you use our Open Source library to handle communication.
It saves a lot of time.
You can use normal ANSI C stack with STM. The only thing what is important is that you have enough memory. It also saves heap if you don't read the association view at all. In this case, you need to know what you are reading from the meter.
Hi,
Hi,
DLMS is very complicated standard. AARQ depends on the used authentication level and several other parameters. I strongly suggest that you use our Open Source library to handle communication.
It saves a lot of time.
BR,
Mikko
Hi Mikko
Hi Mikko
do have stm library ?
hi mikko
hi mikko
i want to read data of meter via 485 and process with micro st how shoud i start?
Hi,
Hi,
You can use normal ANSI C stack with STM. The only thing what is important is that you have enough memory. It also saves heap if you don't read the association view at all. In this case, you need to know what you are reading from the meter.
You can clone a client example from here:
https://github.com/Gurux/GuruxDLMS.c
You need to modify the example to read data from a serial port. You can check AtMega2560 example and modify com_readSerialPort for your needs.
BR
Mikko
BR,
Mikko