Now that I want to use it again the code does not work any more but crashes.
I see now that even the libraries own example 'SerialToSerialBT' does not work any more:
Code: Select all
at compile time:
Using library BluetoothSerial at version 1.0 in folder: /home/dada/.arduino15/packages/esp32/hardware/esp32/1.0.5-rc2/libraries/BluetoothSerial
/home/dada/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-96-g2852398-5.2.0/bin/xtensa-esp32-elf-size -A /tmp/arduino_build_246649/SerialToSerialBT.ino.elf
Code: Select all
crash at run time:
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, 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:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:10900
load:0x40080400,len:6388
entry 0x400806b4
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400def30 PS : 0x00060730 A0 : 0x800df5d1 A1 : 0x3ffd0150
A2 : 0x3ffdeaa0 A3 : 0x3ffd01c8 A4 : 0x00000001 A5 : 0x00000001
A6 : 0x00060920 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3ffd0150
A10 : 0x00000003 A11 : 0x00060923 A12 : 0x00060920 A13 : 0x3ffd01d0
A14 : 0x000f1400 A15 : 0x3ffdeaa0 SAR : 0x0000001a EXCCAUSE: 0x0000001c
EXCVADDR: 0x0000002c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
ELF file SHA256: 0000000000000000
Backtrace: 0x400def30:0x3ffd0150 0x400df5ce:0x3ffd01a0 0x400d5969:0x3ffd01c0 0x4008f49e:0x3ffd01f0
Code: Select all
ESP exception decoder:
PC: 0x400def30: btc_spp_init at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/bt/bluedroid/btc/profile/std/spp/btc_spp.c line 366
EXCVADDR: 0x0000002c
Decoding stack results
0x400def30: btc_spp_init at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/bt/bluedroid/btc/profile/std/spp/btc_spp.c line 366
0x400df5ce: btc_spp_call_handler at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/bt/bluedroid/btc/profile/std/spp/btc_spp.c line 633
0x400d5969: btc_task at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/bt/common/btc/core/btc_task.c line 138
0x4008f49e: vPortTaskWrapper at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/freertos/port.c line 143