app_priv.h
used by app_driver.cpp app_main.cpp
API
Ctypedef void *app_driver_handle_t
Fapp_driver_handle_t app_driver_button_init()
Initialize the button driver This initializes the button driver associated with the selected board. @return Handle on success. @return NULL in case of failure.
Fesp_err_t app_driver_led_init()
Initialize the onboard WS2812 used as the bolt-state indicator. @return ESP_OK on success, error otherwise (the indicator then stays dark).
Fvoid app_driver_led_lock_state(bool locked, bool aliro)
Drive the bolt-state indicator. @param[in] locked true to extinguish the LED, false to light it. @param[in] aliro true when the UWB approach path drove the unlock (lights blue instead of green). Ignored when locked is true.
Fesp_err_t app_driver_attribute_update(app_driver_handle_t driver_handle, uint16_t endpoint_id, uint32_t cluster_id, uint32_t attribute_id, esp_matter_attr_val_t *val)
Driver Update This API should be called to update the driver for the attribute being updated. This is usually called from the common app_attribute_update_cb(). @param[in] endpoint_id Endpoint ID of the attribute. @param[in] cluster_id Cluster ID of the attribute. @param[in] attribute_id Attribute ID of the attribute. @param[in] val Pointer to esp_matter_attr_val_t. Use appropriate elements as per the value type. @return ESP_OK on success. @return error in case of failure.
Fvoid door_lock_init()
The definition and invocation of this function are intended to resolve the issue: unable to link and call the callback functions defined in the door_lock_callbacks.cpp file.