File tree 13 files changed +42
-24
lines changed
HTTPClient/examples/HTTPClientEnterprise
NetworkClientSecure/examples/WiFiClientSecureEnterprise
13 files changed +42
-24
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "requires_any" : [
3
- " CONFIG_SOC_WIFI_SUPPORTED=y" ,
4
- " CONFIG_ESP_WIFI_REMOTE_ENABLED=y"
2
+ "requires" : [
3
+ " CONFIG_SOC_WIFI_SUPPORTED=y"
5
4
]
6
5
}
Original file line number Diff line number Diff line change 1
1
{
2
- "requires_any" : [
3
- " CONFIG_SOC_WIFI_SUPPORTED=y" ,
4
- " CONFIG_ESP_WIFI_REMOTE_ENABLED=y"
2
+ "requires" : [
3
+ " CONFIG_SOC_WIFI_SUPPORTED=y"
5
4
]
6
5
}
Original file line number Diff line number Diff line change 1
1
{
2
- "requires_any" : [
3
- " CONFIG_SOC_WIFI_SUPPORTED=y" ,
4
- " CONFIG_ESP_WIFI_REMOTE_ENABLED=y"
2
+ "requires" : [
3
+ " CONFIG_SOC_WIFI_SUPPORTED=y"
5
4
]
6
5
}
Original file line number Diff line number Diff line change 1
1
{
2
- "requires_any" : [
3
- " CONFIG_SOC_WIFI_SUPPORTED=y" ,
4
- " CONFIG_ESP_WIFI_REMOTE_ENABLED=y"
2
+ "requires" : [
3
+ " CONFIG_SOC_WIFI_SUPPORTED=y"
5
4
]
6
5
}
Original file line number Diff line number Diff line change 5
5
#include " esp_now.h"
6
6
#include " esp32-hal-log.h"
7
7
#include " esp_mac.h"
8
+ #include " sdkconfig.h"
9
+
10
+ #if CONFIG_ESP_WIFI_REMOTE_ENABLED
11
+ #error "ESP-NOW is only supported in SoCs with native Wi-Fi support"
12
+ #endif
8
13
9
14
class ESP_NOW_Peer ; // forward declaration for friend function
10
15
Original file line number Diff line number Diff line change 3
3
/* |TESTED BOARDS: Devkit v1 DOIT, Devkitc v4 |*/
4
4
/* |CORE: June 2018 |*/
5
5
/* |----------------------------------------------------------|*/
6
+
7
+ #include " sdkconfig.h"
8
+ #if CONFIG_ESP_WIFI_REMOTE_ENABLED
9
+ #error "WPA-Enterprise is only supported in SoCs with native Wi-Fi support"
10
+ #endif
11
+
6
12
#include < WiFi.h>
7
13
#include < HTTPClient.h>
8
14
#if __has_include("esp_eap_client.h")
Original file line number Diff line number Diff line change 1
1
{
2
2
"fqbn_append" : " PartitionScheme=huge_app" ,
3
- "requires_any" : [
4
- " CONFIG_SOC_WIFI_SUPPORTED=y" ,
5
- " CONFIG_ESP_WIFI_REMOTE_ENABLED=y"
3
+ "requires" : [
4
+ " CONFIG_SOC_WIFI_SUPPORTED=y"
6
5
]
7
6
}
Original file line number Diff line number Diff line change 13
13
// Note: this example is outdated and may not work!
14
14
// For more examples see https://github.com/martinius96/ESP32-eduroam
15
15
16
+ #include " sdkconfig.h"
17
+ #if CONFIG_ESP_WIFI_REMOTE_ENABLED
18
+ #error "WPA-Enterprise is only supported in SoCs with native Wi-Fi support"
19
+ #endif
20
+
16
21
#include < WiFi.h>
17
22
#include < NetworkClientSecure.h>
18
23
#if __has_include("esp_eap_client.h")
Original file line number Diff line number Diff line change 1
1
{
2
2
"fqbn_append" : " PartitionScheme=huge_app" ,
3
- "requires_any" : [
4
- " CONFIG_SOC_WIFI_SUPPORTED=y" ,
5
- " CONFIG_ESP_WIFI_REMOTE_ENABLED=y"
3
+ "requires" : [
4
+ " CONFIG_SOC_WIFI_SUPPORTED=y"
6
5
]
7
6
}
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ Author:
14
14
Pranav Cherukupalli <[email protected] >
15
15
*/
16
16
17
+ #include " sdkconfig.h"
18
+ #if CONFIG_ESP_WIFI_REMOTE_ENABLED
19
+ #error "WPS is only supported in SoCs with native Wi-Fi support"
20
+ #endif
21
+
17
22
#include " WiFi.h"
18
23
#include " esp_wps.h"
19
24
/*
Original file line number Diff line number Diff line change 1
1
{
2
- "requires_any" : [
3
- " CONFIG_SOC_WIFI_SUPPORTED=y" ,
4
- " CONFIG_ESP_WIFI_REMOTE_ENABLED=y"
2
+ "requires" : [
3
+ " CONFIG_SOC_WIFI_SUPPORTED=y"
5
4
]
6
5
}
Original file line number Diff line number Diff line change
1
+ #include " sdkconfig.h"
2
+ #if CONFIG_ESP_WIFI_REMOTE_ENABLED
3
+ #error "SmartConfig is only supported in SoCs with native Wi-Fi support"
4
+ #endif
5
+
1
6
#include " WiFi.h"
2
7
3
8
void setup () {
Original file line number Diff line number Diff line change 1
1
{
2
- "requires_any" : [
3
- " CONFIG_SOC_WIFI_SUPPORTED=y" ,
4
- " CONFIG_ESP_WIFI_REMOTE_ENABLED=y"
2
+ "requires" : [
3
+ " CONFIG_SOC_WIFI_SUPPORTED=y"
5
4
]
6
5
}
You can’t perform that action at this time.
0 commit comments