Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 905f8f2

Browse filesBrowse files
authored
Warns about SSP only available for ESP32 (espressif#6455)
1 parent c25feca commit 905f8f2
Copy full SHA for 905f8f2

File tree

Expand file treeCollapse file tree

6 files changed

+23
-1
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+23
-1
lines changed

‎libraries/BluetoothSerial/examples/SerialToSerialBT/SerialToSerialBT.ino

Copy file name to clipboardExpand all lines: libraries/BluetoothSerial/examples/SerialToSerialBT/SerialToSerialBT.ino
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
1111
#endif
1212

13+
#if !defined(CONFIG_BT_SPP_ENABLED)
14+
#error Serial Bluetooth not available or not enabled. It is only available for the ESP32 chip.
15+
#endif
16+
1317
BluetoothSerial SerialBT;
1418

1519
void setup() {

‎libraries/BluetoothSerial/examples/SerialToSerialBTM/SerialToSerialBTM.ino

Copy file name to clipboardExpand all lines: libraries/BluetoothSerial/examples/SerialToSerialBTM/SerialToSerialBTM.ino
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
#include "BluetoothSerial.h"
1010

11+
#if !defined(CONFIG_BT_SPP_ENABLED)
12+
#error Serial Bluetooth not available or not enabled. It is only available for the ESP32 chip.
13+
#endif
14+
1115
BluetoothSerial SerialBT;
1216

1317
String MACadd = "AA:BB:CC:11:22:33";

‎libraries/BluetoothSerial/examples/SerialToSerialBT_SSP_pairing/SerialToSerialBT_SSP_pairing.ino

Copy file name to clipboardExpand all lines: libraries/BluetoothSerial/examples/SerialToSerialBT_SSP_pairing/SerialToSerialBT_SSP_pairing.ino
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
1111
#endif
1212

13+
#if !defined(CONFIG_BT_SPP_ENABLED)
14+
#error Serial Bluetooth not available or not enabled. It is only available for the ESP32 chip.
15+
#endif
16+
1317
BluetoothSerial SerialBT;
1418
boolean confirmRequestPending = true;
1519

‎libraries/BluetoothSerial/examples/bt_classic_device_discovery/bt_classic_device_discovery.ino

Copy file name to clipboardExpand all lines: libraries/BluetoothSerial/examples/bt_classic_device_discovery/bt_classic_device_discovery.ino
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
55
#endif
66

7+
#if !defined(CONFIG_BT_SPP_ENABLED)
8+
#error Serial Bluetooth not available or not enabled. It is only available for the ESP32 chip.
9+
#endif
10+
711
BluetoothSerial SerialBT;
812

913

‎libraries/BluetoothSerial/examples/bt_remove_paired_devices/bt_remove_paired_devices.ino

Copy file name to clipboardExpand all lines: libraries/BluetoothSerial/examples/bt_remove_paired_devices/bt_remove_paired_devices.ino
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
#include"esp_gap_bt_api.h"
1616
#include "esp_err.h"
1717

18+
#if !defined(CONFIG_BT_SPP_ENABLED)
19+
#error Serial Bluetooth not available or not enabled. It is only available for the ESP32 chip.
20+
#endif
21+
1822
#define REMOVE_BONDED_DEVICES 0 // <- Set to 0 to view all bonded devices addresses, set to 1 to remove
1923

2024
#define PAIR_MAX_DEVICES 20

‎libraries/README.md

Copy file name to clipboardExpand all lines: libraries/README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ arduino-esp32 includes libraries for Arduino compatibility along with some objec
1212
Bluetooth Low Energy v4.2 client/server framework
1313

1414
### BluetoothSerial
15-
Serial to Bluetooth redirection server
15+
Serial to Bluetooth redirection server\
16+
Note: This library depends on Bluetooth Classic which is only available for ESP32\
17+
(Bluetoothserial is **not available** for ESP32-S2, ESP32-C3, ESP32-S3).
1618

1719
### DNSServer
1820
A basic UDP DNS daemon (includes captive portal demo)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.