|
network-provisioning-zephyr
Zephyr port of Espressif's network provisioning protocol (Wi-Fi over BLE / SoftAP / console)
|
#include "network_provisioning/network_prov_mgr.h"Go to the source code of this file.
Variables | |
| const struct network_prov_scheme | network_prov_scheme_console |
| Console (shell) transport scheme object. | |
|
extern |
Console (shell) transport scheme object.
Pass &network_prov_scheme_console as the scheme of network_prov_mgr_config. Requires CONFIG_NETWORK_PROV_CONSOLE (otherwise referencing it is a link error).
"net_prov <endpoint> <session_id> <hex-request>", which dispatches the hex-decoded request to the named protocomm endpoint and prints the response as lowercase hex. Changing session_id opens a fresh protocomm session (resetting the security handshake), mirroring a BLE reconnect or a new HTTP cookie. The service_name / service_key passed to network_prov_mgr_start_provisioning are unused for this scheme. This is the transport "esp_prov –transport console" speaks.