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

Go to the source code of this file.

Enumerations

enum  s0_bootstrap_state_t {
  S0_INC_IDLE , S0_AWAITING_SCHEME_REPORT , S0_HANDLE_SCHEME_REPORT , S0_AWAITING_KEY_VERIFY ,
  S0_HANDLE_NET_KEY_VERIFY , S0_AWAITING_2SCHEME_REPORT
}
 

Functions

void s0_bootstrapping_start (const zwave_controller_connection_info_t *conn, uint8_t is_controller)
 Start the S0 add node process. More...
 
void s0_bootstrapping_stop (void)
 Stop the S0 bootstrapping timers. More...
 
void s0_scheme_report_received (uint8_t scheme, zwave_node_id_t from_node)
 This function is used to notify the S0 Inclusion state machine that S0 Scheme report frame was received. More...
 
void s0_network_key_verify_received (zwave_node_id_t from_node)
 This function is used to notify the S0 Inclusion state machine that S0 network key verify frame was received. More...
 
void s0_set_callback (s0_on_bootstrapping_complete_cb cb)
 Set callback function for the S0 bootstrap. This callback function is copied internally into S0 and called when S0 bootstrap is complete. More...
 
s0_bootstrap_state_t get_s0_sm_state ()
 Get the state of S0 Bootstrap state machine. More...