|
Z-Wave Protocol Controller Reference
|
Interface to Z-Wave S0 Inclusion State Machine. More...
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... | |
Interface to Z-Wave S0 Inclusion State Machine.
| enum s0_bootstrap_state_t |
| s0_bootstrap_state_t get_s0_sm_state | ( | ) |
Get the state of S0 Bootstrap state machine.
| void s0_bootstrapping_start | ( | const zwave_controller_connection_info_t * | conn, |
| uint8_t | is_controller | ||
| ) |
Start the S0 add node process.
Calling this function will make the S0 FSM start the bootstrap process of a newly added node. This must be called right after ADD_NODE_DONE event for nodes supporting COMMAND_CLASS_SECURITY
| conn | zwave_controller_connection_info_t structure |
| is_controller | If the node being included controller. To do extra S0 boot strapping steps for controllers |
| void s0_bootstrapping_stop | ( | void | ) |
Stop the S0 bootstrapping timers.
| 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.
| 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.
| 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.