sunspec 0.9.0

SunSpec 1.1 compliant library with tokio support
Documentation
{
    "group": {
        "desc": "Include to support various irradiance measurements",
        "groups": [
            {
                "count": 0,
                "name": "repeating",
                "points": [
                    {
                        "desc": "Global Horizontal Irradiance",
                        "label": "GHI",
                        "name": "GHI",
                        "size": 1,
                        "type": "uint16",
                        "units": "W/m2"
                    },
                    {
                        "desc": "Plane-of-Array Irradiance",
                        "label": "POAI",
                        "name": "POAI",
                        "size": 1,
                        "type": "uint16",
                        "units": "W/m2"
                    },
                    {
                        "desc": "Diffuse Irradiance",
                        "label": "DFI",
                        "name": "DFI",
                        "size": 1,
                        "type": "uint16",
                        "units": "W/m2"
                    },
                    {
                        "desc": "Direct Normal Irradiance",
                        "label": "DNI",
                        "name": "DNI",
                        "size": 1,
                        "type": "uint16",
                        "units": "W/m2"
                    },
                    {
                        "desc": "Other Irradiance",
                        "label": "OTI",
                        "name": "OTI",
                        "size": 1,
                        "type": "uint16",
                        "units": "W/m2"
                    }
                ],
                "type": "group"
            }
        ],
        "label": "Irradiance Model",
        "name": "irradiance",
        "points": [
            {
                "desc": "Model identifier",
                "label": "Model ID",
                "mandatory": "M",
                "name": "ID",
                "size": 1,
                "static": "S",
                "type": "uint16",
                "value": 302
            },
            {
                "desc": "Model length",
                "label": "Model Length",
                "mandatory": "M",
                "name": "L",
                "size": 1,
                "static": "S",
                "type": "uint16"
            }
        ],
        "type": "group"
    },
    "id": 302
}