Collects send data callbacks from ZPC Attribute Resolver send and ZPC Attribute Resolver Group Send and relays them to the attribute_resolver.
More...
|
| struct | resolution_map |
| | Struct keeping track of a node resolved as well as the rule type being executed. More...
|
| |
Collects send data callbacks from ZPC Attribute Resolver send and ZPC Attribute Resolver Group Send and relays them to the attribute_resolver.
◆ resolution_map_t
Struct keeping track of a node resolved as well as the rule type being executed.
◆ add_node_in_resolution_list()
| void add_node_in_resolution_list |
( |
attribute_store_node_t |
new_node, |
|
|
resolver_rule_type_t |
rule_type |
|
) |
| |
Functions that adds a new node in the resolution list.
- Parameters
-
| new_node | Attribute Store node being resolved, to add in the list |
| rule_type | Rule type being executed. |
◆ attribute_resolver_abort_pending_resolution()
| sl_status_t attribute_resolver_abort_pending_resolution |
( |
attribute_store_node_t |
node | ) |
|
Aborts that removes a node from the resolution list.
- Parameters
-
| node | Attribute Store node no longer being resolved. |
◆ attribute_resolver_associate_node_with_tx_sessions_id()
Links a TX Session ID with a node under resolution.
- Parameters
-
| node | Attribute Store node being resolved. |
| tx_session_id | TX session ID returned by Z-Wave Tx to send a resolving frame. |
- Returns
- SL_STATUS_OK if associated, SL_STATUS_NOT_FOUND if the node is not under resolution
◆ attribute_resolver_callbacks_reset()
| void attribute_resolver_callbacks_reset |
( |
| ) |
|
Initializes the resources to keep track of ongoing resolutions and process send_data callbacks.
◆ is_node_in_resolution_list()
| bool is_node_in_resolution_list |
( |
attribute_store_node_t |
node | ) |
|
Helper function verifying if we are currently waiting for a send data callback for a given node resolution.
- Parameters
-
| node | Attribute Store node being resolved. |
- Returns
- true if the node is being resolved, false otherwise
◆ on_resolver_zwave_send_data_complete()
| void on_resolver_zwave_send_data_complete |
( |
uint8_t |
status, |
|
|
const zwapi_tx_report_t * |
tx_info, |
|
|
void * |
user |
|
) |
| |
Send_data callback for transmissions that did not use Supervision encapsulation.
- Parameters
-
| status | Indicates how the transmission operation was completed. Refer for Z-Wave API send_data return codes for details. |
| tx_info | zwapi_tx_report_t reported by the Z-Wave API. It contains transmission details, refer to zwapi_tx_report_t. |
| user | User pointer provided in from this component. Must be a resolution_map_t pointer |
◆ on_resolver_zwave_supervision_complete()
| void on_resolver_zwave_supervision_complete |
( |
uint8_t |
supervision_status, |
|
|
const zwapi_tx_report_t * |
tx_info, |
|
|
void * |
user |
|
) |
| |
Send_data callback for transmissions that used Supervision encapsulation.
- Parameters
-
| supervision_status | Supervision status returned by the node. |
| tx_info | zwapi_tx_report_t reported by the Z-Wave API. It contains transmission details, refer to zwapi_tx_report_t. |
| user | User pointer provided in from this component. Must be a resolution_map_t pointer |
◆ remove_node_from_resolution_list()
| void remove_node_from_resolution_list |
( |
attribute_store_node_t |
node | ) |
|
Functions that removes a node from the resolution list.
- Parameters
-
| node | Attribute Store node no longer being resolved. |