Search found 1 match

by Mesrop
Wed Nov 24, 2021 7:12 pm
Forum: ESP-IDF
Topic: Classic bluetooth discovery
Replies: 11
Views: 30483

Re: Classic bluetooth discovery

Here is a solution #include <BluetoothSerial.h> #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) #error Bluetooth is not enabled! Please run `make menuconfig` to and enable it #endif BluetoothSerial SerialBT; #define BT_DISCOVER_TIME 10000 static bool btScanAsync = true; static...