50#ifndef ZWAVE_CONTROLLER_CALLBACKS_H
51#define ZWAVE_CONTROLLER_CALLBACKS_H
152 void (*on_dsk_report)(uint8_t input_length,
169 void (*on_application_frame_received)(
172 const uint8_t *frame_data,
173 uint16_t frame_length);
188 void (*on_protocol_frame_received)(
191 const uint8_t *frame_data,
192 uint16_t frame_length);
204 void (*on_protocol_cc_encryption_request)(
206 const uint8_t payload_length,
207 const uint8_t *
const payload,
208 const uint8_t protocol_metadata_length,
209 const uint8_t *
const protocol_metadata,
210 const uint8_t use_supervision,
211 const uint8_t session_id);
223 void (*on_smart_start_inclusion_request)(uint32_t
home_id,
224 bool already_included,
253 void (*on_request_neighbor_update)(uint8_t status);
259 void (*on_frame_transmission)(
bool transmission_successful,
278#define ZWAVE_CONTROLLER_MAXIMUM_CALLBACK_SUBSCRIBERS 20
282#define ZWAVE_CONTROLLER_RESET_STEP_MIN_PRIORITY 0
285#define ZWAVE_CONTROLLER_CLEAN_UP_ASSOCIATIONS_STEP_PRIORITY 1
287#define ZWAVE_CONTROLLER_DEVICE_RESET_LOCALLY_STEP_PRIORITY 2
289#define ZWAVE_CONTROLLER_SMART_START_LIST_UPDATE_STEP_PRIORITY 3
291#define ZWAVE_CONTROLLER_TX_FLUSH_RESET_STEP_PRIORITY 4
293#define ZWAVE_CONTROLLER_ZWAVE_NETWORK_MANAGEMENT_RESET_STEP_PRIORITY 5
uint32_t sl_status_t
Definition: sl_status.h:139
sl_status_t zwave_controller_register_reset_step(const zwave_controller_reset_step_t step_function, int32_t priority)
Let another component register a step to perform when being reset.
Definition: zwave_controller_callbacks.c:86
sl_status_t zwave_controller_register_callbacks(const zwave_controller_callbacks_t *callbacks)
Let another component register its callbacks for Z-Wave Controller events.
Definition: zwave_controller_callbacks.c:39
sl_status_t(* zwave_controller_reset_step_t)(void)
Definition: zwave_controller_callbacks.h:273
sl_status_t zwave_controller_deregister_callbacks(const zwave_controller_callbacks_t *callbacks)
Let another component deregister its callbacks for Z-Wave Controller events.
Definition: zwave_controller_callbacks.c:67
void zwave_controller_on_reset_step_complete(int32_t priority)
Informs the Z-Wave Controller that a Reset Step is completed.
Definition: zwave_controller_callbacks.c:122
void zwave_controller_callbacks_init()
Reset all callback structures.
Definition: zwave_controller_callbacks.c:141
uint8_t zwave_multicast_group_id_t
Definition: zwave_controller_types.h:43
uint8_t zwave_dsk_t[ZWAVE_DSK_LENGTH]
Definition: zwave_controller_types.h:41
enum zwave_protocol zwave_protocol_t
Z-Wave Inclusion Protocol (Z-Wave / Z-Wave Long Range).
uint8_t zwave_keyset_t
Definition: zwave_keyset_definitions.h:32
zwave_network_management_state_t
States of the Network Management module.
Definition: zwave_network_management_types.h:119
zwave_network_management_error_t
Definition: zwave_network_management_types.h:28
zwave_kex_fail_type_t
Error codes used in S2 inclusion.
Definition: zwave_network_management_types.h:59
uint32_t zwave_home_id_t
Z-Wave HomeID type.
Definition: zwave_node_id_definitions.h:87
uint16_t zwave_node_id_t
Z-Wave NodeID type.
Definition: zwave_node_id_definitions.h:84
Detailed report and data about Z-Wave transmissions.
Definition: zwapi_protocol_transport.h:225
The following structure holds all the callbacks this module will emit.
Definition: zwave_controller_callbacks.h:62
Structure holding information about the source and destination when transmitting and receiving Z-Wave...
Definition: zwave_controller_connection_info.h:87
Structure holding a Z-Wave node info frame.
Definition: zwave_controller_types.h:50
Describing receive parameters of a frame.
Definition: zwave_rx_definitions.h:35
const zwave_home_id_t home_id
const zwave_node_id_t node_id
Z-Wave API for transport application layer interface.
static send_data_state_t state
Definition: zwave_crc16_transport.c:52
static zwave_s2_network_callbacks_t callbacks
Definition: zwave_s2_network.c:30