I have tried to read data from meter by DLMS protocol but only '/?!\r\n'
works another not,
I try to read data such as (1-1.32.7.0 [voltage]) but cannot use it as ASCII,
then I log data from RS485 by paralleled RS485 to USB.
So The code that I have shown below works, but I can't decode anyway.
def readr():
rcx2 = ser.readline()
print(rcx2)
def writex(data):
ser.write(data.encode('raw_unicode_escape'))
readr()
writex('\xa0\x07\x03!\x93\x0f\x01')writex('\xa0+\x03!\x10\xfb\xaf\xe6\xe6\x00`\x1d\xa1\t\x06\x07`\x85t\x05\x08\x01\x01\xbe\x10\x04\x0e\x01\x00\x00\x00\x06_\x1f\x04\x00\x00~\x1f\x04\xb0\xca\xea')
writex('\xa0\x19\x03!2o\xd8\xe6\xe6\x00\xc0\x01\xc1\x00\x01\x01\x00\x00\x00\x00\xff\x02\x00\xc3\xad')
writex('\xa0\x19\x03!T_\xde\xe6\xe6\x00\xc0\x01\xc1\x00\x03\x01\x01 \x07\x00\xff\x02\x00P\x1c')
writex('\xa0\x07\x03!q\x13\xc5')
writex('\xa0\x07\x03!S\x03\xc7')