JSON message about operation and control capability of security control panel
{ "HostControlCap":{ "SubSysCap":{ /*optional, operation and control capability of partitions*/ "isSptArm": , /*optional, boolean, whether supports arming the partition*/ "armType":{ /*partition arming type, it is valid when the partition supports arming, "stay"-stay arming, "away"-away arming*/ "@opt":"stay,away" }, "isSptDisarm": , /*optional, boolean, whether supports disarming partition*/ "isSptClearAlarm": , /*optional, boolean, whether supports clearing alarms for partitions*/ "isSptBatchArm": , /*optional, boolean, whether to support arming in a batch*/ "isSptBatchDisarm": , /*optional, boolean, whether to support disarming in a batch*/ "isSptBatchClearAlarm": , /*optional, boolean, whether to support clearing alarms in a batch*/ "isSptStatus": /*optional, boolean, whether supports getting status of partitions*/ }, "ZoneCap":{ /*optional, operation and control capability of zones*/ "isSptBypass": , /*optional, boolean, whether supports bypass*/ "isSptBypassBatch": , /*optional, boolean, whether is supports batch bypass*/ "isSptBypassRecover": , /*optional, boolean, whether supports bypass recovered*/ "isSptBypassRecoverBatch": /*optional, boolean, whether supports batch bypass recovered*/ }, "isSptOutputsCtrl": , /*optional, boolean, whether supports controlling relay*/ "isSptOutputsCtrlBatch": , /*optional, boolean, whether supports controlling relay in batch*/ "isSptSirenCtrl": , /*optional, boolean, whether to support controlling siren*/ "sirenCtrlType":["wired"], /*optional, type of siren that supports being controlled: "wired"*/ "isSptOneKeyAlarmCtrl": , /*optioanl, boolean, whether it supports one-push alarm, related URI: /ISAPI/SecurityCP/control/oneKeyAlarm?format=json*/ "isSptSubSysFaultConfirm": , /*optional, boolean, whether to support partition fault acknowledgment*/ "isSptInputsCtrl": true, /*optional, boolean, whether it supports arming and disarming control of alarm input*/ "isSptAlarmStrobeCtrl": true, /*optional, boolean, whether it supports alarm strobe control, related URI: /ISAPI/SecurityCP/control/alarmStrobe/<ID>?format=json*/ "isSptElectricLockCtrl": true, /*optional, boolean, whether it supports electric lock control, related URI: /ISAPI/SecurityCP/control/electricLock/<ID>?format=json*/ "isSptRadarFieldPreviewCtrl": true, /*optional, boolean, whether it supports radar field preview control, related URI: /ISAPI/Radar/Configuration/radarFieldPreviewCtrl?format=json*/ "Operate": { /*optional, object, operation parameters*/ "moduleOperateCode": { /*required, object, operation code*/ "@min": 1, /*optional, int, the minimum length of the character*/ "@max": 2, /*optional, int, the maximum length of the character*/ "character": ["1", "2", "3"] /*optional, array, supported character types: "1", "2", "3"*/ } } } }
The required node refers to the parameter that is supported by the device and must be configured. For the optional node, only when it is returned, it indicates that the device supports this parameter; otherwise, the optional node is invalid.