|
network-provisioning-zephyr
Zephyr port of Espressif's network provisioning protocol (Wi-Fi over BLE / SoftAP / console)
|
Provisioning transport (scheme) vtable. More...
#include <network_prov_mgr.h>
Data Fields | |
| int(* | start )(struct protocomm *pc, const char *service_name, const char *service_key) |
Start the transport for protocomm instance pc. | |
| void(* | stop )(void) |
| Tear the transport down. | |
Provisioning transport (scheme) vtable.
Each transport exposes one object — network_prov_scheme_ble, network_prov_scheme_softap or network_prov_scheme_console (in the matching scheme_*.h header) — that the manager calls without any per-transport knowledge, mirroring ESP-IDF's network_prov_scheme_t.
Definition at line 74 of file network_prov_mgr.h.
| int(* network_prov_scheme::start) (struct protocomm *pc, const char *service_name, const char *service_key) |
Start the transport for protocomm instance pc.
service_name and service_key carry the BLE device name / SoftAP SSID + password; a transport ignores whichever it does not use. Returns 0 or -errno.
Definition at line 80 of file network_prov_mgr.h.
| void(* network_prov_scheme::stop) (void) |
Tear the transport down.
Definition at line 83 of file network_prov_mgr.h.