Skip to content

Commit

Permalink
Make AttributeNullabilityType enum private
Browse files Browse the repository at this point in the history
  • Loading branch information
nivi-apple committed Jan 30, 2024
1 parent 39b79ff commit 2522594
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/app/clusters/door-lock-server/door-lock-server.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,6 @@ static constexpr size_t DOOR_LOCK_MAX_USER_NAME_SIZE = 10; /**< Maximum size of
static constexpr size_t DOOR_LOCK_USER_NAME_BUFFER_SIZE =
DOOR_LOCK_MAX_USER_NAME_SIZE + 1; /**< Maximum size of the user name string (in bytes). */

enum class AttributeNullabilityType : uint8_t
{
kNullable = 0,
/**< Used to indicate if an attribute can be nullable */
kNotNullable = 1,
/**< Used to indicate if an attribute is not nullable */
};

struct EmberAfPluginDoorLockCredentialInfo;
struct EmberAfPluginDoorLockUserInfo;

Expand Down Expand Up @@ -587,6 +579,15 @@ class DoorLockServer : public chip::app::AttributeAccessInterface
chip::app::AttributeValueEncoder & aEncoder,
chip::app::Clusters::DoorLock::Delegate * delegate);

/**
* @brief Indicates whether an attribute can be nullable or not.
*/
enum class AttributeNullabilityType : uint8_t
{
kNullable = 0, /**< Indicates if an attribute is nullable */
kNotNullable = 1, /**< Indicates if an attribute is not nullable */
};

/**
* @brief Utility to read aliro attributes of type ByteSpan
*
Expand Down

0 comments on commit 2522594

Please sign in to comment.