forked from espressif/esp-idf
wifi_prov_mgr: Fix comments
This commit is contained in:
@@ -336,12 +336,9 @@ void app_main(void)
|
|||||||
* - NULL if not used
|
* - NULL if not used
|
||||||
*/
|
*/
|
||||||
const char *pop = "abcd1234";
|
const char *pop = "abcd1234";
|
||||||
/* If the pop is allocated dynamically, then it should be valid till the provisioning process is running.
|
|
||||||
* it can be only freed when the WIFI_PROV_END event is triggered */
|
|
||||||
|
|
||||||
/* This is the structure for passing security parameters
|
/* This is the structure for passing security parameters
|
||||||
* for the protocomm security 1.
|
* for the protocomm security 1.
|
||||||
* This does not need not be static i.e. could be dynamically allocated
|
|
||||||
*/
|
*/
|
||||||
wifi_prov_security1_params_t *sec_params = pop;
|
wifi_prov_security1_params_t *sec_params = pop;
|
||||||
|
|
||||||
@@ -366,7 +363,8 @@ void app_main(void)
|
|||||||
#endif
|
#endif
|
||||||
/* This is the structure for passing security parameters
|
/* This is the structure for passing security parameters
|
||||||
* for the protocomm security 2.
|
* for the protocomm security 2.
|
||||||
* This does not need not be static i.e. could be dynamically allocated
|
* If dynamically allocated, sec2_params pointer and its content
|
||||||
|
* must be valid till WIFI_PROV_END event is triggered.
|
||||||
*/
|
*/
|
||||||
wifi_prov_security2_params_t sec2_params = {};
|
wifi_prov_security2_params_t sec2_params = {};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user