Closed kricon closed 3 years ago
CMD 0x6E, panel send it after entering programming section which contain saved HEX data, for example *5 user code programming/communications programming etc.
Added!
I noticed that sometimes when I input keys, I get "Unknown data" instead of partition and which key was pressed. The actual key data is on 0xE6 byte3, doesnt matter for which partition. Byte2 is 0xFF every time when 0xE6 cmd send keys
EDIT: It seems that CMDs 0x27, 0x2D and 0x3E also carries key data, it seems to be on Byte2 bits2+:
I've added keypad keys decoding for the 0xE6 commands in programming and also fixed a bug where the panel command that the module data is sent with could be wrong. Good catch with the keys on 0x27, 0x2D, and 0x3E, I didn't come across this previously but was able to verify that partition 1 and 2 keys can be sent during these commands.
0x1B cmd conflict: I have found that when keypad goes idle (after 30sec), it send 0x05 byte7 bit3 for "Keypad going idle notification" and in 0x1B cmd afterwards on byte4 it show on which partition keypad goes idle.
Looks good, I've split out the 0x1B decoding for byte 4 to indicate the keypad partition.
Just for reference, when I enter *8 programming on pc1832 from partition other than 1 I constantly get unknown data stream from cmds 0xE6.21, 0x0F, 0xE6.01, 0xE6.02 (probably something similar as 0x0A cmd is for partion1):
I've added a check for redundant data in partition 2 installer programming, but partitions 3-8 will still flood messages because of the way that the 0xE6.01-0xE6.06 commands alternate the same command for different ranges zone lights. It would eat up memory for all sketches just to improve the view in KeybusReader so for now I'll leave it as is. 0xE6.01-0xE6.06 are at least getting decoded now.
Thanks for all this!
When panel is requesting 3 digit code input, decimal data send/received on 0x6E and 0x70 cmds is on Byte2 for all 3 numbers (0-255). That's the only case I saw where data isn't send/received as hex. I've made Pull Request fixing this, so after entering [005] section for system times instead 1E000000
you'll get 030
like it's displayed on LCD screen.
Nice to have keypad keys decoded for other commands too, It was confusing me for some time. Thanks! I'll report if I saw key send on any other cmd.
EDIT: Pull request with fix for 0x6E/0x70 3-digit decimal input got merged so I'm closing this issue as all from here got included and fixed - there is no need to keep issue open.
CMD 0x6E, panel send it after entering programming section which contain saved HEX data, for example *5 user code programming/communications programming etc.
I noticed that sometimes when I input keys, I get "Unknown data" instead of partition and which key was pressed. The actual key data is on 0xE6 byte3, doesnt matter for which partition. Byte2 is 0xFF every time when 0xE6 cmd send keys.
EDIT: It seems that CMDs 0x27, 0x2D and 0x3E also carries key data, it seems to be on Byte2 bits2+:
While we talk about unknown key data, I found some more, this one related to start of broadcasting keypad labels. After keypad send that key, all keypads on system became unresponsive and accepts label broadcasting information. Key output decoded in PR.
Noticed something weird after entering 1/2 or 3 menu. Doesnt matter if 1/2/3 access code required is enabled/disabled in section [022]. It seems keypad send 0x75 key back to the panel (sometimes even few times in row). Included in PR.
0x1B cmd conflict: I have found that when keypad goes idle (after 30sec), it send 0x05 byte7 bit3 for "Keypad going idle notification" and in 0x1B cmd afterwards on byte4 it show on which partition keypad goes idle. Probably that notifications are send because when keypad goes idle, it goes to partition assigned in [000] section so panel answers with [0x5D] or similar command which contains partion status. I didnt noticed anything keypad-slot related. 0x05 "Unknown notification" renamed in PU to "Keypad idle notification" as it seems "Unknown" was only related for bit3.
Just for reference, when I enter *8 programming on pc1832 from partition other than 1 I constantly get unknown data stream from cmds 0xE6.21, 0x0F, 0xE6.01, 0xE6.02 (probably something similar as 0x0A cmd is for partion1):
Found that 0xC3 command isn't just for keypad status but for dialer aswell. Byte2 bits 3 and 4, previously mark as unknown. Each time when panel attempt to dial, 0xC3 byte2 is 0x18 and when dialer end calling byte2 is 0x10. Decoding included in PR.
I've also decoded 0x8D and partly 0x94 CMDs, which is used for communication with Wireless module expander. I'll open a seperate issue with log output and decoding for that to keep it clean from here - its already enough stuff included here.