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

Sign up
Appearance settings

BluetoothSerial: example SerialToSerialBT / SerialToSerialBTM fails in 3.2.0. OK in 2.0.14 #11217

Open
Labels
Area: BLEIssues related to BLE
@fanfanlatulipe26

Description

Board

ESP32 Dev Module Kit

Device Description

ESP32

Hardware Configuration

nothing

Version

v3.2.0

IDE Name

Arduino IDE 1.8.19

Operating System

Windows 10

Flash frequency

80Mhz

PSRAM enabled

no

Upload speed

921600

Description

The standard examples pair SerialToSerialBT / SerialToSerialBTM fails. Noway to get the link even after reset & Co
The same works pefectly in 2.0.4
SerialToSerialBT in 2.0.4 SerialToSerialBTM in 2.0.4 OK
SerialToSerialBT in 3.2.0 SerialToSerialBTM in 2.0.4 OK
SerialToSerialBT in 2.0.4 SerialToSerialBTM in 3.2.0 fails

SerialToSerialBT 3.2.0 works well with a terminal application on a phone

Sketch

Standard examples from the distribution package

Debug Message

Both examples compiled with debug core debug level "debug":
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Output for slave:
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4888
load:0x40078000,len:16516
load:0x40080400,len:4
load:0x40080404,len:3476
entry 0x400805b4
E (377) esp_core_⸮f~mp_flash: Core dump data check failed:
Calculated checksum='13622384'
Image checksum='ffffffff'
[ 28][D][esp32-hal-cpu.c:263] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
=========== Before Setup Start ===========
Chip Info:
------------------------------------------
 Model : ESP32
 Package : D0WD-Q6
 Revision : 1.00
 Cores : 2
 CPU Frequency : 240 MHz
 XTAL Frequency : 40 MHz
 Features Bitfield : 0x00000032
 Embedded Flash : No
 Embedded PSRAM : No
 2.4GHz WiFi : Yes
 Classic BT : Yes
 BT Low Energy : Yes
 IEEE 802.15.4 : No
------------------------------------------
INTERNAL Memory Info:
------------------------------------------
 Total Size : 269032 B ( 262.7 KB)
 Free Bytes : 229896 B ( 224.5 KB)
 Allocated Bytes : 33896 B ( 33.1 KB)
 Minimum Free Bytes: 224884 B ( 219.6 KB)
 Largest Free Block: 110580 B ( 108.0 KB)
------------------------------------------
Flash Info:
------------------------------------------
 Chip Size : 4194304 B (4 MB)
 Block Size : 65536 B ( 64.0 KB)
 Sector Size : 4096 B ( 4.0 KB)
 Page Size : 256 B ( 0.2 KB)
 Bus Speed : 80 MHz
 Bus Mode : QIO
------------------------------------------
Partitions Info:
------------------------------------------
 nvs : addr: 0x00009000, size: 20.0 KB, type: DATA, subtype: NVS
 otadata : addr: 0x0000E000, size: 8.0 KB, type: DATA, subtype: OTA
 app0 : addr: 0x00010000, size: 1280.0 KB, type: APP, subtype: OTA_0
 app1 : addr: 0x00150000, size: 1280.0 KB, type: APP, subtype: OTA_1
 spiffs : addr: 0x00290000, size: 1408.0 KB, type: DATA, subtype: SPIFFS
 coredump : addr: 0x003F0000, size: 64.0 KB, type: DATA, subtype: COREDUMP
------------------------------------------
Software Info:
------------------------------------------
 Compile Date/Time : Apr 3 2025 09:38:36
 Compile Host OS : windows
 ESP-IDF Version : v5.4.1-1-g2f7dcd862a-dirty
 Arduino Version : 3.2.0
------------------------------------------
Board Info:
------------------------------------------
 Arduino Board : ESP32_DEV
 Arduino Variant : esp32
 Arduino FQBN : esp32:esp32:esp32:JTAGAdapter=default,PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=debug,EraseFlash=none,ZigbeeMode=default
============ Before Setup End ============
[ 1020][I][BluetoothSerial.cpp:700] _init_bt(): device name set
[ 1020][I][BluetoothSerial.cpp:246] esp_spp_cb(): ESP_SPP_INIT_EVT
[ 1032][I][BluetoothSerial.cpp:252] esp_spp_cb(): ESP_SPP_INIT_EVT: slave: start
The device with name "ESP32-BT-Slave" is started.
Now you can pair it with Bluetooth!
=========== After Setup Start ============
INTERNAL Memory Info:
------------------------------------------
[ 1055][I][BluetoothSerial.cpp:568] esp_bt_gap_cb(): ESP_BT_GAP_CONFIG_EIR_DATA_EVT: stat:0 num:4
[ 1065][I][BluetoothSerial.cpp:327] esp_spp_cb(): ESP_SPP_START_EVT
 Total Size : 269032 B ( 262.7 KB)
 Free Bytes : 122840 B ( 120.0 KB)
 Allocated Bytes : 134912 B ( 131.8 KB)
 Minimum Free Bytes: 121448 B ( 118.6 KB)
 Largest Free Block: 102388 B ( 100.0 KB)
------------------------------------------
GPIO Info:
------------------------------------------
 GPIO : BUS_TYPE[bus/unit][chan]
 -------------------------------------- 
 1 : UART_TX[0]
 3 : UART_RX[0]
============ After Setup End =============
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ output for master after reset & co
[283184][D][BluetoothSerial.cpp:784] waitForConnect(): timeout
Failed to connect. Make sure remote device is available and in range, then restart app.
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4888
load:0x40078000,len:16516
load:0x40080400,len:4
load:0x40080404,len:3476
entry 0x400805b4
[ 3][D][esp32-hal-cpu.c:263] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
=========== Before Setup Start ===========
Chip Info:
------------------------------------------
 Model : ESP32
 Package : D0WD-Q5
 Revision : 3.01
 Cores : 2
 CPU Frequency : 240 MHz
 XTAL Frequency : 40 MHz
 Features Bitfield : 0x00000032
 Embedded Flash : No
 Embedded PSRAM : No
 2.4GHz WiFi : Yes
 Classic BT : Yes
 BT Low Energy : Yes
 IEEE 802.15.4 : No
------------------------------------------
INTERNAL Memory Info:
------------------------------------------
 Total Size : 269016 B ( 262.7 KB)
 Free Bytes : 229564 B ( 224.2 KB)
 Allocated Bytes : 34140 B ( 33.3 KB)
 Minimum Free Bytes: 224540 B ( 219.3 KB)
 Largest Free Block: 110580 B ( 108.0 KB)
------------------------------------------
Flash Info:
------------------------------------------
 Chip Size : 4194304 B (4 MB)
 Block Size : 65536 B ( 64.0 KB)
 Sector Size : 4096 B ( 4.0 KB)
 Page Size : 256 B ( 0.2 KB)
 Bus Speed : 80 MHz
 Bus Mode : QIO
------------------------------------------
Partitions Info:
------------------------------------------
 nvs : addr: 0x00009000, size: 20.0 KB, type: DATA, subtype: NVS
 otadata : addr: 0x0000E000, size: 8.0 KB, type: DATA, subtype: OTA
 app0 : addr: 0x00010000, size: 1280.0 KB, type: APP, subtype: OTA_0
 app1 : addr: 0x00150000, size: 1280.0 KB, type: APP, subtype: OTA_1
 spiffs : addr: 0x00290000, size: 1408.0 KB, type: DATA, subtype: SPIFFS
 coredump : addr: 0x003F0000, size: 64.0 KB, type: DATA, subtype: COREDUMP
------------------------------------------
Software Info:
------------------------------------------
 Compile Date/Time : Apr 3 2025 09:36:55
 Compile Host OS : windows
 ESP-IDF Version : v5.4.1-1-g2f7dcd862a-dirty
 Arduino Version : 3.2.0
------------------------------------------
Board Info:
------------------------------------------
 Arduino Board : ESP32_DEV
 Arduino Variant : esp32
 Arduino FQBN : esp32:esp32:esp32:JTAGAdapter=default,PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=debug,EraseFlash=none,ZigbeeMode=default
============ Before Setup End ============
[ 1005][I][BluetoothSerial.cpp:568] esp_bt_gap_cb(): ESP_BT_GAP_[C O N1F0I0G5_]E[IIR]_[DBAlTuAe_tEoVoTt:h Ssetraita:l0. cnpupm::7
] _init_bt(): device name set
The device "ESP32-BT-Master" started in master mode, make sure slave BT device is on!
[ 1021][I][BluetoothSerial.cpp:246] esp_spp_cb(): ESP_SPP_INIT_EVT
[ 1033][I][BluetoothSerial.cpp:252] esp_spp_cb(): ESP_SPP_INIT_EVT: master: start
[ 1041][I][BluetoothSerial.cpp:975][ c o1n0n4e1c]t[(I)]:[ Bmlausetteoro t:h Sreermioatle.Ncapmpe:
5
68] esp_bt_gap_cb(): ESP_BT_GAP_CONFIG_EIR_DATA_EVT: stat:0 num:4
[ 1061][I][BluetoothSerial.cpp:327] esp_spp_cb(): ESP_SPP_START_EVT
[ 1067][I][BluetoothSerial.cpp:502] esp_bt_gap_cb(): ESP_BT_GAP_DISC_STATE_CHANGED_EVT started
[ 2255][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 2263][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 2271][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 2526][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 2534][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 2542][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 2667][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 2675][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 2683][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 3209][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 3218][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 3225][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 3551][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 3559][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 3567][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 3602][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 3610][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 3618][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 3753][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 3761][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 3769][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 4205][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 4213][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 4221][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 4496][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 4504][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 4512][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 4927][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 4935][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 4943][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 5299][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 5307][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 5315][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 5371][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 5379][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 5387][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 5702][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 5710][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 5718][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 5813][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 5821][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 5829][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 5894][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 5903][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 5910][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 6536][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 6544][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 6552][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 6967][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 6975][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 6983][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 7209][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 7217][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 7225][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 7830][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 7838][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 7846][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 8252][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 8260][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 8268][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 8863][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 8871][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 8879][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 8954][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 8963][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 8970][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 9176][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 9184][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 9192][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 9417][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 9425][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 9433][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 9929][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 9937][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 9945][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 10310][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 10318][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 10326][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 10942][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 10950][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 10958][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 11103][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 11111][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 11119][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 11614][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 11623][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 11630][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 11846][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 11854][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 11862][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 12227][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 12235][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 12243][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 12319][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 12327][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 12335][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 12730][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 12738][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 12746][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 12941][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 12949][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 12957][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 13243][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 13251][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 13259][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 14993][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 15001][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 15009][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 15274][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 15283][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 15290][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 15736][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 15744][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 15752][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 16177][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 16185][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 16193][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 16779][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 16787][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 16795][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 17191][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 17199][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 17207][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 17402][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 17410][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 17418][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 17693][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 17701][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 17709][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 17724][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 17733][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 17740][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 18116][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 18124][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 18132][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 18637][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 18645][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 18653][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 18759][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 18767][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 18775][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 18890][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 18898][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 18906][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 19021][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 19029][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 19037][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 19352][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 19360][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 19368][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 19494][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 19503][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 19510][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 19996][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 20004][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 20012][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 20097][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 20105][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 20113][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 20729][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 20737][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 20745][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 21120][I][BluetoothSerial.cpp:420] esp_bt_gap_cb(): ESP_BT_GAP_DISC_RES_EVT properties=3
[ 21128][I][BluetoothSerial.cpp:423] esp_bt_gap_cb(): Scanned device: 08:3a:f2:52:93:5e
[ 21136][D][BluetoothSerial.cpp:449] esp_bt_gap_cb(): ESP_BT_GAP_DEV_PROP_COD 0x1f00
[ 21556][I][BluetoothSerial.cpp:498] esp_bt_gap_cb(): ESP_BT_GAP_DISC_STATE_CHANGED_EVT stopped
[ 33055][D][BluetoothSerial.cpp:784] waitForConnect(): timeout
Connecting to slave BT device named "ESP32-BT-Slave"
[ 43060][D][BluetoothSerial.cpp:784] waitForConnect(): timeout
Failed to connect. Make sure remote device is available and in range, then restart app.
[ 53065][D][BluetoothSerial.cpp:784] waitForConnect(): timeout
Failed to connect. Make sure remote device is available and in range, then restart app.

Other Steps to Reproduce

Even in 2.0.4 the connection is not always straightforward and needs some reset

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: BLEIssues related to BLE

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /