Z-Wave Sounder


(Mark S Groves-Zen Studios) #1

I am working on a device driver for a Z-Wave sounder in conjunction with a DMP alarm device driver.
The sounder allows configuration of the mode and the duration. I am hoping someone has example code using ‘ConfigurationSet’ that I can modify to represent the following:

Mode Value:
00 = Siren and Strobe
10 = Strobe Only
20 = Siren Only

Duration Value:
00 =30 Seconds
01 = 60 Seconds
02 = 120 Seconds
03 = Continuous

2 Byte Configuration value = Mode + Duration