network-provisioning-zephyr
Zephyr port of Espressif's network provisioning protocol (Wi-Fi over BLE / SoftAP / console)
Loading...
Searching...
No Matches
network_prov_mgr_config Struct Reference

Manager configuration passed to network_prov_mgr_init. More...

#include <network_prov_mgr.h>

Collaboration diagram for network_prov_mgr_config:
[legend]

Data Fields

const struct network_prov_scheme * scheme
 Transport scheme object, e.g.
 
struct network_prov_event_handler app_event_handler
 Application event handler (may have a NULL callback).
 
uint32_t wifi_conn_attempts
 Maximum Wi-Fi connection attempts per provisioning try.
 

Detailed Description

Manager configuration passed to network_prov_mgr_init.

Definition at line 87 of file network_prov_mgr.h.

Field Documentation

◆ app_event_handler

struct network_prov_event_handler network_prov_mgr_config::app_event_handler

Application event handler (may have a NULL callback).

Definition at line 91 of file network_prov_mgr.h.

◆ scheme

const struct network_prov_scheme* network_prov_mgr_config::scheme

Transport scheme object, e.g.

&network_prov_scheme_ble.

Definition at line 89 of file network_prov_mgr.h.

◆ wifi_conn_attempts

uint32_t network_prov_mgr_config::wifi_conn_attempts

Maximum Wi-Fi connection attempts per provisioning try.

While attempts remain, a failed connect is retried automatically and status polls report Connecting with the attempts remaining (WifiAttemptFailed), matching upstream ESP-IDF's wifi_conn_attempts (kept flat here instead of upstream's nested network_prov_wifi_conn_cfg_t). 0 means a single attempt whose failure is reported immediately.

Definition at line 101 of file network_prov_mgr.h.


The documentation for this struct was generated from the following file: