Packet Data (Total 48 bytes, pad with 0xFF if insufficient)Basic Information Segment: Concatenate in order: "1 byte dealer card, 2 bytes hotel project card"; "1 byte building card, 1 byte floor card, 1 byte room card", default value is 0xFF for all.Identification and Password Segment: 1 byte fixed identifier 0x09, followed by 3 bytes system password and 3 bytes administrator (room) password.Door Control Segment: Concatenate successively: 1 byte door opening type: (00 Guest Card / 01 Cleaning Card / 02 Maintenance Card / 03 Master Key Card / 04 Single Floor Card / 05 Single Building Card) 1 byte door opening permission: bit0 deadbolt position [0 cannot open deadbolt (default), 1 can open deadbolt], bit1 always open position [0 normal mode (default), 1 always open] 8 bytes door opening validity period: 4 bytes start timestamp, 4 bytes end timestamp (hexadecimal timestamp, seconds) [Note: Only used to control the "valid date range", not for specific time period control.] 4 bytes door opening period 1, 4 bytes door opening period 2 (at least add one period; if the second period is not added, default is 0xFF) 1 byte door opening cycle: bits indicate valid days of the week (0 invalid, 1 valid); bit0 indicates whether there is a cycle (0 no cycle, 1 with cycle). Example: authorize Monday and Wednesday, binary is 00001011, converted to 0b. 2 bytes unlock ID: (generated by the backend, used for door opening record push)Important Note: Clearing offline cards also uses this interface. When deviceState passes ff, the card information will be cleared via the card issuing machine, turning the card into an empty card.