Zigbee Protocol Controller 1.6.0
unify_dotdot_attribute_store_command_callbacks_door_lock.c File Reference

Macros

#define LOG_TAG   "unify_dotdot_attribute_store_doorlock_commands_callbacks"
 

Functions

static void set_lock_to_secured (attribute_store_node_t node)
 
static void on_lock_state_reported_update (attribute_store_node_t updated_node, attribute_store_change_t change)
 
static sl_status_t doorlock_lock_command (const dotdot_unid_t unid, const dotdot_endpoint_id_t endpoint, const uic_mqtt_dotdot_callback_call_type_t callback_type, const char *pin_code)
 
static sl_status_t doorlock_unLock_command (const dotdot_unid_t unid, const dotdot_endpoint_id_t endpoint, uic_mqtt_dotdot_callback_call_type_t callback_type, const char *pin_code)
 
static sl_status_t toggle_command (const dotdot_unid_t unid, const dotdot_endpoint_id_t endpoint, uic_mqtt_dotdot_callback_call_type_t callback_type, const char *pin_code)
 
static sl_status_t unlock_with_timeout_command (const dotdot_unid_t unid, const dotdot_endpoint_id_t endpoint, uic_mqtt_dotdot_callback_call_type_t callback_type, uint16_t timeout_in_seconds, const char *pin_orrfid_code)
 
void door_lock_cluster_mapper_init ()
 Intitialise the DoorLock cluster mapper. More...
 

Macro Definition Documentation

◆ LOG_TAG

#define LOG_TAG   "unify_dotdot_attribute_store_doorlock_commands_callbacks"

Function Documentation

◆ doorlock_lock_command()

static sl_status_t doorlock_lock_command ( const dotdot_unid_t  unid,
const dotdot_endpoint_id_t  endpoint,
const uic_mqtt_dotdot_callback_call_type_t  callback_type,
const char *  pin_code 
)
static

◆ doorlock_unLock_command()

static sl_status_t doorlock_unLock_command ( const dotdot_unid_t  unid,
const dotdot_endpoint_id_t  endpoint,
uic_mqtt_dotdot_callback_call_type_t  callback_type,
const char *  pin_code 
)
static

◆ on_lock_state_reported_update()

static void on_lock_state_reported_update ( attribute_store_node_t  updated_node,
attribute_store_change_t  change 
)
static

◆ set_lock_to_secured()

static void set_lock_to_secured ( attribute_store_node_t  node)
static

◆ toggle_command()

static sl_status_t toggle_command ( const dotdot_unid_t  unid,
const dotdot_endpoint_id_t  endpoint,
uic_mqtt_dotdot_callback_call_type_t  callback_type,
const char *  pin_code 
)
static

◆ unlock_with_timeout_command()

static sl_status_t unlock_with_timeout_command ( const dotdot_unid_t  unid,
const dotdot_endpoint_id_t  endpoint,
uic_mqtt_dotdot_callback_call_type_t  callback_type,
uint16_t  timeout_in_seconds,
const char *  pin_orrfid_code 
)
static