sunspec 0.9.0

SunSpec 1.1 compliant library with tokio support
Documentation
{
    "group": {
        "desc": "Security model for PKI",
        "groups": [
            {
                "count": 0,
                "name": "repeating",
                "points": [
                    {
                        "desc": "X.509 Certificate of the device",
                        "label": "Cert",
                        "mandatory": "M",
                        "name": "Cert",
                        "size": 1,
                        "type": "uint16"
                    }
                ],
                "type": "group"
            }
        ],
        "label": "Get Device Security Certificate",
        "name": "model_8",
        "points": [
            {
                "desc": "Model identifier",
                "label": "Model ID",
                "mandatory": "M",
                "name": "ID",
                "size": 1,
                "static": "S",
                "type": "uint16",
                "value": 8
            },
            {
                "desc": "Model length",
                "label": "Model Length",
                "mandatory": "M",
                "name": "L",
                "size": 1,
                "static": "S",
                "type": "uint16"
            },
            {
                "desc": "X.509 format of the certificate. DER or PEM.",
                "label": "Format",
                "mandatory": "M",
                "name": "Fmt",
                "size": 1,
                "symbols": [
                    {
                        "name": "NONE",
                        "value": 0
                    },
                    {
                        "name": "X509_PEM",
                        "value": 1
                    },
                    {
                        "name": "X509_DER",
                        "value": 2
                    }
                ],
                "type": "enum16"
            },
            {
                "desc": "Number of registers to follow for the certificate",
                "label": "N",
                "mandatory": "M",
                "name": "N",
                "size": 1,
                "type": "uint16"
            }
        ],
        "type": "group"
    },
    "id": 8
}