JSON_SirenMode

Message about the parameters for controlling the asynchronous mode of adding the siren in JSON format

{
  "SirenMode":{
    "mode":"", 
/*optional, string, mode: "enter", "exit"*/
    "wirelessRecvAddress": , 
/*optional, int, wireless receiving module address, this field is valid when mode is "enter"*/
    "keypadAddress": , 
/*optional, int, keypad address, this field is valid when mode is "enter"*/
    "sequence":"", 
/*required, string, peripheral's serial No.*/
    "deviceType":""
/*optional, string, peripheral model*/
  }
}

Remarks

Sirens can be added by the wireless receiving module or the keypad, so either wirelessRecvAddress or keypadAddress should be configured.