mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-27 17:27:15 +02:00
IDF release/v4.0 08219f3cf
This commit is contained in:
@ -23,6 +23,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
ESP_EVENT_DECLARE_BASE(WIFI_PROV_EVENT);
|
||||
|
||||
/**
|
||||
* @brief Events generated by manager
|
||||
*
|
||||
@ -489,14 +491,17 @@ void wifi_prov_mgr_endpoint_unregister(const char *ep_name);
|
||||
* provisioning manager's internal state machine depending on
|
||||
* incoming Wi-Fi events
|
||||
*
|
||||
* @note : This function is DEPRECATED, because events are now
|
||||
* handled internally using the event loop library, esp_event.
|
||||
* Calling this will do nothing and simply return ESP_OK.
|
||||
*
|
||||
* @param[in] ctx Event context data
|
||||
* @param[in] event Event info
|
||||
*
|
||||
* @return
|
||||
* - ESP_OK : Event handled successfully
|
||||
* - ESP_ERR_FAIL : This event cannot be handled
|
||||
* - ESP_OK : Event handled successfully
|
||||
*/
|
||||
esp_err_t wifi_prov_mgr_event_handler(void *ctx, system_event_t *event);
|
||||
esp_err_t wifi_prov_mgr_event_handler(void *ctx, system_event_t *event) __attribute__ ((deprecated));
|
||||
|
||||
/**
|
||||
* @brief Get state of Wi-Fi Station during provisioning
|
||||
|
Reference in New Issue
Block a user