powersync-plugins-modbus/libnymea-sunspec/tools/models/json/model_5.json

689 lines
19 KiB
JSON

{
"group": {
"desc": "Include a digital signature along with the control data",
"groups": [
{
"count": 0,
"name": "repeating",
"points": [
{
"access": "RW",
"desc": "Digital Signature",
"label": "DS",
"mandatory": "M",
"name": "DS",
"size": 1,
"type": "uint16"
}
],
"type": "group"
}
],
"label": "Secure Write Request",
"name": "model_5",
"points": [
{
"desc": "Model identifier",
"label": "Model ID",
"mandatory": "M",
"name": "ID",
"size": 1,
"static": "S",
"type": "uint16",
"value": 5
},
{
"desc": "Model length",
"label": "Model Length",
"mandatory": "M",
"name": "L",
"size": 1,
"static": "S",
"type": "uint16"
},
{
"access": "RW",
"desc": "Number of (offset, value) pairs being written",
"label": "X",
"mandatory": "M",
"name": "X",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "Offset of control register to write value to",
"label": "Offset1",
"mandatory": "M",
"name": "Off1",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "Value to write to control register at offset",
"label": "Value1",
"mandatory": "M",
"name": "Val1",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off2",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val2",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off3",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val3",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off4",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val4",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off5",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val5",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off6",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val6",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off7",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val7",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off8",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val8",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off9",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val9",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off10",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val10",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off11",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val11",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off12",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val12",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off13",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val13",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off14",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val14",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off15",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val15",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off16",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val16",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off17",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val17",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off18",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val18",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off19",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val19",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off20",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val20",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off21",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val21",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off22",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val22",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off23",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val23",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off24",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val24",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off25",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val25",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off26",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val26",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off27",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val27",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off28",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val28",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off29",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val29",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off30",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val30",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off31",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val31",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off32",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val32",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off33",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val33",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off34",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val34",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off35",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val35",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off36",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val36",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off37",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val37",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off38",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val38",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off39",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val39",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off40",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Val40",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "Timestamp value is the number of seconds since January 1, 2000",
"label": "Timestamp",
"mandatory": "M",
"name": "Ts",
"size": 2,
"type": "uint32"
},
{
"access": "RW",
"desc": "Millisecond counter 0-999",
"label": "Milliseconds",
"mandatory": "M",
"name": "Ms",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "Sequence number of request",
"label": "Sequence",
"mandatory": "M",
"name": "Seq",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "Signing key used 0-5",
"label": "Role",
"mandatory": "M",
"name": "Role",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "Algorithm used to compute the digital signature",
"label": "Algorithm",
"mandatory": "M",
"name": "Alg",
"size": 1,
"symbols": [
{
"name": "NONE",
"value": 0
},
{
"name": "AES-GMAC-64",
"value": 1
},
{
"name": "ECC-256",
"value": 2
}
],
"type": "enum16"
},
{
"access": "RW",
"desc": "Number of registers comprising the digital signature.",
"label": "N",
"mandatory": "M",
"name": "N",
"size": 1,
"type": "uint16"
}
],
"type": "group"
},
"id": 5
}