We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba027e6 commit 985d53fCopy full SHA for 985d53f
libraries/WiFi/examples/WiFiBlueToothSwitch/WiFiBlueToothSwitch.ino
@@ -15,6 +15,11 @@
15
// Sketch shows how to switch between WiFi and BlueTooth or use both
16
// Button is attached between GPIO 0 and GND and modes are switched with each press
17
18
+#include "soc/soc_caps.h"
19
+#if !CONFIG_SOC_BT_SUPPORTED
20
+#error "This example requires native Bluetooth support"
21
+#endif
22
+
23
#include "WiFi.h"
24
#define STA_SSID "your-ssid"
25
#define STA_PASS "your-pass"
libraries/WiFi/examples/WiFiBlueToothSwitch/ci.json
@@ -1,6 +1,6 @@
1
{
2
"requires": [
3
- "CONFIG_BT_ENABLED=y"
+ "CONFIG_SOC_BT_SUPPORTED=y"
4
],
5
"requires_any": [
6
"CONFIG_SOC_WIFI_SUPPORTED=y",
0 commit comments