Zigbee Protocol Controller 1.6.0
DotDot MQTT Value names for attributes not covered automatically by ZCL

Additional string/value pairs for DotDot Serializer. More...

Functions

bool uic_dotdot_has_attribute_value_a_name (dotdot_cluster_id_t cluster_id, dotdot_attribute_id_t attribute_id, int64_t value)
 Checks if a Cluster ID / Attribute ID / value has a name. More...
 
std::string uic_dotdot_get_attribute_value_name (dotdot_cluster_id_t cluster_id, dotdot_attribute_id_t attribute_id, int64_t value)
 Checks if a Cluster ID / Attribute ID / value has a name. More...
 

Detailed Description

Additional string/value pairs for DotDot Serializer.

Function Documentation

◆ uic_dotdot_get_attribute_value_name()

std::string uic_dotdot_get_attribute_value_name ( dotdot_cluster_id_t  cluster_id,
dotdot_attribute_id_t  attribute_id,
int64_t  value 
)

Checks if a Cluster ID / Attribute ID / value has a name.

Parameters
cluster_idCluster ID, for example 0x0006 or DOTDOT_ON_OFF_CLUSTER_ID
attribute_idAttribute ID, for example 0x0000 or DOTDOT_ON_OFF_ON_OFF_ATTRIBUTE_ID
valueValue for the attribute ID
Returns
String with the name of the value. Empty string in case of error

◆ uic_dotdot_has_attribute_value_a_name()

bool uic_dotdot_has_attribute_value_a_name ( dotdot_cluster_id_t  cluster_id,
dotdot_attribute_id_t  attribute_id,
int64_t  value 
)

Checks if a Cluster ID / Attribute ID / value has a name.

Parameters
cluster_idCluster ID, for example 0x0006 or DOTDOT_ON_OFF_CLUSTER_ID
attribute_idAttribute ID, for example 0x0000 or DOTDOT_ON_OFF_ON_OFF_ATTRIBUTE_ID
valueValue for the attribute ID
Returns
true if the value is special and has a name, false otherwise