Z-Wave Protocol Controller Reference
zwave_controller_callbacks.h File Reference
Include dependency graph for zwave_controller_callbacks.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  zwave_controller_callbacks_t
 The following structure holds all the callbacks this module will emit. More...
 

Macros

#define ZWAVE_CONTROLLER_MAXIMUM_CALLBACK_SUBSCRIBERS   20
 Maximum number of callbacks structures which may be registered. More...
 
#define ZWAVE_CONTROLLER_RESET_STEP_MIN_PRIORITY   0
 Minimum Priority for a reset step. More...
 
#define ZWAVE_CONTROLLER_CLEAN_UP_ASSOCIATIONS_STEP_PRIORITY   1
 Clean-up Associations to ourselves in the network. More...
 
#define ZWAVE_CONTROLLER_DEVICE_RESET_LOCALLY_STEP_PRIORITY   2
 Notify the lifeline destinations that we are resetting. More...
 
#define ZWAVE_CONTROLLER_SMART_START_LIST_UPDATE_STEP_PRIORITY   3
 Clean up the SmartStart as we exit the network. More...
 
#define ZWAVE_CONTROLLER_TX_FLUSH_RESET_STEP_PRIORITY   4
 Empty and flush the Tx Queue. More...
 
#define ZWAVE_CONTROLLER_ZWAVE_NETWORK_MANAGEMENT_RESET_STEP_PRIORITY   5
 reset the network for the Z-Wave API. This should be last. More...
 

Typedefs

typedef sl_status_t(* zwave_controller_reset_step_t) (void)
 

Functions

sl_status_t zwave_controller_register_callbacks (const zwave_controller_callbacks_t *callbacks)
 Let another component register its callbacks for Z-Wave Controller events. More...
 
sl_status_t zwave_controller_deregister_callbacks (const zwave_controller_callbacks_t *callbacks)
 Let another component deregister its callbacks for Z-Wave Controller events. More...
 
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. More...
 
void zwave_controller_on_reset_step_complete (int32_t priority)
 Informs the Z-Wave Controller that a Reset Step is completed. More...
 
void zwave_controller_callbacks_init ()
 Reset all callback structures. More...