u9n / hanporten

An information page about the local customer interface in Swedish electricity meters. Also called the HAN port or P1 port
Creative Commons Attribution Share Alike 4.0 International
34 stars 13 forks source link

Data to be used when calculating CRC #13

Closed larsgarden1 closed 3 years ago

larsgarden1 commented 3 years ago

Hi,

I have the swedish net owner Ellevio, and a Segemcom S211 meter. When calculating the message checksum, the characters '/' and '!' needs to be added in the calculation.

Under "Svenska porten (RJ12)" -> Protokollet, paragraph "Meddelandestruktur" it says:

"Datan som skall användas i beräkningen är de byte som är mellan / och !."

This is wrong. '/' and '!' must be added in the CRC calculation.

Best regards /M

Krolken commented 3 years ago

You are correct! Good catch.