Warns about SSP only available for ESP32 (#6455)

This commit is contained in:
Rodrigo Garcia
2022-03-28 05:43:10 -03:00
committed by GitHub
parent c25feca639
commit 905f8f2991
6 changed files with 23 additions and 1 deletions

View File

@ -15,6 +15,10 @@
#include"esp_gap_bt_api.h"
#include "esp_err.h"
#if !defined(CONFIG_BT_SPP_ENABLED)
#error Serial Bluetooth not available or not enabled. It is only available for the ESP32 chip.
#endif
#define REMOVE_BONDED_DEVICES 0 // <- Set to 0 to view all bonded devices addresses, set to 1 to remove
#define PAIR_MAX_DEVICES 20