|
Wirepas SDK
|
|
Go to the documentation of this file.
13 #ifndef _LOCAL_PROVISIONING_H_
14 #define _LOCAL_PROVISIONING_H_
46 typedef const app_lib_joining_received_beacon_t *
47 (*local_provisioning_joining_beacon_selection_f)
48 (
const app_lib_joining_received_beacon_t * beacons);
116 #endif //_LOCAL_PROVISIONING_H_
bool Local_provisioning_is_provisioned()
Is the node provisioned A node is considered provisioned if it has a valid config with network securi...
void Local_provisioning_reset_node()
Reset all node settings.
@ LOCAL_PROVISIONING_RES_WRONG_STATE
Pre shared key structure.
bool(* local_provisioning_joining_done_cb)(bool success)
Callback to be notified when local provisioning joining is finished It is an information for app.
const typedef app_lib_joining_received_beacon_t *(* local_provisioning_joining_beacon_selection_f)(const app_lib_joining_received_beacon_t *beacons)
Selects which joining beacon to connect to at the end of a scan.
Local_provisioning_res_e Local_provisioning_init(local_provisioning_psk_t *psk, local_provisioning_proxy_enabled_cb on_proxy_enabled_cb)
Initialize the Local provisioning library.
Local_provisioning_res_e Local_provisioning_start_joining(local_provisioning_joining_beacon_selection_f cb_beacons, local_provisioning_joining_done_cb cb_end)
Start a joining session Node will start a joining request.
void(* local_provisioning_proxy_enabled_cb)(bool enabled)
Callback to be notified when proxy is enabled It is an information for app. It can be used to blink a...
@ LOCAL_PROVISIONING_RES_INTERNAL_ERROR
@ LOCAL_PROVISIONING_RES_UNPROVISIONED
@ LOCAL_PROVISIONING_RES_UNINTIALLIZED
@ LOCAL_PROVISIONING_RES_SUCCESS
@ LOCAL_PROVISIONING_RES_ALREADY_PROVISIONED