Skip to content

Commit 15eb74a

Browse files
ptphan28rzr
authored andcommitted
UIC-3273: Generated files for Unify_MultilevelSensor Cluster
[Philippe Coval] This change has been applied without any change and will be forwarded to: This change was made from uic repo by exporting patch using: git format-patch -1 943ae4c683f819ae8b6407ee29aa4f7c9bd69ddf And then applied on top of z-wave/core/zpc/main (dangling branch of Unify, currently in rzr fork, that may be pushed to public Unify repo) git apply -i 0001-UIC-3273-Generated-files-for-Unify_MultilevelSensor-.patch Then a patch is generated for z-p-c project using: git format-patch --no-numbered \ -o ~/mnt/z-wave-protocol-controller/patches/UnifySDK/ \ ver_1.7.0 Bug-SiliconLabs: UIC-3273 Origin: ver_1.7.0-unstable-22-g943ae4c683 Origin: s.s.com/projects/UIC/repos/uic/pull-requests/2855 Relate-to: SiliconLabsSoftware/z-wave-protocol-controller#44 Forwarded: https://github.com/rzr/UnifySDK/tree/z-wave/core/zpc/main Forwarded: SiliconLabsSoftware/z-wave-protocol-controller#143 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 parent 049707c commit 15eb74a

File tree

37 files changed

+3015
-1
lines changed

37 files changed

+3015
-1
lines changed

applications/dev_ui/dev_gui/zap-generated/src/cluster-types/cluster-type-attributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//This file is generated automatically. Don't try to change something here.
22
//To add support for new clusters, modify addon-helper.js
33
//To change the stucture of the ClusterTypeAttrs, modify cluster-type-attributes.zapt
4-
4+
55

66
//generate ClusterTypes
77
export let ClusterTypeAttrs: any = {

components/uic_dotdot/zap-generated/include/dotdot_attribute_id_definitions.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,9 @@ typedef enum {
831831
#define DOTDOT_NAME_AND_LOCATION_LOCATION_ATTRIBUTE_ID ((dotdot_attribute_id_t)0x1)
832832
// Definitions for cluster: ConfigurationParameters
833833
#define DOTDOT_CONFIGURATION_PARAMETERS_CONFIGURATION_PARAMETERS_ATTRIBUTE_ID ((dotdot_attribute_id_t)0x0)
834+
// Definitions for cluster: MultilevelSensor
835+
#define DOTDOT_MULTILEVEL_SENSOR_SENSOR_VALUES_ATTRIBUTE_ID ((dotdot_attribute_id_t)0x0)
836+
#define DOTDOT_MULTILEVEL_SENSOR_SENSOR_TYPE_ATTRIBUTE_ID ((dotdot_attribute_id_t)0x1)
834837
// Definitions for cluster: AoXLocator
835838
#define DOTDOT_AOX_LOCATOR_REPORTING_MODE_ATTRIBUTE_ID ((dotdot_attribute_id_t)0x1)
836839
#define DOTDOT_AOX_LOCATOR_POSITION_AND_ORIENTATION_VALID_ATTRIBUTE_ID ((dotdot_attribute_id_t)0x2)

components/uic_dotdot/zap-generated/include/dotdot_cluster_command_id_definitions.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@
353353
#define DOTDOT_CONFIGURATION_PARAMETERS_SET_PARAMETER_COMMAND_ID (0x3)
354354
#define DOTDOT_CONFIGURATION_PARAMETERS_DISCOVER_PARAMETER_RANGE_COMMAND_ID (0x4)
355355

356+
// Commands for cluster: MultilevelSensor
357+
356358
// Commands for cluster: AoXLocator
357359
#define DOTDOT_AOX_LOCATOR_IQ_REPORT_COMMAND_ID (0x1)
358360
#define DOTDOT_AOX_LOCATOR_ANGLE_REPORT_COMMAND_ID (0x2)

components/uic_dotdot/zap-generated/include/dotdot_cluster_id_definitions.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@
238238
#define DOTDOT_CONFIGURATION_PARAMETERS_CLUSTER_ID ((dotdot_cluster_id_t)0xFD07)
239239

240240

241+
// Definitions for cluster: MultilevelSensor
242+
#define DOTDOT_MULTILEVEL_SENSOR_CLUSTER_ID ((dotdot_cluster_id_t)0xFD09)
243+
244+
241245
// Definitions for cluster: AoXLocator
242246
#define DOTDOT_AOX_LOCATOR_CLUSTER_ID ((dotdot_cluster_id_t)0xFD10)
243247

components/uic_dotdot/zap-generated/include/zap-types.h

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,96 @@ typedef enum {
946946
ZCL_MOVE_STEP_MODE_DOWN = 1,
947947
} MoveStepMode;
948948

949+
// Enum for MultilevelSensorSensorType
950+
typedef enum {
951+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_AIR_TEMPERATURE = 1,
952+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_ILLUMINANCE = 3,
953+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_POWER = 4,
954+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_HUMIDITY = 5,
955+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_VELOCITY = 6,
956+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_DIRECTION = 7,
957+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_ATMOSPHERIC_PRESSURE = 8,
958+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_BAROMETRIC_PRESSURE = 9,
959+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_SOLAR_RADIATION = 10,
960+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_DEW_POINT = 11,
961+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_RAIN_RATE = 12,
962+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_TIDE_LEVEL = 13,
963+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_WEIGHT = 14,
964+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_VOLTAGE = 15,
965+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_CURRENT = 16,
966+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_CARBON_DIOXIDE_CO2_LEVEL = 17,
967+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_AIR_FLOW = 18,
968+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_TANK_CAPACITY = 19,
969+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_DISTANCE = 20,
970+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_ROTATION = 22,
971+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_WATER_TEMPURATURE = 23,
972+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_SOIL_TEMPURATURE = 24,
973+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_SEISMIC_INTENSITY = 25,
974+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_SEISMIC_MAGNITUDE = 26,
975+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_ULTRAVIOLET = 27,
976+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_ELECTRICAL_RESISTIVITY = 28,
977+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_ELECTRICAL_CONDUCTIVITY = 29,
978+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_LOUDNESS = 30,
979+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_MOISTURE = 31,
980+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_FREQUENCY = 32,
981+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_TIME = 33,
982+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_TARGET_TEMPERATURE = 34,
983+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_PARTICULATE_MATTER2__5 = 35,
984+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_FORMALDEHYDE_LEVEL = 36,
985+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_RADON_CONCENTRATION = 37,
986+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_METHANE_DENSITY = 38,
987+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_VOLATILE_ORGANIC_COMPOUND_LEVEL = 39,
988+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_CARBON_MONOXIDE_LEVEL = 40,
989+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_SOIL_HUMIDITY = 41,
990+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_SOIL_REACTIVITY = 42,
991+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_SOIL_SALINITY = 43,
992+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_HEART_RATE = 44,
993+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_BLOOD_PRESSURE = 45,
994+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_MUSCLE_MASS = 46,
995+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_FAT_MASS = 47,
996+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_BONE_MASS = 48,
997+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_TOTAL_BODY_WATER = 49,
998+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_BASIS_METABOLIC_RATE = 50,
999+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_BODY_MASS_INDEX = 51,
1000+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_ACCELERATION_X_AXIS = 52,
1001+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_ACCELERATION_Y_AXIS = 53,
1002+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_ACCELERATION_Z_AXIS = 54,
1003+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_SMOKE_DENSITY = 55,
1004+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_WATER_FLOW = 56,
1005+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_WATER_PRESSURE = 57,
1006+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_RF_SIGNAL_STRENGTH = 58,
1007+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_PARTICULATE_MATTER10 = 59,
1008+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_RESPIRATORY_RATE = 60,
1009+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_RELATIVE_MODULATION_LEVEL = 61,
1010+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_BOILER_WATER_TEMPERATURE = 62,
1011+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_DOMESTIC_HOT_WATER_TEMPERATURE = 63,
1012+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_OUTSIDE_TEMPERATURE = 64,
1013+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_EXHAUST_TEMPERATURE = 65,
1014+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_WATER_CHLORINE_LEVEL = 66,
1015+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_WATER_ACIDITY = 67,
1016+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_WATER_OXIDATION_REDUCTION_POTENTIAL = 68,
1017+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_HEART_RATE_LFHF_RATIO = 69,
1018+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_MOTION_DIRECTION = 70,
1019+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_APPLIED_FORCE_ON_THE_SENSOR = 71,
1020+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_RETURN_AIR_TEMPERATURE = 72,
1021+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_SUPPLY_AIR_TEMPERATURE = 73,
1022+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_CONDENSER_COIL_TEMPERATURE = 74,
1023+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_EVAPRORATOR_COIL_TEMPERATURE = 75,
1024+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_LIQUID_LINE_TEMPERATURE = 76,
1025+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_DISCHARGE_LINE_TEMPERATURE = 77,
1026+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_SUCTION_PRESSURE = 78,
1027+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_DISCHARGE_PRESSURE = 79,
1028+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_DEFROST_TEMPERATURE = 80,
1029+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_OZONE = 81,
1030+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_SULFUR_DIOXIDE = 82,
1031+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_NITROGEN_DIOXIDE = 83,
1032+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_AMMONIA = 84,
1033+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_LEAD = 85,
1034+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_PARTICULATE_MATTER1 = 86,
1035+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_PERSON_COUNTER_ENTERING = 87,
1036+
ZCL_MULTILEVEL_SENSOR_SENSOR_TYPE_PERSON_COUNTER_EXITING = 88,
1037+
} MultilevelSensorSensorType;
1038+
9491039
// Enum for NM_State
9501040
typedef enum {
9511041
ZCL_NM_STATE_IDLE = 0,
@@ -2284,6 +2374,12 @@ typedef struct _SSceneTable {
22842374
const char* SceneTableExtensions;
22852375
} SSceneTable;
22862376

2377+
// Struct for SensorValue
2378+
typedef struct _SensorValue {
2379+
int32_t Value;
2380+
uint8_t Scale;
2381+
} SensorValue;
2382+
22872383
// Struct for SphericalCoordinates
22882384
typedef struct _SphericalCoordinates {
22892385
double Azimuth;

0 commit comments

Comments
 (0)