mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6ac17b5020
* adds description about that it's not a bridge, but more like an 1:1 forwarder on L2 * add and describe mac spoofing for Ethernet interface * describe virtual networking for USB-NCM interface
23 lines
621 B
C
23 lines
621 B
C
/*
|
|
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/**
|
|
* @brief Checks if the device has been provisioned
|
|
* @return true if WiFi is provisioned
|
|
*/
|
|
bool is_provisioned(void);
|
|
|
|
/**
|
|
* @brief Initiate provisioning
|
|
* @param flags Event flags to indicate status of provisioning
|
|
* @param success_bit bits set in the event flags on success
|
|
* @param fail_bit bits set in the event flags on failure
|
|
* @return ESP_OK if provisioning started
|
|
*/
|
|
esp_err_t start_provisioning(EventGroupHandle_t *flags, int success_bit, int fail_bit);
|