JSON message about the configuration capability of the panic button
{ "PanicButtonCap":{ "zoneNo":{ /*optional, int, values that can be configured as the zone No.*/ "@opt":[1, 3, 5] }, "LEDEnabled":{ /*optional, boolean, whether to enable the LED indicator*/ "@opt":[true, false] }, "LEDLatchTime":{ /*optional, int, delay time of the LED indicator, unit: second*/ "@min":0, "@max":0 }, "findMeEnabled":{ /*optional, boolean, whether to enable the Find Me function*/ "@opt":[true, false] }, "alarmMode":{ /*optional, string, alarm mode: "emergency"-panic alarm, "medical"-medical alarm*/ "@opt":["emergency", "medical"] }, "supportZoneType":{ /*optional, string, zone types supported by the peripheral: "Instant"-instant zone, "Delay"-delay zone, "Follow"-follow zone, "Perimeter"-perimeter zone, "24hNoSound"-24-hour silent zone, "Emergency"-panic zone, "Fire"-fire zone, "Gas"-gas zone, "Medical"-medical zone, "Timeout"-timeout zone, "Non-Alarm"-disabled zone, "Key"-key zone, "24hSound"-24-hour annunciating zone. When switching zone type, zone types supported by the peripheral can be obtained*/ "@opt":["Instant", "Delay", "Follow"] }, "PanicButtonTypeList":[{ "panicButtonType":"", /*optional, read-only, string, panic button type: "poratble"-portable, "hanging"-wall mounting*/ "pollingOptionEnable":{ /*optional, boolean, whether to disable detecting heartbeat of the security control panel and the peripheral: true-yes. If this function is not supported, this field will not be returned*/ "@opt":[true, false] }, "accidentalPressProtection":{ /*optional, string, protection method to avoid triggering unintentionally: "double"-press twice to trigger, "delay"-press and hold to trigger, "off"-disable*/ "@opt":["double", "delay", "off"] } }], "heartBeatInterval":{ /*optional, int, heartbeat interval of the security control panel and the peripheral*/ "@opt":[5, 10, 20, 30] }, "triggerMode": { /*optional, object, trigger mode of the panic button: "longPress", "shortPress", "doublePress"*/ "@size": 2, /*optional, int, the maximum types of mode that can be configured at the same time*/ "@opt": ["longPress", "shortPress", "doublePress"] /*optional, array of string*/ }, "confirmAlarmInterval": { /*optional, object, time interval for uploading acknowledgment alarm, unit: hour; if you have selected two trigger modes, when the button is triggered in the first mode, a normal emergency alarm will be uploaded; if the button is triggered in the second mode within the configured time interval, then an acknowledgment emergency alarm will be uploaded*/ "@min": 8, /*optional, int, the minimum value*/ "@max": 20 /*optional, int, the maximum value*/ } } }