{
    "protocol": "RTU",
    "endianness": "LittleEndian",
    "blocks": [
        {
            "id": "e3",
            "readSchedule": "update",
            "registers": [
                {
                    "id": "currentChargingCurrentE3",
                    "address": 126,
                    "size": 1,
                    "type": "uint16",
                    "registerType": "holdingRegister",
                    "readSchedule": "update",
                    "description": "Current charging Ampere",
                    "unit": "A",
                    "defaultValue": 6,
                    "access": "R"
                },
                {
                    "id": "maxChargingCurrentE3",
                    "address": 127,
                    "size": 1,
                    "type": "uint16",
                    "registerType": "holdingRegister",
                    "readSchedule": "update",
                    "description": "Maximum charging current",
                    "unit": "A",
                    "defaultValue": 32,
                    "access": "R"
                },
                {
                    "id": "maxChargingCurrentCableE3",
                    "address": 128,
                    "size": 1,
                    "type": "uint16",
                    "registerType": "holdingRegister",
                    "readSchedule": "update",
                    "description": "Maximum charging current of connected cable",
                    "unit": "A",
                    "defaultValue": 32,
                    "access": "R"
                }
            ]
        },
        {
            "id": "durations",
            "readSchedule": "update",
            "registers": [
                {
                    "id": "chargingDuration",
                    "address": 151,
                    "size": 2,
                    "type": "uint32",
                    "registerType": "holdingRegister",
                    "readSchedule": "update",
                    "description": "Charging duration",
                    "unit": "ms",
                    "defaultValue": 0,
                    "access": "R"
                },
                {
                    "id": "pluggedInDuration",
                    "address": 153,
                    "size": 2,
                    "type": "uint32",
                    "registerType": "holdingRegister",
                    "readSchedule": "update",
                    "description": "Plugged in duration",
                    "unit": "ms",
                    "defaultValue": 0,
                    "access": "R"
                }
            ]
        }
    ],
    "registers": [
        {
            "id": "chargingEnabled",
            "address": 100,
            "size": 1,
            "type": "uint16",
            "registerType": "holdingRegister",
            "readSchedule": "update",
            "description": "Charging enabled",
            "defaultValue": 0,
            "access": "RW"
        },
        {
            "id": "chargingCurrentSetpoint",
            "address": 101,
            "size": 1,
            "type": "uint16",
            "registerType": "holdingRegister",
            "readSchedule": "update",
            "description": "Charging current setpoint",
            "unit": "A",
            "defaultValue": 6,
            "access": "RW"
        },
        {
            "id": "statusBits",
            "address": 121,
            "size": 1,
            "type": "uint16",
            "registerType": "holdingRegister",
            "readSchedule": "update",
            "description": "Mode3-State A, B, C, D, U",
            "defaultValue": 85,
            "access": "R"
        },
        {
            "id": "cpSignalState",
            "address": 139,
            "size": 1,
            "type": "uint16",
            "registerType": "holdingRegister",
            "readSchedule": "update",
            "description": "Status bits",
            "defaultValue": 0,
            "access": "R"
        },
        {
            "id": "u1Voltage",
            "address": 167,
            "size": 1,
            "type": "uint16",
            "registerType": "holdingRegister",
            "readSchedule": "update",
            "description": "U1 voltage",
            "staticScaleFactor": -2,
            "unit": "V",
            "defaultValue": 32,
            "access": "R"
        },
        {
            "id": "gridVoltage",
            "address": 302,
            "size": 1,
            "type": "uint16",
            "registerType": "holdingRegister",
            "readSchedule": "update",
            "description": "Voltage of the power supply grid",
            "staticScaleFactor": -2,
            "unit": "V",
            "defaultValue": 0,
            "access": "R"
        },
        {
            "id": "minChargingCurrent",
            "address": 507,
            "size": 1,
            "type": "uint16",
            "registerType": "holdingRegister",
            "readSchedule": "update",
            "description": "Minimum charging current",
            "unit": "A",
            "defaultValue": 13,
            "access": "R"
        }
    ]
}
