Interface for requesting S0 bootstrapping of a node and resistering callbacks to get notified when the S0 bootstrapping has failed or succeeded.
More...
Interface for requesting S0 bootstrapping of a node and resistering callbacks to get notified when the S0 bootstrapping has failed or succeeded.
◆ s0_on_bootstrapping_complete_cb
Bootstrapping S0 complete event.
- Parameters
-
| granted_keys | |
| kex_fail_code | |
- Returns
- true if success, false if failure
◆ zwave_s0_network_init()
Initialize the S0 network layer.
This function must be called when ever the home ID or node ID of the controller changes.
◆ zwave_s0_set_network_callbacks()
Set callback function for the S0 inclusion. This function ptr is saved internally in s0.
- Parameters
-
◆ zwave_s0_start_bootstrapping()
| void zwave_s0_start_bootstrapping |
( |
zwave_node_id_t |
node_id, |
|
|
uint8_t |
is_controller |
|
) |
| |
Start the S0 add node process.
Calling this function will make the S0 FSM start the inclusion process of a newly added node. This must be called right after ADD_NODE_DONE event for nodes supporting COMMAND_CLASS_SECURITY0
- Parameters
-
| node_id | The node we wish to S0 bootstrap |
| is_controller | Set to 1 if the node to bootstrap is a controller, 0 for an end node. |
◆ zwave_s0_start_learn_mode()
Start S0 learn mode.
- Parameters
-
| our_nodeid | Our new node id |
◆ zwave_s0_stop_bootstrapping()
| void zwave_s0_stop_bootstrapping |
( |
| ) |
|
Stop the S2 bootstrapping.