dscKeybusInterface icon indicating copy to clipboard operation
dscKeybusInterface copied to clipboard

Question ) Module message for fir, auxiliary and panic alarm

Open charon22 opened this issue 3 years ago • 0 comments

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

charon22 avatar May 17 '22 00:05 charon22