Returns the RFID code for the specified user ID.

If the requested User ID is valid and the Code doesn’t exist, Get RFID Code Response shall have the following format:

User ID = requested User ID UserStatus = 0 (available) UserType = 0xFF (not supported) RFID Code = 0 (zero length)

If requested User ID is invalid, send Default Response with an error status. The error status shall be equal to CONSTRAINT_ERROR when User_ID is less than the max number of users supported, and NOT_FOUND if greater than or equal to the max number of users supported.

MatterSpecification.v13.Cluster § 5.2.10.31

interface GetRfidCodeResponse {
    rfidCode: null | Uint8Array;
    userId: number;
    userStatus: null | DoorLock.UserStatus;
    userType: null | DoorLock.UserType;
}

Hierarchy (view full)

Properties

rfidCode: null | Uint8Array
userId: number
userStatus: null | DoorLock.UserStatus
userType: null | DoorLock.UserType