26#ifndef ATTRIBUTE_TRANSITIONS_H
27#define ATTRIBUTE_TRANSITIONS_H
uint32_t clock_time_t
Definition: contiki-conf.h:31
attribute_store_node_value_state_t
This is the value state of a value.
Definition: attribute_store.h:121
datastore_attribute_id_t attribute_store_node_t
Handle to identify attribute store nodes.
Definition: attribute_store.h:101
sl_status_t attribute_start_transition(attribute_store_node_t node, clock_time_t duration)
Starts a transition from the REPORTED to the DESIRED value of an attribute following the indicated du...
int attribute_transitions_teardown()
Teardown the Unify attribute transition component.
clock_time_t attribute_transition_get_remaining_duration(attribute_store_node_t node)
Retrieves the remaining time for a transition.
bool is_attribute_transition_ongoing(attribute_store_node_t node)
Verifies if a transition is ongoing for an attribute.
sl_status_t attribute_start_fixed_transition(attribute_store_node_t node, attribute_store_node_value_state_t value_type, float target_value, float step, clock_time_t step_interval)
Start attribute transition with a fixed step, target value and interval.
sl_status_t attribute_transitions_init()
Initializes the Unify attribute transition component.
sl_status_t attribute_stop_transition(attribute_store_node_t node)
Stops an ongoing transition for an attribute.
uint32_t sl_status_t
Definition: sl_status.h:139