Select one of the symbols to view example projects that use it.
 
Outline
#define _PROV_WIFI_CTRL_H_
wifi_ctrl_handlers
wifi_ctrl_handler(uint32_t, const uint8_t *, ssize_t, uint8_t **, ssize_t *, void *);
Files
loading (4/5)...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/wifi_provisioning/src/wifi_ctrl.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #ifndef _PROV_WIFI_CTRL_H_ #define _PROV_WIFI_CTRL_H_ #ifdef __cplusplus extern "C" { #endif /** * @brief Internal handlers for receiving and responding to protocomm * requests from client * * This is to be passed as priv_data for protocomm request handler * (refer to `wifi_ctrl_handler()`) when calling `protocomm_add_endpoint()`. *//* ... */ typedef struct wifi_ctrl_handlers { /** * Handler function called when ctrl reset command is received *//* ... */ esp_err_t (*ctrl_reset)(void); /** * Handler function called when ctrl reprov command is received *//* ... */ esp_err_t (*ctrl_reprov)(void); }{ ... } wifi_ctrl_handlers_t; /** * @brief Handler for sending on demand Wi-Fi ctrl results * * This is to be registered as the `prov-ctrl` endpoint handler * (protocomm `protocomm_req_handler_t`) using `protocomm_add_endpoint()` *//* ... */ esp_err_t wifi_ctrl_handler(uint32_t session_id, const uint8_t *inbuf, ssize_t inlen, uint8_t **outbuf, ssize_t *outlen, void *priv_data); #ifdef __cplusplus }{...} #endif /* ... */ #endif
Details