From ffd72c82642be80d342c28adcb388ee8c021f224 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Fri, 17 Feb 2023 17:01:08 +0100 Subject: [PATCH] [config-data] Add a new DefineBitmaps category to config-data.yaml to filter which bitmaps are allowed to generates #define (#25150) --- src/app/common/templates/config-data.yaml | 9 + .../zap-templates/templates/app/enums.zapt | 6 +- .../app-common/zap-generated/enums.h | 520 ------------------ 3 files changed, 11 insertions(+), 524 deletions(-) diff --git a/src/app/common/templates/config-data.yaml b/src/app/common/templates/config-data.yaml index 53b7ff06533a53..94be6cc89003f7 100644 --- a/src/app/common/templates/config-data.yaml +++ b/src/app/common/templates/config-data.yaml @@ -30,6 +30,15 @@ WeakEnums: - StepMode - TemperatureDisplayMode +DefineBitmaps: + # Allow-list of bitmaps that we generates as #define as well as enum classes. + # The goal is to drive this down to 0. + - BarrierControlCapabilities + - BarrierControlSafetyStatus + - ColorLoopUpdateFlags + - LevelControlFeature + - PowerSourceFeature + # We need a more configurable way of deciding which clusters have which init functions.... # See https://github.com/project-chip/connectedhomeip/issues/4369 ClustersWithInitFunctions: diff --git a/src/app/zap-templates/templates/app/enums.zapt b/src/app/zap-templates/templates/app/enums.zapt index 8f0d5ba5287bdd..71b2d32ad75066 100644 --- a/src/app/zap-templates/templates/app/enums.zapt +++ b/src/app/zap-templates/templates/app/enums.zapt @@ -8,8 +8,6 @@ // ZCL enums {{#zcl_enums}} -{{#unless (isStrEqual label "Status")}} -{{#unless (isStrEqual label "ReportingDirection")}} {{#if (isInConfigList label "WeakEnums")}} // Enum for {{label}} @@ -19,13 +17,13 @@ enum EmberAf{{asType label}} : {{asUnderlyingZclType name}} { {{/zcl_enum_items}} }; {{/if}} -{{/unless}} -{{/unless}} {{/zcl_enums}} {{#zcl_bitmaps}} +{{#if (isInConfigList label "DefineBitmaps")}} {{#zcl_bitmap_items}} #define EMBER_AF_{{asDelimitedMacro parent.label}}_{{asDelimitedMacro label}} ({{mask}}) #define EMBER_AF_{{asDelimitedMacro parent.label}}_{{asDelimitedMacro label}}_OFFSET ({{asOffset mask}}) {{/zcl_bitmap_items}} +{{/if}} {{/zcl_bitmaps}} diff --git a/zzz_generated/app-common/app-common/zap-generated/enums.h b/zzz_generated/app-common/app-common/zap-generated/enums.h index 23fc30001f54e7..ef52e0b548568c 100644 --- a/zzz_generated/app-common/app-common/zap-generated/enums.h +++ b/zzz_generated/app-common/app-common/zap-generated/enums.h @@ -251,10 +251,6 @@ enum EmberAfTemperatureDisplayMode : uint8_t EMBER_ZCL_TEMPERATURE_DISPLAY_MODE_FAHRENHEIT = 1, }; -#define EMBER_AF_APPLICATION_LAUNCHER_FEATURE_APPLICATION_PLATFORM (1) -#define EMBER_AF_APPLICATION_LAUNCHER_FEATURE_APPLICATION_PLATFORM_OFFSET (0) -#define EMBER_AF_AUDIO_OUTPUT_FEATURE_NAME_UPDATES (1) -#define EMBER_AF_AUDIO_OUTPUT_FEATURE_NAME_UPDATES_OFFSET (0) #define EMBER_AF_BARRIER_CONTROL_CAPABILITIES_PARTIAL_BARRIER (1) #define EMBER_AF_BARRIER_CONTROL_CAPABILITIES_PARTIAL_BARRIER_OFFSET (0) #define EMBER_AF_BARRIER_CONTROL_SAFETY_STATUS_REMOTE_LOCKOUT (1) @@ -265,62 +261,6 @@ enum EmberAfTemperatureDisplayMode : uint8_t #define EMBER_AF_BARRIER_CONTROL_SAFETY_STATUS_FAILED_COMMUNICATION_OFFSET (2) #define EMBER_AF_BARRIER_CONTROL_SAFETY_STATUS_POSITION_FAILURE (8) #define EMBER_AF_BARRIER_CONTROL_SAFETY_STATUS_POSITION_FAILURE_OFFSET (3) -#define EMBER_AF_BITMAP16_MASK_MAP_MASK_VAL1 (1) -#define EMBER_AF_BITMAP16_MASK_MAP_MASK_VAL1_OFFSET (0) -#define EMBER_AF_BITMAP16_MASK_MAP_MASK_VAL2 (2) -#define EMBER_AF_BITMAP16_MASK_MAP_MASK_VAL2_OFFSET (1) -#define EMBER_AF_BITMAP16_MASK_MAP_MASK_VAL3 (4) -#define EMBER_AF_BITMAP16_MASK_MAP_MASK_VAL3_OFFSET (2) -#define EMBER_AF_BITMAP16_MASK_MAP_MASK_VAL4 (16384) -#define EMBER_AF_BITMAP16_MASK_MAP_MASK_VAL4_OFFSET (14) -#define EMBER_AF_BITMAP32_MASK_MAP_MASK_VAL1 (1) -#define EMBER_AF_BITMAP32_MASK_MAP_MASK_VAL1_OFFSET (0) -#define EMBER_AF_BITMAP32_MASK_MAP_MASK_VAL2 (2) -#define EMBER_AF_BITMAP32_MASK_MAP_MASK_VAL2_OFFSET (1) -#define EMBER_AF_BITMAP32_MASK_MAP_MASK_VAL3 (4) -#define EMBER_AF_BITMAP32_MASK_MAP_MASK_VAL3_OFFSET (2) -#define EMBER_AF_BITMAP32_MASK_MAP_MASK_VAL4 (1073741824) -#define EMBER_AF_BITMAP32_MASK_MAP_MASK_VAL4_OFFSET (30) -#define EMBER_AF_BITMAP64_MASK_MAP_MASK_VAL1 (1) -#define EMBER_AF_BITMAP64_MASK_MAP_MASK_VAL1_OFFSET (0) -#define EMBER_AF_BITMAP64_MASK_MAP_MASK_VAL2 (2) -#define EMBER_AF_BITMAP64_MASK_MAP_MASK_VAL2_OFFSET (1) -#define EMBER_AF_BITMAP64_MASK_MAP_MASK_VAL3 (4) -#define EMBER_AF_BITMAP64_MASK_MAP_MASK_VAL3_OFFSET (2) -#define EMBER_AF_BITMAP64_MASK_MAP_MASK_VAL4 (4611686018427388000) -#define EMBER_AF_BITMAP64_MASK_MAP_MASK_VAL4_OFFSET (62) -#define EMBER_AF_BITMAP8_MASK_MAP_MASK_VAL1 (1) -#define EMBER_AF_BITMAP8_MASK_MAP_MASK_VAL1_OFFSET (0) -#define EMBER_AF_BITMAP8_MASK_MAP_MASK_VAL2 (2) -#define EMBER_AF_BITMAP8_MASK_MAP_MASK_VAL2_OFFSET (1) -#define EMBER_AF_BITMAP8_MASK_MAP_MASK_VAL3 (4) -#define EMBER_AF_BITMAP8_MASK_MAP_MASK_VAL3_OFFSET (2) -#define EMBER_AF_BITMAP8_MASK_MAP_MASK_VAL4 (64) -#define EMBER_AF_BITMAP8_MASK_MAP_MASK_VAL4_OFFSET (6) -#define EMBER_AF_CHANNEL_FEATURE_CHANNEL_LIST (1) -#define EMBER_AF_CHANNEL_FEATURE_CHANNEL_LIST_OFFSET (0) -#define EMBER_AF_CHANNEL_FEATURE_LINEUP_INFO (2) -#define EMBER_AF_CHANNEL_FEATURE_LINEUP_INFO_OFFSET (1) -#define EMBER_AF_COLOR_CAPABILITIES_HUE_SATURATION_SUPPORTED (1) -#define EMBER_AF_COLOR_CAPABILITIES_HUE_SATURATION_SUPPORTED_OFFSET (0) -#define EMBER_AF_COLOR_CAPABILITIES_ENHANCED_HUE_SUPPORTED (2) -#define EMBER_AF_COLOR_CAPABILITIES_ENHANCED_HUE_SUPPORTED_OFFSET (1) -#define EMBER_AF_COLOR_CAPABILITIES_COLOR_LOOP_SUPPORTED (4) -#define EMBER_AF_COLOR_CAPABILITIES_COLOR_LOOP_SUPPORTED_OFFSET (2) -#define EMBER_AF_COLOR_CAPABILITIES_XY_ATTRIBUTES_SUPPORTED (8) -#define EMBER_AF_COLOR_CAPABILITIES_XY_ATTRIBUTES_SUPPORTED_OFFSET (3) -#define EMBER_AF_COLOR_CAPABILITIES_COLOR_TEMPERATURE_SUPPORTED (16) -#define EMBER_AF_COLOR_CAPABILITIES_COLOR_TEMPERATURE_SUPPORTED_OFFSET (4) -#define EMBER_AF_COLOR_CONTROL_FEATURE_HUE_AND_SATURATION (1) -#define EMBER_AF_COLOR_CONTROL_FEATURE_HUE_AND_SATURATION_OFFSET (0) -#define EMBER_AF_COLOR_CONTROL_FEATURE_ENHANCED_HUE (2) -#define EMBER_AF_COLOR_CONTROL_FEATURE_ENHANCED_HUE_OFFSET (1) -#define EMBER_AF_COLOR_CONTROL_FEATURE_COLOR_LOOP (4) -#define EMBER_AF_COLOR_CONTROL_FEATURE_COLOR_LOOP_OFFSET (2) -#define EMBER_AF_COLOR_CONTROL_FEATURE_XY (8) -#define EMBER_AF_COLOR_CONTROL_FEATURE_XY_OFFSET (3) -#define EMBER_AF_COLOR_CONTROL_FEATURE_COLOR_TEMPERATURE (16) -#define EMBER_AF_COLOR_CONTROL_FEATURE_COLOR_TEMPERATURE_OFFSET (4) #define EMBER_AF_COLOR_LOOP_UPDATE_FLAGS_UPDATE_ACTION (1) #define EMBER_AF_COLOR_LOOP_UPDATE_FLAGS_UPDATE_ACTION_OFFSET (0) #define EMBER_AF_COLOR_LOOP_UPDATE_FLAGS_UPDATE_DIRECTION (2) @@ -329,338 +269,12 @@ enum EmberAfTemperatureDisplayMode : uint8_t #define EMBER_AF_COLOR_LOOP_UPDATE_FLAGS_UPDATE_TIME_OFFSET (2) #define EMBER_AF_COLOR_LOOP_UPDATE_FLAGS_UPDATE_START_HUE (8) #define EMBER_AF_COLOR_LOOP_UPDATE_FLAGS_UPDATE_START_HUE_OFFSET (3) -#define EMBER_AF_COMMAND_BITS_INSTANT_ACTION (1) -#define EMBER_AF_COMMAND_BITS_INSTANT_ACTION_OFFSET (0) -#define EMBER_AF_COMMAND_BITS_INSTANT_ACTION_WITH_TRANSITION (2) -#define EMBER_AF_COMMAND_BITS_INSTANT_ACTION_WITH_TRANSITION_OFFSET (1) -#define EMBER_AF_COMMAND_BITS_START_ACTION (4) -#define EMBER_AF_COMMAND_BITS_START_ACTION_OFFSET (2) -#define EMBER_AF_COMMAND_BITS_START_ACTION_WITH_DURATION (8) -#define EMBER_AF_COMMAND_BITS_START_ACTION_WITH_DURATION_OFFSET (3) -#define EMBER_AF_COMMAND_BITS_STOP_ACTION (16) -#define EMBER_AF_COMMAND_BITS_STOP_ACTION_OFFSET (4) -#define EMBER_AF_COMMAND_BITS_PAUSE_ACTION (32) -#define EMBER_AF_COMMAND_BITS_PAUSE_ACTION_OFFSET (5) -#define EMBER_AF_COMMAND_BITS_PAUSE_ACTION_WITH_DURATION (64) -#define EMBER_AF_COMMAND_BITS_PAUSE_ACTION_WITH_DURATION_OFFSET (6) -#define EMBER_AF_COMMAND_BITS_RESUME_ACTION (128) -#define EMBER_AF_COMMAND_BITS_RESUME_ACTION_OFFSET (7) -#define EMBER_AF_COMMAND_BITS_ENABLE_ACTION (256) -#define EMBER_AF_COMMAND_BITS_ENABLE_ACTION_OFFSET (8) -#define EMBER_AF_COMMAND_BITS_ENABLE_ACTION_WITH_DURATION (512) -#define EMBER_AF_COMMAND_BITS_ENABLE_ACTION_WITH_DURATION_OFFSET (9) -#define EMBER_AF_COMMAND_BITS_DISABLE_ACTION (1024) -#define EMBER_AF_COMMAND_BITS_DISABLE_ACTION_OFFSET (10) -#define EMBER_AF_COMMAND_BITS_DISABLE_ACTION_WITH_DURATION (2048) -#define EMBER_AF_COMMAND_BITS_DISABLE_ACTION_WITH_DURATION_OFFSET (11) -#define EMBER_AF_CONFIG_STATUS_OPERATIONAL (1) -#define EMBER_AF_CONFIG_STATUS_OPERATIONAL_OFFSET (0) -#define EMBER_AF_CONFIG_STATUS_ONLINE_RESERVED (2) -#define EMBER_AF_CONFIG_STATUS_ONLINE_RESERVED_OFFSET (1) -#define EMBER_AF_CONFIG_STATUS_LIFT_MOVEMENT_REVERSED (4) -#define EMBER_AF_CONFIG_STATUS_LIFT_MOVEMENT_REVERSED_OFFSET (2) -#define EMBER_AF_CONFIG_STATUS_LIFT_POSITION_AWARE (8) -#define EMBER_AF_CONFIG_STATUS_LIFT_POSITION_AWARE_OFFSET (3) -#define EMBER_AF_CONFIG_STATUS_TILT_POSITION_AWARE (16) -#define EMBER_AF_CONFIG_STATUS_TILT_POSITION_AWARE_OFFSET (4) -#define EMBER_AF_CONFIG_STATUS_LIFT_ENCODER_CONTROLLED (32) -#define EMBER_AF_CONFIG_STATUS_LIFT_ENCODER_CONTROLLED_OFFSET (5) -#define EMBER_AF_CONFIG_STATUS_TILT_ENCODER_CONTROLLED (64) -#define EMBER_AF_CONFIG_STATUS_TILT_ENCODER_CONTROLLED_OFFSET (6) -#define EMBER_AF_CONTENT_LAUNCHER_FEATURE_CONTENT_SEARCH (1) -#define EMBER_AF_CONTENT_LAUNCHER_FEATURE_CONTENT_SEARCH_OFFSET (0) -#define EMBER_AF_CONTENT_LAUNCHER_FEATURE_URL_PLAYBACK (2) -#define EMBER_AF_CONTENT_LAUNCHER_FEATURE_URL_PLAYBACK_OFFSET (1) -#define EMBER_AF_DAY_OF_WEEK_SUNDAY (1) -#define EMBER_AF_DAY_OF_WEEK_SUNDAY_OFFSET (0) -#define EMBER_AF_DAY_OF_WEEK_MONDAY (2) -#define EMBER_AF_DAY_OF_WEEK_MONDAY_OFFSET (1) -#define EMBER_AF_DAY_OF_WEEK_TUESDAY (4) -#define EMBER_AF_DAY_OF_WEEK_TUESDAY_OFFSET (2) -#define EMBER_AF_DAY_OF_WEEK_WEDNESDAY (8) -#define EMBER_AF_DAY_OF_WEEK_WEDNESDAY_OFFSET (3) -#define EMBER_AF_DAY_OF_WEEK_THURSDAY (16) -#define EMBER_AF_DAY_OF_WEEK_THURSDAY_OFFSET (4) -#define EMBER_AF_DAY_OF_WEEK_FRIDAY (32) -#define EMBER_AF_DAY_OF_WEEK_FRIDAY_OFFSET (5) -#define EMBER_AF_DAY_OF_WEEK_SATURDAY (64) -#define EMBER_AF_DAY_OF_WEEK_SATURDAY_OFFSET (6) -#define EMBER_AF_DAY_OF_WEEK_AWAY (128) -#define EMBER_AF_DAY_OF_WEEK_AWAY_OFFSET (7) -#define EMBER_AF_DAYS_MASK_MAP_SUNDAY (1) -#define EMBER_AF_DAYS_MASK_MAP_SUNDAY_OFFSET (0) -#define EMBER_AF_DAYS_MASK_MAP_MONDAY (2) -#define EMBER_AF_DAYS_MASK_MAP_MONDAY_OFFSET (1) -#define EMBER_AF_DAYS_MASK_MAP_TUESDAY (4) -#define EMBER_AF_DAYS_MASK_MAP_TUESDAY_OFFSET (2) -#define EMBER_AF_DAYS_MASK_MAP_WEDNESDAY (8) -#define EMBER_AF_DAYS_MASK_MAP_WEDNESDAY_OFFSET (3) -#define EMBER_AF_DAYS_MASK_MAP_THURSDAY (16) -#define EMBER_AF_DAYS_MASK_MAP_THURSDAY_OFFSET (4) -#define EMBER_AF_DAYS_MASK_MAP_FRIDAY (32) -#define EMBER_AF_DAYS_MASK_MAP_FRIDAY_OFFSET (5) -#define EMBER_AF_DAYS_MASK_MAP_SATURDAY (64) -#define EMBER_AF_DAYS_MASK_MAP_SATURDAY_OFFSET (6) -#define EMBER_AF_DL_CREDENTIAL_RULE_MASK_SINGLE (1) -#define EMBER_AF_DL_CREDENTIAL_RULE_MASK_SINGLE_OFFSET (0) -#define EMBER_AF_DL_CREDENTIAL_RULE_MASK_DUAL (2) -#define EMBER_AF_DL_CREDENTIAL_RULE_MASK_DUAL_OFFSET (1) -#define EMBER_AF_DL_CREDENTIAL_RULE_MASK_TRI (4) -#define EMBER_AF_DL_CREDENTIAL_RULE_MASK_TRI_OFFSET (2) -#define EMBER_AF_DL_CREDENTIAL_RULES_SUPPORT_SINGLE (1) -#define EMBER_AF_DL_CREDENTIAL_RULES_SUPPORT_SINGLE_OFFSET (0) -#define EMBER_AF_DL_CREDENTIAL_RULES_SUPPORT_DUAL (2) -#define EMBER_AF_DL_CREDENTIAL_RULES_SUPPORT_DUAL_OFFSET (1) -#define EMBER_AF_DL_CREDENTIAL_RULES_SUPPORT_TRI (4) -#define EMBER_AF_DL_CREDENTIAL_RULES_SUPPORT_TRI_OFFSET (2) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_ENABLE_LOCAL_PROGRAMMING_ENABLED (1) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_ENABLE_LOCAL_PROGRAMMING_ENABLED_OFFSET (0) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_KEYPAD_INTERFACE_DEFAULT_ACCESS_ENABLED (2) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_KEYPAD_INTERFACE_DEFAULT_ACCESS_ENABLED_OFFSET (1) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_REMOTE_INTERFACE_DEFAULT_ACCESS_IS_ENABLED (4) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_REMOTE_INTERFACE_DEFAULT_ACCESS_IS_ENABLED_OFFSET (2) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_SOUND_ENABLED (32) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_SOUND_ENABLED_OFFSET (5) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_AUTO_RELOCK_TIME_SET (64) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_AUTO_RELOCK_TIME_SET_OFFSET (6) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_LED_SETTINGS_SET (128) -#define EMBER_AF_DL_DEFAULT_CONFIGURATION_REGISTER_LED_SETTINGS_SET_OFFSET (7) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_UNKNOWN (1) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_UNKNOWN_OFFSET (0) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_LOCK (2) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_LOCK_OFFSET (1) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_UNLOCK (4) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_UNLOCK_OFFSET (2) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_LOCK_INVALID_PIN (8) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_LOCK_INVALID_PIN_OFFSET (3) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_LOCK_INVALID_SCHEDULE (16) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_LOCK_INVALID_SCHEDULE_OFFSET (4) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_UNLOCK_INVALID_CODE (32) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_UNLOCK_INVALID_CODE_OFFSET (5) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_UNLOCK_INVALID_SCHEDULE (64) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_UNLOCK_INVALID_SCHEDULE_OFFSET (6) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_NON_ACCESS_USER_OP_EVENT (128) -#define EMBER_AF_DL_KEYPAD_OPERATION_EVENT_MASK_NON_ACCESS_USER_OP_EVENT_OFFSET (7) -#define EMBER_AF_DL_KEYPAD_PROGRAMMING_EVENT_MASK_UNKNOWN (1) -#define EMBER_AF_DL_KEYPAD_PROGRAMMING_EVENT_MASK_UNKNOWN_OFFSET (0) -#define EMBER_AF_DL_KEYPAD_PROGRAMMING_EVENT_MASK_PROGRAMMING_PIN_CHANGED (2) -#define EMBER_AF_DL_KEYPAD_PROGRAMMING_EVENT_MASK_PROGRAMMING_PIN_CHANGED_OFFSET (1) -#define EMBER_AF_DL_KEYPAD_PROGRAMMING_EVENT_MASK_PIN_ADDED (4) -#define EMBER_AF_DL_KEYPAD_PROGRAMMING_EVENT_MASK_PIN_ADDED_OFFSET (2) -#define EMBER_AF_DL_KEYPAD_PROGRAMMING_EVENT_MASK_PIN_CLEARED (8) -#define EMBER_AF_DL_KEYPAD_PROGRAMMING_EVENT_MASK_PIN_CLEARED_OFFSET (3) -#define EMBER_AF_DL_KEYPAD_PROGRAMMING_EVENT_MASK_PIN_CHANGED (16) -#define EMBER_AF_DL_KEYPAD_PROGRAMMING_EVENT_MASK_PIN_CHANGED_OFFSET (4) -#define EMBER_AF_DL_LOCAL_PROGRAMMING_FEATURES_ADD_USERS_CREDENTIALS_SCHEDULES_LOCALLY (1) -#define EMBER_AF_DL_LOCAL_PROGRAMMING_FEATURES_ADD_USERS_CREDENTIALS_SCHEDULES_LOCALLY_OFFSET (0) -#define EMBER_AF_DL_LOCAL_PROGRAMMING_FEATURES_MODIFY_USERS_CREDENTIALS_SCHEDULES_LOCALLY (2) -#define EMBER_AF_DL_LOCAL_PROGRAMMING_FEATURES_MODIFY_USERS_CREDENTIALS_SCHEDULES_LOCALLY_OFFSET (1) -#define EMBER_AF_DL_LOCAL_PROGRAMMING_FEATURES_CLEAR_USERS_CREDENTIALS_SCHEDULES_LOCALLY (4) -#define EMBER_AF_DL_LOCAL_PROGRAMMING_FEATURES_CLEAR_USERS_CREDENTIALS_SCHEDULES_LOCALLY_OFFSET (2) -#define EMBER_AF_DL_LOCAL_PROGRAMMING_FEATURES_ADJUST_LOCK_SETTINGS_LOCALLY (8) -#define EMBER_AF_DL_LOCAL_PROGRAMMING_FEATURES_ADJUST_LOCK_SETTINGS_LOCALLY_OFFSET (3) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_UNKNOWN (1) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_UNKNOWN_OFFSET (0) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_THUMBTURN_LOCK (2) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_THUMBTURN_LOCK_OFFSET (1) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_THUMBTURN_UNLOCK (4) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_THUMBTURN_UNLOCK_OFFSET (2) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_ONE_TOUCH_LOCK (8) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_ONE_TOUCH_LOCK_OFFSET (3) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_KEY_LOCK (16) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_KEY_LOCK_OFFSET (4) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_KEY_UNLOCK (32) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_KEY_UNLOCK_OFFSET (5) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_AUTO_LOCK (64) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_AUTO_LOCK_OFFSET (6) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_SCHEDULE_LOCK (128) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_SCHEDULE_LOCK_OFFSET (7) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_SCHEDULE_UNLOCK (256) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_SCHEDULE_UNLOCK_OFFSET (8) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_MANUAL_LOCK (512) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_MANUAL_LOCK_OFFSET (9) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_MANUAL_UNLOCK (1024) -#define EMBER_AF_DL_MANUAL_OPERATION_EVENT_MASK_MANUAL_UNLOCK_OFFSET (10) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_UNKNOWN (1) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_UNKNOWN_OFFSET (0) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_LOCK (2) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_LOCK_OFFSET (1) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_UNLOCK (4) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_UNLOCK_OFFSET (2) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_LOCK_INVALID_RFID (8) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_LOCK_INVALID_RFID_OFFSET (3) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_LOCK_INVALID_SCHEDULE (16) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_LOCK_INVALID_SCHEDULE_OFFSET (4) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_UNLOCK_INVALID_RFID (32) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_UNLOCK_INVALID_RFID_OFFSET (5) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_UNLOCK_INVALID_SCHEDULE (64) -#define EMBER_AF_DL_RFID_OPERATION_EVENT_MASK_UNLOCK_INVALID_SCHEDULE_OFFSET (6) -#define EMBER_AF_DL_RFID_PROGRAMMING_EVENT_MASK_UNKNOWN (1) -#define EMBER_AF_DL_RFID_PROGRAMMING_EVENT_MASK_UNKNOWN_OFFSET (0) -#define EMBER_AF_DL_RFID_PROGRAMMING_EVENT_MASK_RFID_CODE_ADDED (32) -#define EMBER_AF_DL_RFID_PROGRAMMING_EVENT_MASK_RFID_CODE_ADDED_OFFSET (5) -#define EMBER_AF_DL_RFID_PROGRAMMING_EVENT_MASK_RFID_CODE_CLEARED (64) -#define EMBER_AF_DL_RFID_PROGRAMMING_EVENT_MASK_RFID_CODE_CLEARED_OFFSET (6) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_UNKNOWN (1) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_UNKNOWN_OFFSET (0) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_LOCK (2) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_LOCK_OFFSET (1) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_UNLOCK (4) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_UNLOCK_OFFSET (2) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_LOCK_INVALID_CODE (8) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_LOCK_INVALID_CODE_OFFSET (3) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_LOCK_INVALID_SCHEDULE (16) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_LOCK_INVALID_SCHEDULE_OFFSET (4) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_UNLOCK_INVALID_CODE (32) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_UNLOCK_INVALID_CODE_OFFSET (5) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_UNLOCK_INVALID_SCHEDULE (64) -#define EMBER_AF_DL_REMOTE_OPERATION_EVENT_MASK_UNLOCK_INVALID_SCHEDULE_OFFSET (6) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_UNKNOWN (1) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_UNKNOWN_OFFSET (0) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_PROGRAMMING_PIN_CHANGED (2) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_PROGRAMMING_PIN_CHANGED_OFFSET (1) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_PIN_ADDED (4) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_PIN_ADDED_OFFSET (2) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_PIN_CLEARED (8) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_PIN_CLEARED_OFFSET (3) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_PIN_CHANGED (16) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_PIN_CHANGED_OFFSET (4) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_RFID_CODE_ADDED (32) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_RFID_CODE_ADDED_OFFSET (5) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_RFID_CODE_CLEARED (64) -#define EMBER_AF_DL_REMOTE_PROGRAMMING_EVENT_MASK_RFID_CODE_CLEARED_OFFSET (6) -#define EMBER_AF_DL_SUPPORTED_OPERATING_MODES_NORMAL (1) -#define EMBER_AF_DL_SUPPORTED_OPERATING_MODES_NORMAL_OFFSET (0) -#define EMBER_AF_DL_SUPPORTED_OPERATING_MODES_VACATION (2) -#define EMBER_AF_DL_SUPPORTED_OPERATING_MODES_VACATION_OFFSET (1) -#define EMBER_AF_DL_SUPPORTED_OPERATING_MODES_PRIVACY (4) -#define EMBER_AF_DL_SUPPORTED_OPERATING_MODES_PRIVACY_OFFSET (2) -#define EMBER_AF_DL_SUPPORTED_OPERATING_MODES_NO_REMOTE_LOCK_UNLOCK (8) -#define EMBER_AF_DL_SUPPORTED_OPERATING_MODES_NO_REMOTE_LOCK_UNLOCK_OFFSET (3) -#define EMBER_AF_DL_SUPPORTED_OPERATING_MODES_PASSAGE (16) -#define EMBER_AF_DL_SUPPORTED_OPERATING_MODES_PASSAGE_OFFSET (4) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_SUNDAY (1) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_SUNDAY_OFFSET (0) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_MONDAY (2) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_MONDAY_OFFSET (1) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_TUESDAY (4) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_TUESDAY_OFFSET (2) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_WEDNESDAY (8) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_WEDNESDAY_OFFSET (3) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_THURSDAY (16) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_THURSDAY_OFFSET (4) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_FRIDAY (32) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_FRIDAY_OFFSET (5) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_SATURDAY (64) -#define EMBER_AF_DOOR_LOCK_DAY_OF_WEEK_SATURDAY_OFFSET (6) -#define EMBER_AF_DOOR_LOCK_FEATURE_PIN_CREDENTIAL (1) -#define EMBER_AF_DOOR_LOCK_FEATURE_PIN_CREDENTIAL_OFFSET (0) -#define EMBER_AF_DOOR_LOCK_FEATURE_RFID_CREDENTIAL (2) -#define EMBER_AF_DOOR_LOCK_FEATURE_RFID_CREDENTIAL_OFFSET (1) -#define EMBER_AF_DOOR_LOCK_FEATURE_FINGER_CREDENTIALS (4) -#define EMBER_AF_DOOR_LOCK_FEATURE_FINGER_CREDENTIALS_OFFSET (2) -#define EMBER_AF_DOOR_LOCK_FEATURE_LOGGING (8) -#define EMBER_AF_DOOR_LOCK_FEATURE_LOGGING_OFFSET (3) -#define EMBER_AF_DOOR_LOCK_FEATURE_WEEK_DAY_ACCESS_SCHEDULES (16) -#define EMBER_AF_DOOR_LOCK_FEATURE_WEEK_DAY_ACCESS_SCHEDULES_OFFSET (4) -#define EMBER_AF_DOOR_LOCK_FEATURE_DOOR_POSITION_SENSOR (32) -#define EMBER_AF_DOOR_LOCK_FEATURE_DOOR_POSITION_SENSOR_OFFSET (5) -#define EMBER_AF_DOOR_LOCK_FEATURE_FACE_CREDENTIALS (64) -#define EMBER_AF_DOOR_LOCK_FEATURE_FACE_CREDENTIALS_OFFSET (6) -#define EMBER_AF_DOOR_LOCK_FEATURE_CREDENTIALS_OVER_THE_AIR_ACCESS (128) -#define EMBER_AF_DOOR_LOCK_FEATURE_CREDENTIALS_OVER_THE_AIR_ACCESS_OFFSET (7) -#define EMBER_AF_DOOR_LOCK_FEATURE_USER (256) -#define EMBER_AF_DOOR_LOCK_FEATURE_USER_OFFSET (8) -#define EMBER_AF_DOOR_LOCK_FEATURE_NOTIFICATION (512) -#define EMBER_AF_DOOR_LOCK_FEATURE_NOTIFICATION_OFFSET (9) -#define EMBER_AF_DOOR_LOCK_FEATURE_YEAR_DAY_ACCESS_SCHEDULES (1024) -#define EMBER_AF_DOOR_LOCK_FEATURE_YEAR_DAY_ACCESS_SCHEDULES_OFFSET (10) -#define EMBER_AF_DOOR_LOCK_FEATURE_HOLIDAY_SCHEDULES (2048) -#define EMBER_AF_DOOR_LOCK_FEATURE_HOLIDAY_SCHEDULES_OFFSET (11) -#define EMBER_AF_ETHERNET_NETWORK_DIAGNOSTICS_FEATURE_PACKET_COUNTS (1) -#define EMBER_AF_ETHERNET_NETWORK_DIAGNOSTICS_FEATURE_PACKET_COUNTS_OFFSET (0) -#define EMBER_AF_ETHERNET_NETWORK_DIAGNOSTICS_FEATURE_ERROR_COUNTS (2) -#define EMBER_AF_ETHERNET_NETWORK_DIAGNOSTICS_FEATURE_ERROR_COUNTS_OFFSET (1) -#define EMBER_AF_FAN_CONTROL_FEATURE_MULTI_SPEED (1) -#define EMBER_AF_FAN_CONTROL_FEATURE_MULTI_SPEED_OFFSET (0) -#define EMBER_AF_FAN_CONTROL_FEATURE_AUTO (2) -#define EMBER_AF_FAN_CONTROL_FEATURE_AUTO_OFFSET (1) -#define EMBER_AF_FAN_CONTROL_FEATURE_ROCKING (4) -#define EMBER_AF_FAN_CONTROL_FEATURE_ROCKING_OFFSET (2) -#define EMBER_AF_FAN_CONTROL_FEATURE_WIND (8) -#define EMBER_AF_FAN_CONTROL_FEATURE_WIND_OFFSET (3) -#define EMBER_AF_FEATURE_LIFT (1) -#define EMBER_AF_FEATURE_LIFT_OFFSET (0) -#define EMBER_AF_FEATURE_TILT (2) -#define EMBER_AF_FEATURE_TILT_OFFSET (1) -#define EMBER_AF_FEATURE_POSITION_AWARE_LIFT (4) -#define EMBER_AF_FEATURE_POSITION_AWARE_LIFT_OFFSET (2) -#define EMBER_AF_FEATURE_ABSOLUTE_POSITION (8) -#define EMBER_AF_FEATURE_ABSOLUTE_POSITION_OFFSET (3) -#define EMBER_AF_FEATURE_POSITION_AWARE_TILT (16) -#define EMBER_AF_FEATURE_POSITION_AWARE_TILT_OFFSET (4) -#define EMBER_AF_GROUP_CLUSTER_FEATURE_GROUP_NAMES (1) -#define EMBER_AF_GROUP_CLUSTER_FEATURE_GROUP_NAMES_OFFSET (0) -#define EMBER_AF_KEYPAD_INPUT_FEATURE_NAVIGATION_KEY_CODES (1) -#define EMBER_AF_KEYPAD_INPUT_FEATURE_NAVIGATION_KEY_CODES_OFFSET (0) -#define EMBER_AF_KEYPAD_INPUT_FEATURE_LOCATION_KEYS (2) -#define EMBER_AF_KEYPAD_INPUT_FEATURE_LOCATION_KEYS_OFFSET (1) -#define EMBER_AF_KEYPAD_INPUT_FEATURE_NUMBER_KEYS (4) -#define EMBER_AF_KEYPAD_INPUT_FEATURE_NUMBER_KEYS_OFFSET (2) #define EMBER_AF_LEVEL_CONTROL_FEATURE_ON_OFF (1) #define EMBER_AF_LEVEL_CONTROL_FEATURE_ON_OFF_OFFSET (0) #define EMBER_AF_LEVEL_CONTROL_FEATURE_LIGHTING (2) #define EMBER_AF_LEVEL_CONTROL_FEATURE_LIGHTING_OFFSET (1) #define EMBER_AF_LEVEL_CONTROL_FEATURE_FREQUENCY (4) #define EMBER_AF_LEVEL_CONTROL_FEATURE_FREQUENCY_OFFSET (2) -#define EMBER_AF_LEVEL_CONTROL_OPTIONS_EXECUTE_IF_OFF (1) -#define EMBER_AF_LEVEL_CONTROL_OPTIONS_EXECUTE_IF_OFF_OFFSET (0) -#define EMBER_AF_LEVEL_CONTROL_OPTIONS_COUPLE_COLOR_TEMP_TO_LEVEL (2) -#define EMBER_AF_LEVEL_CONTROL_OPTIONS_COUPLE_COLOR_TEMP_TO_LEVEL_OFFSET (1) -#define EMBER_AF_MEDIA_INPUT_FEATURE_NAME_UPDATES (1) -#define EMBER_AF_MEDIA_INPUT_FEATURE_NAME_UPDATES_OFFSET (0) -#define EMBER_AF_MEDIA_PLAYBACK_FEATURE_ADVANCED_SEEK (1) -#define EMBER_AF_MEDIA_PLAYBACK_FEATURE_ADVANCED_SEEK_OFFSET (0) -#define EMBER_AF_MEDIA_PLAYBACK_FEATURE_VARIABLE_SPEED (2) -#define EMBER_AF_MEDIA_PLAYBACK_FEATURE_VARIABLE_SPEED_OFFSET (1) -#define EMBER_AF_MODE_MOTOR_DIRECTION_REVERSED (1) -#define EMBER_AF_MODE_MOTOR_DIRECTION_REVERSED_OFFSET (0) -#define EMBER_AF_MODE_CALIBRATION_MODE (2) -#define EMBER_AF_MODE_CALIBRATION_MODE_OFFSET (1) -#define EMBER_AF_MODE_MAINTENANCE_MODE (4) -#define EMBER_AF_MODE_MAINTENANCE_MODE_OFFSET (2) -#define EMBER_AF_MODE_LED_FEEDBACK (8) -#define EMBER_AF_MODE_LED_FEEDBACK_OFFSET (3) -#define EMBER_AF_MODE_FOR_SEQUENCE_HEAT_SETPOINT_PRESENT (1) -#define EMBER_AF_MODE_FOR_SEQUENCE_HEAT_SETPOINT_PRESENT_OFFSET (0) -#define EMBER_AF_MODE_FOR_SEQUENCE_COOL_SETPOINT_PRESENT (2) -#define EMBER_AF_MODE_FOR_SEQUENCE_COOL_SETPOINT_PRESENT_OFFSET (1) -#define EMBER_AF_MODE_SELECT_FEATURE_DEPONOFF (1) -#define EMBER_AF_MODE_SELECT_FEATURE_DEPONOFF_OFFSET (0) -#define EMBER_AF_NETWORK_COMMISSIONING_FEATURE_WI_FI_NETWORK_INTERFACE (1) -#define EMBER_AF_NETWORK_COMMISSIONING_FEATURE_WI_FI_NETWORK_INTERFACE_OFFSET (0) -#define EMBER_AF_NETWORK_COMMISSIONING_FEATURE_THREAD_NETWORK_INTERFACE (2) -#define EMBER_AF_NETWORK_COMMISSIONING_FEATURE_THREAD_NETWORK_INTERFACE_OFFSET (1) -#define EMBER_AF_NETWORK_COMMISSIONING_FEATURE_ETHERNET_NETWORK_INTERFACE (4) -#define EMBER_AF_NETWORK_COMMISSIONING_FEATURE_ETHERNET_NETWORK_INTERFACE_OFFSET (2) -#define EMBER_AF_OCCUPANCY_BITMAP_OCCUPIED (1) -#define EMBER_AF_OCCUPANCY_BITMAP_OCCUPIED_OFFSET (0) -#define EMBER_AF_OCCUPANCY_SENSOR_TYPE_BITMAP_PIR (1) -#define EMBER_AF_OCCUPANCY_SENSOR_TYPE_BITMAP_PIR_OFFSET (0) -#define EMBER_AF_OCCUPANCY_SENSOR_TYPE_BITMAP_ULTRASONIC (2) -#define EMBER_AF_OCCUPANCY_SENSOR_TYPE_BITMAP_ULTRASONIC_OFFSET (1) -#define EMBER_AF_OCCUPANCY_SENSOR_TYPE_BITMAP_PHYSICAL_CONTACT (4) -#define EMBER_AF_OCCUPANCY_SENSOR_TYPE_BITMAP_PHYSICAL_CONTACT_OFFSET (2) -#define EMBER_AF_ON_OFF_CONTROL_ACCEPT_ONLY_WHEN_ON (1) -#define EMBER_AF_ON_OFF_CONTROL_ACCEPT_ONLY_WHEN_ON_OFFSET (0) -#define EMBER_AF_ON_OFF_FEATURE_LIGHTING (1) -#define EMBER_AF_ON_OFF_FEATURE_LIGHTING_OFFSET (0) -#define EMBER_AF_OPERATIONAL_STATUS_GLOBAL (3) -#define EMBER_AF_OPERATIONAL_STATUS_GLOBAL_OFFSET (0) -#define EMBER_AF_OPERATIONAL_STATUS_LIFT (12) -#define EMBER_AF_OPERATIONAL_STATUS_LIFT_OFFSET (2) -#define EMBER_AF_OPERATIONAL_STATUS_TILT (48) -#define EMBER_AF_OPERATIONAL_STATUS_TILT_OFFSET (4) #define EMBER_AF_POWER_SOURCE_FEATURE_WIRED (1) #define EMBER_AF_POWER_SOURCE_FEATURE_WIRED_OFFSET (0) #define EMBER_AF_POWER_SOURCE_FEATURE_BATTERY (2) @@ -669,137 +283,3 @@ enum EmberAfTemperatureDisplayMode : uint8_t #define EMBER_AF_POWER_SOURCE_FEATURE_RECHARGEABLE_OFFSET (2) #define EMBER_AF_POWER_SOURCE_FEATURE_REPLACEABLE (8) #define EMBER_AF_POWER_SOURCE_FEATURE_REPLACEABLE_OFFSET (3) -#define EMBER_AF_PRESSURE_FEATURE_EXTENDED (1) -#define EMBER_AF_PRESSURE_FEATURE_EXTENDED_OFFSET (0) -#define EMBER_AF_PUMP_FEATURE_CONSTANT_PRESSURE (1) -#define EMBER_AF_PUMP_FEATURE_CONSTANT_PRESSURE_OFFSET (0) -#define EMBER_AF_PUMP_FEATURE_COMPENSATED_PRESSURE (2) -#define EMBER_AF_PUMP_FEATURE_COMPENSATED_PRESSURE_OFFSET (1) -#define EMBER_AF_PUMP_FEATURE_CONSTANT_FLOW (4) -#define EMBER_AF_PUMP_FEATURE_CONSTANT_FLOW_OFFSET (2) -#define EMBER_AF_PUMP_FEATURE_CONSTANT_SPEED (8) -#define EMBER_AF_PUMP_FEATURE_CONSTANT_SPEED_OFFSET (3) -#define EMBER_AF_PUMP_FEATURE_CONSTANT_TEMPERATURE (16) -#define EMBER_AF_PUMP_FEATURE_CONSTANT_TEMPERATURE_OFFSET (4) -#define EMBER_AF_PUMP_FEATURE_AUTOMATIC (32) -#define EMBER_AF_PUMP_FEATURE_AUTOMATIC_OFFSET (5) -#define EMBER_AF_PUMP_FEATURE_LOCAL (64) -#define EMBER_AF_PUMP_FEATURE_LOCAL_OFFSET (6) -#define EMBER_AF_PUMP_STATUS_DEVICE_FAULT (1) -#define EMBER_AF_PUMP_STATUS_DEVICE_FAULT_OFFSET (0) -#define EMBER_AF_PUMP_STATUS_SUPPLYFAULT (2) -#define EMBER_AF_PUMP_STATUS_SUPPLYFAULT_OFFSET (1) -#define EMBER_AF_PUMP_STATUS_SPEED_LOW (4) -#define EMBER_AF_PUMP_STATUS_SPEED_LOW_OFFSET (2) -#define EMBER_AF_PUMP_STATUS_SPEED_HIGH (8) -#define EMBER_AF_PUMP_STATUS_SPEED_HIGH_OFFSET (3) -#define EMBER_AF_PUMP_STATUS_LOCAL_OVERRIDE (16) -#define EMBER_AF_PUMP_STATUS_LOCAL_OVERRIDE_OFFSET (4) -#define EMBER_AF_PUMP_STATUS_RUNNING (32) -#define EMBER_AF_PUMP_STATUS_RUNNING_OFFSET (5) -#define EMBER_AF_PUMP_STATUS_REMOTE_PRESSURE (64) -#define EMBER_AF_PUMP_STATUS_REMOTE_PRESSURE_OFFSET (6) -#define EMBER_AF_PUMP_STATUS_REMOTE_FLOW (128) -#define EMBER_AF_PUMP_STATUS_REMOTE_FLOW_OFFSET (7) -#define EMBER_AF_PUMP_STATUS_REMOTE_TEMPERATURE (256) -#define EMBER_AF_PUMP_STATUS_REMOTE_TEMPERATURE_OFFSET (8) -#define EMBER_AF_ROCK_SUPPORT_MASK_ROCK_LEFT_RIGHT (1) -#define EMBER_AF_ROCK_SUPPORT_MASK_ROCK_LEFT_RIGHT_OFFSET (0) -#define EMBER_AF_ROCK_SUPPORT_MASK_ROCK_UP_DOWN (2) -#define EMBER_AF_ROCK_SUPPORT_MASK_ROCK_UP_DOWN_OFFSET (1) -#define EMBER_AF_ROCK_SUPPORT_MASK_ROCK_ROUND (4) -#define EMBER_AF_ROCK_SUPPORT_MASK_ROCK_ROUND_OFFSET (2) -#define EMBER_AF_SAFETY_STATUS_REMOTE_LOCKOUT (1) -#define EMBER_AF_SAFETY_STATUS_REMOTE_LOCKOUT_OFFSET (0) -#define EMBER_AF_SAFETY_STATUS_TAMPER_DETECTION (2) -#define EMBER_AF_SAFETY_STATUS_TAMPER_DETECTION_OFFSET (1) -#define EMBER_AF_SAFETY_STATUS_FAILED_COMMUNICATION (4) -#define EMBER_AF_SAFETY_STATUS_FAILED_COMMUNICATION_OFFSET (2) -#define EMBER_AF_SAFETY_STATUS_POSITION_FAILURE (8) -#define EMBER_AF_SAFETY_STATUS_POSITION_FAILURE_OFFSET (3) -#define EMBER_AF_SAFETY_STATUS_THERMAL_PROTECTION (16) -#define EMBER_AF_SAFETY_STATUS_THERMAL_PROTECTION_OFFSET (4) -#define EMBER_AF_SAFETY_STATUS_OBSTACLE_DETECTED (32) -#define EMBER_AF_SAFETY_STATUS_OBSTACLE_DETECTED_OFFSET (5) -#define EMBER_AF_SAFETY_STATUS_POWER (64) -#define EMBER_AF_SAFETY_STATUS_POWER_OFFSET (6) -#define EMBER_AF_SAFETY_STATUS_STOP_INPUT (128) -#define EMBER_AF_SAFETY_STATUS_STOP_INPUT_OFFSET (7) -#define EMBER_AF_SAFETY_STATUS_MOTOR_JAMMED (256) -#define EMBER_AF_SAFETY_STATUS_MOTOR_JAMMED_OFFSET (8) -#define EMBER_AF_SAFETY_STATUS_HARDWARE_FAILURE (512) -#define EMBER_AF_SAFETY_STATUS_HARDWARE_FAILURE_OFFSET (9) -#define EMBER_AF_SAFETY_STATUS_MANUAL_OPERATION (1024) -#define EMBER_AF_SAFETY_STATUS_MANUAL_OPERATION_OFFSET (10) -#define EMBER_AF_SAFETY_STATUS_PROTECTION (2048) -#define EMBER_AF_SAFETY_STATUS_PROTECTION_OFFSET (11) -#define EMBER_AF_SCENE_FEATURES_SCENE_NAMES (1) -#define EMBER_AF_SCENE_FEATURES_SCENE_NAMES_OFFSET (0) -#define EMBER_AF_SCENES_COPY_MODE_COPY_ALL_SCENES (1) -#define EMBER_AF_SCENES_COPY_MODE_COPY_ALL_SCENES_OFFSET (0) -#define EMBER_AF_SIMPLE_BITMAP_VALUE_A (1) -#define EMBER_AF_SIMPLE_BITMAP_VALUE_A_OFFSET (0) -#define EMBER_AF_SIMPLE_BITMAP_VALUE_B (2) -#define EMBER_AF_SIMPLE_BITMAP_VALUE_B_OFFSET (1) -#define EMBER_AF_SIMPLE_BITMAP_VALUE_C (4) -#define EMBER_AF_SIMPLE_BITMAP_VALUE_C_OFFSET (2) -#define EMBER_AF_SOFTWARE_DIAGNOSTICS_FEATURE_WATER_MARKS (1) -#define EMBER_AF_SOFTWARE_DIAGNOSTICS_FEATURE_WATER_MARKS_OFFSET (0) -#define EMBER_AF_SUPPORTED_STREAMING_PROTOCOL_DASH (1) -#define EMBER_AF_SUPPORTED_STREAMING_PROTOCOL_DASH_OFFSET (0) -#define EMBER_AF_SUPPORTED_STREAMING_PROTOCOL_HLS (2) -#define EMBER_AF_SUPPORTED_STREAMING_PROTOCOL_HLS_OFFSET (1) -#define EMBER_AF_SWITCH_FEATURE_LATCHING_SWITCH (1) -#define EMBER_AF_SWITCH_FEATURE_LATCHING_SWITCH_OFFSET (0) -#define EMBER_AF_SWITCH_FEATURE_MOMENTARY_SWITCH (2) -#define EMBER_AF_SWITCH_FEATURE_MOMENTARY_SWITCH_OFFSET (1) -#define EMBER_AF_SWITCH_FEATURE_MOMENTARY_SWITCH_RELEASE (4) -#define EMBER_AF_SWITCH_FEATURE_MOMENTARY_SWITCH_RELEASE_OFFSET (2) -#define EMBER_AF_SWITCH_FEATURE_MOMENTARY_SWITCH_LONG_PRESS (8) -#define EMBER_AF_SWITCH_FEATURE_MOMENTARY_SWITCH_LONG_PRESS_OFFSET (3) -#define EMBER_AF_SWITCH_FEATURE_MOMENTARY_SWITCH_MULTI_PRESS (16) -#define EMBER_AF_SWITCH_FEATURE_MOMENTARY_SWITCH_MULTI_PRESS_OFFSET (4) -#define EMBER_AF_THERMOSTAT_FEATURE_HEATING (1) -#define EMBER_AF_THERMOSTAT_FEATURE_HEATING_OFFSET (0) -#define EMBER_AF_THERMOSTAT_FEATURE_COOLING (2) -#define EMBER_AF_THERMOSTAT_FEATURE_COOLING_OFFSET (1) -#define EMBER_AF_THERMOSTAT_FEATURE_OCCUPANCY (4) -#define EMBER_AF_THERMOSTAT_FEATURE_OCCUPANCY_OFFSET (2) -#define EMBER_AF_THERMOSTAT_FEATURE_SCHEDULE_CONFIGURATION (8) -#define EMBER_AF_THERMOSTAT_FEATURE_SCHEDULE_CONFIGURATION_OFFSET (3) -#define EMBER_AF_THERMOSTAT_FEATURE_SETBACK (16) -#define EMBER_AF_THERMOSTAT_FEATURE_SETBACK_OFFSET (4) -#define EMBER_AF_THERMOSTAT_FEATURE_AUTO_MODE (32) -#define EMBER_AF_THERMOSTAT_FEATURE_AUTO_MODE_OFFSET (5) -#define EMBER_AF_THREAD_NETWORK_DIAGNOSTICS_FEATURE_PACKET_COUNTS (1) -#define EMBER_AF_THREAD_NETWORK_DIAGNOSTICS_FEATURE_PACKET_COUNTS_OFFSET (0) -#define EMBER_AF_THREAD_NETWORK_DIAGNOSTICS_FEATURE_ERROR_COUNTS (2) -#define EMBER_AF_THREAD_NETWORK_DIAGNOSTICS_FEATURE_ERROR_COUNTS_OFFSET (1) -#define EMBER_AF_THREAD_NETWORK_DIAGNOSTICS_FEATURE_MLE_COUNTS (4) -#define EMBER_AF_THREAD_NETWORK_DIAGNOSTICS_FEATURE_MLE_COUNTS_OFFSET (2) -#define EMBER_AF_THREAD_NETWORK_DIAGNOSTICS_FEATURE_MAC_COUNTS (8) -#define EMBER_AF_THREAD_NETWORK_DIAGNOSTICS_FEATURE_MAC_COUNTS_OFFSET (3) -#define EMBER_AF_UNIT_LOCALIZATION_FEATURE_TEMPERATURE_UNIT (1) -#define EMBER_AF_UNIT_LOCALIZATION_FEATURE_TEMPERATURE_UNIT_OFFSET (0) -#define EMBER_AF_WI_FI_NETWORK_DIAGNOSTICS_FEATURE_PACKET_COUNTS (1) -#define EMBER_AF_WI_FI_NETWORK_DIAGNOSTICS_FEATURE_PACKET_COUNTS_OFFSET (0) -#define EMBER_AF_WI_FI_NETWORK_DIAGNOSTICS_FEATURE_ERROR_COUNTS (2) -#define EMBER_AF_WI_FI_NETWORK_DIAGNOSTICS_FEATURE_ERROR_COUNTS_OFFSET (1) -#define EMBER_AF_WI_FI_SECURITY_UNENCRYPTED (1) -#define EMBER_AF_WI_FI_SECURITY_UNENCRYPTED_OFFSET (0) -#define EMBER_AF_WI_FI_SECURITY_WEP (2) -#define EMBER_AF_WI_FI_SECURITY_WEP_OFFSET (1) -#define EMBER_AF_WI_FI_SECURITY_WPA_PERSONAL (4) -#define EMBER_AF_WI_FI_SECURITY_WPA_PERSONAL_OFFSET (2) -#define EMBER_AF_WI_FI_SECURITY_WPA2_PERSONAL (8) -#define EMBER_AF_WI_FI_SECURITY_WPA2_PERSONAL_OFFSET (3) -#define EMBER_AF_WI_FI_SECURITY_WPA3_PERSONAL (16) -#define EMBER_AF_WI_FI_SECURITY_WPA3_PERSONAL_OFFSET (4) -#define EMBER_AF_WIND_SETTING_MASK_SLEEP_WIND (1) -#define EMBER_AF_WIND_SETTING_MASK_SLEEP_WIND_OFFSET (0) -#define EMBER_AF_WIND_SETTING_MASK_NATURAL_WIND (2) -#define EMBER_AF_WIND_SETTING_MASK_NATURAL_WIND_OFFSET (1) -#define EMBER_AF_WIND_SUPPORT_MASK_SLEEP_WIND (1) -#define EMBER_AF_WIND_SUPPORT_MASK_SLEEP_WIND_OFFSET (0) -#define EMBER_AF_WIND_SUPPORT_MASK_NATURAL_WIND (2) -#define EMBER_AF_WIND_SUPPORT_MASK_NATURAL_WIND_OFFSET (1)