Input to the DoorLock setRfidCode command

MatterSpecification.v13.Cluster § 5.2.10.29

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

Hierarchy (view full)

Properties

rfidCode: Uint8Array
userId: number

This field shall indicate the user ID.

The value of the UserID field shall be between 0 and the value of the NumberOfRFIDUsersSupported attribute.

MatterSpecification.v13.Cluster § 5.2.10.29.1

userStatus: null | DoorLock.UserStatus

This field shall indicate what the status is for a specific user ID. The values are according to “Set PIN” while not all are supported.

Only the values 1 (Occupied/Enabled) and 3 (Occupied/Disabled) are allowed for UserStatus.

MatterSpecification.v13.Cluster § 5.2.10.29.2

userType: null | DoorLock.UserType

The values are the same as used for SetPINCode command.

MatterSpecification.v13.Cluster § 5.2.10.29.3