-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#42 Cleanup. Needs to use custom partitions.csv for NVS
- Loading branch information
1 parent
a303f84
commit 0e66e4e
Showing
5 changed files
with
516 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Note: | ||
**app_wifi** | ||
|
||
Added here also from [Rainmaker common directory](https://github.com/espressif/esp-rainmaker/tree/master/examples) in examples was also added here and probably will be moved elsewhere in a future refactoring. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
This example code is in the Public Domain (or CC0 licensed, at your option.) | ||
Unless required by applicable law or agreed to in writing, this | ||
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
CONDITIONS OF ANY KIND, either express or implied. | ||
*/ | ||
#pragma once | ||
#include <esp_err.h> | ||
|
||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
/** Types of Proof of Possession */ | ||
typedef enum { | ||
/** Use MAC address to generate PoP */ | ||
POP_TYPE_MAC, | ||
/** Use random stream generated and stored in fctry partition during claiming process as PoP */ | ||
POP_TYPE_RANDOM | ||
} app_wifi_pop_type_t; | ||
|
||
void app_wifi_init(); | ||
esp_err_t app_wifi_start(app_wifi_pop_type_t pop_type); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |
Oops, something went wrong.