taligentx / dscKeybusInterface

An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
GNU General Public License v3.0
496 stars 125 forks source link

Question ) Module message for fir, auxiliary and panic alarm #292

Open charon22 opened 2 years ago

charon22 commented 2 years ago

Hello,

Comparing the newly updated version with the one from a year ago, I have one question.

When the fire, auxiliary and panic keys are pressed using the keypad, the previous code and the current code are different. However, when I actually tested using the keypad, the previous code came out correctly. I want to know if the new code is wrong or if there is some other reason.

Previous Code) void dscKeybusInterface::printModuleMessage() { switch (moduleData[0]) { case 0x77: printModule_0x77(); return; // Keypad fire alarm | Structure: complete | Content: complete case 0xBB: printModule_0xBB(); return; // Keypad auxiliary alarm | Structure: complete | Content: complete case 0xDD: printModule_0xDD(); return; // Keypad panic alarm | Structure: complete | Content: complete

Current Code) switch (moduleData[0]) { case 0xBB: printModule_0xBB(); return; // Keypad fire alarm | Structure: complete | Content: complete case 0xDD: printModule_0xDD(); return; // Keypad auxiliary alarm | Structure: complete | Content: complete case 0xEE: printModule_0xEE(); return; // Keypad panic alarm | Structure: complete | Content: complete }

Thanks