Zigbee Protocol Controller 1.6.0
Level Cluster Mapper

Maps Level Cluster incoming Commands to attribute modifications. More...

Functions

void level_cluster_mapper_init (void)
 Intitialise the Level cluster mapper. More...
 
void level_cluster_mapper_teardown (void)
 Clears the Level cluster mapper from all its content. More...
 
sl_status_t level_cluster_mapper_move_to_level_with_on_off (dotdot_unid_t unid, uint8_t endpoint, uic_mqtt_dotdot_callback_call_type_t call_type, uint8_t level, uint16_t transition_time, uint8_t options_mask, uint8_t options_override)
 
sl_status_t level_cluster_mapper_move_to_level (dotdot_unid_t unid, dotdot_endpoint_id_t endpoint, uic_mqtt_dotdot_callback_call_type_t call_type, uint8_t level, uint16_t transition_time, uint8_t options_mask, uint8_t options_override)
 

Detailed Description

Maps Level Cluster incoming Commands to attribute modifications.

This module is used to register callbacks for incoming Level Cluster Commands and update the corresponding ZCL attributes in the Attribute Store .

Function Documentation

◆ level_cluster_mapper_init()

void level_cluster_mapper_init ( void  )

Intitialise the Level cluster mapper.

◆ level_cluster_mapper_move_to_level()

sl_status_t level_cluster_mapper_move_to_level ( dotdot_unid_t  unid,
dotdot_endpoint_id_t  endpoint,
uic_mqtt_dotdot_callback_call_type_t  call_type,
uint8_t  level,
uint16_t  transition_time,
uint8_t  options_mask,
uint8_t  options_override 
)

◆ level_cluster_mapper_move_to_level_with_on_off()

sl_status_t level_cluster_mapper_move_to_level_with_on_off ( dotdot_unid_t  unid,
uint8_t  endpoint,
uic_mqtt_dotdot_callback_call_type_t  call_type,
uint8_t  level,
uint16_t  transition_time,
uint8_t  options_mask,
uint8_t  options_override 
)

Move to level command used by the on/off cluster

◆ level_cluster_mapper_teardown()

void level_cluster_mapper_teardown ( void  )

Clears the Level cluster mapper from all its content.