EnergyNet Message Decoder
I just posted a new KENETH-based tool for EnergyNet - a message encoder & decoder. This kind of tool can be pretty handy when working with binary protocols like EN. This tool is based on the CBOR.me diagnostic tool, which I used when setting up the serialization code for KENETH. The exact formatting of the tool is a bit idiosyncratic. I wanted to just handle EN messages, as that’s the more interesting part to look at. However, the message type is not encoded in the message itself, it’s part of the EN frame. So it’s not possible to look at the binary for an EN message and decode it. Well, it may be possible, but it’s certainly not easy, nor normal for EN parsing, so I didn’t deal with it here. ...