Standard Instruction Set

Last Updated on : 2022-01-13 06:06:43download

This topic describes the standard instruction set of smoke alarms (ywbj).

Code Name Data type Value constraint
alarm_volume Alarm volume Enum {“range”:[“low”,“middle”,“high”,“mute”]}
self_checking Device self-check Boolean {}
alarm_time Alarm duration Integer {“unit”:“s”,“min”:1,“max”:60,“scale”:0,“step”:1}
alarm_ringtone Alarm ringtone Enum {“range”:[“1”,“2”,“3”,“4”,“5”]}
alarm_switch Alarm switch Boolean {}
muffling Mute Boolean {}
test_alarm Sound test Boolean {}