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

463 lines
12 KiB
JSON

{
"group": {
"desc": "Compute a digital signature over a specified set of data registers",
"groups": [
{
"count": 0,
"name": "repeating",
"points": [
{
"desc": "Digital Signature",
"label": "DS",
"mandatory": "M",
"name": "DS",
"size": 1,
"type": "uint16"
}
],
"type": "group"
}
],
"label": "Secure Dataset Read Response",
"name": "model_4",
"points": [
{
"desc": "Model identifier",
"label": "Model ID",
"mandatory": "M",
"name": "ID",
"size": 1,
"static": "S",
"type": "uint16",
"value": 4
},
{
"desc": "Model length",
"label": "Model Length",
"mandatory": "M",
"name": "L",
"size": 1,
"static": "S",
"type": "uint16"
},
{
"desc": "Sequence number from the request",
"label": "Request Sequence",
"mandatory": "M",
"name": "RqSeq",
"size": 1,
"type": "uint16"
},
{
"desc": "Status of last read operation",
"label": "Status",
"mandatory": "M",
"name": "Sts",
"size": 1,
"symbols": [
{
"name": "SUCCESS",
"value": 0
},
{
"name": "DS",
"value": 1
},
{
"name": "ACL",
"value": 2
},
{
"name": "OFF",
"value": 3
}
],
"type": "enum16"
},
{
"desc": "Number of values from the request",
"label": "X",
"mandatory": "M",
"name": "X",
"size": 1,
"type": "uint16"
},
{
"desc": "Copy of value from register Off1.",
"label": "Value1",
"mandatory": "M",
"name": "Val1",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val2",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val3",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val4",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val5",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val6",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val7",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val8",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val9",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val10",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val11",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val12",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val13",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val14",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val15",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val16",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val17",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val18",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val19",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val20",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val21",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val22",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val23",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val24",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val25",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val26",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val27",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val28",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val29",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val30",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val31",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val32",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val33",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val34",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val35",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val36",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val37",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val38",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val39",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val40",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val41",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val42",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val43",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val44",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val45",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val46",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val47",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val48",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val49",
"size": 1,
"type": "uint16"
},
{
"mandatory": "M",
"name": "Val50",
"size": 1,
"type": "uint16"
},
{
"desc": "Timestamp value is the number of seconds since January 1, 2000",
"label": "Timestamp",
"mandatory": "M",
"name": "Ts",
"size": 2,
"type": "uint32"
},
{
"desc": "Millisecond counter 0-999",
"label": "Milliseconds",
"mandatory": "M",
"name": "Ms",
"size": 1,
"type": "uint16"
},
{
"desc": "Sequence number of response",
"label": "Sequence",
"mandatory": "M",
"name": "Seq",
"size": 1,
"type": "uint16"
},
{
"desc": "Bitmask alarm code",
"label": "Alarm",
"mandatory": "M",
"name": "Alm",
"size": 1,
"symbols": [
{
"name": "NONE",
"value": 0
},
{
"name": "ALM",
"value": 1
}
],
"type": "enum16"
},
{
"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"
},
{
"desc": "Number of registers comprising the digital signature.",
"label": "N",
"mandatory": "M",
"name": "N",
"size": 1,
"type": "uint16"
}
],
"type": "group"
},
"id": 4
}