Z-Wave Protocol Controller Reference
zwave_s0_sm.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
134#ifndef ZWAVE_S0_SM_H
135#define ZWAVE_S0_SM_H
136
137#include "zwave_s0_network.h"
138#ifdef __cplusplus
139extern "C" {
140#endif
141typedef enum {
149
163 uint8_t is_controller);
164
169void s0_bootstrapping_stop(void);
170
175void s0_scheme_report_received(uint8_t scheme, zwave_node_id_t from_node);
181
191#endif
uint16_t zwave_node_id_t
Z-Wave NodeID type.
Definition: zwave_node_id_definitions.h:84
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 receiv...
Definition: zwave_s0_sm.c:444
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 r...
Definition: zwave_s0_sm.c:463
void s0_bootstrapping_stop(void)
Stop the S0 bootstrapping timers.
Definition: zwave_s0_sm.c:495
s0_bootstrap_state_t get_s0_sm_state()
Get the state of S0 Bootstrap state machine.
Definition: zwave_s0_sm.c:490
s0_bootstrap_state_t
Definition: zwave_s0_sm.h:141
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 c...
Definition: zwave_s0_sm.c:485
void s0_bootstrapping_start(const zwave_controller_connection_info_t *conn, uint8_t is_controller)
Start the S0 add node process.
Definition: zwave_s0_sm.c:427
@ S0_HANDLE_NET_KEY_VERIFY
Definition: zwave_s0_sm.h:146
@ S0_AWAITING_2SCHEME_REPORT
Definition: zwave_s0_sm.h:147
@ S0_AWAITING_SCHEME_REPORT
Definition: zwave_s0_sm.h:143
@ S0_INC_IDLE
Definition: zwave_s0_sm.h:142
@ S0_AWAITING_KEY_VERIFY
Definition: zwave_s0_sm.h:145
@ S0_HANDLE_SCHEME_REPORT
Definition: zwave_s0_sm.h:144
void(* s0_on_bootstrapping_complete_cb)(zwave_keyset_t granted_keys, zwave_kex_fail_type_t kex_fail_code)
Definition: zwave_s0_network.h:41
Definition: transport_service.c:356
Structure holding information about the source and destination when transmitting and receiving Z-Wave...
Definition: zwave_controller_connection_info.h:87