Bluetooth classic SPP mode crashes (ESP-IDF) during pairing

X-Files
Posts: 1
Joined: Sat Jan 30, 2021 6:44 pm

Bluetooth classic SPP mode crashes (ESP-IDF) during pairing

Postby X-Files » Sat Jan 30, 2021 7:30 pm

Hi,
I'm currently trying the 'bt_spp_acceptor' example code (ESP-IDF) on a TTGO device.
When I use my Android cellphone (Motorola g7) to pair with it the device crashes and it keeps rebooting when I cancel the pairing (by clicking on Cancel) during the Bluetooth pairing code confirmation request, or if I wait too long before clicking on 'Pair'.
However, the device works fine if I allow it to pair (by clicking on Pair) quickly. This happens all the time and not just randomly.

- When it crashes it produces the following log:

Guru Meditation Error: Core 0 panic'ed (InstructionFetchError). Exception was unhandled.

Core 0 register dump:
PC : 0x3ffb9a34 PS : 0x00060530 A0 : 0x800f2984 A1 : 0x3ffcd7b0
A2 : 0x00000001 A3 : 0x3ffb9a34 A4 : 0x3ffbac48 A5 : 0x00000000
A6 : 0x3ffbac68 A7 : 0x3f411dd4 A8 : 0x800df144 A9 : 0x3ffcd670
A10 : 0x3ffbac68 A11 : 0x00000001 A12 : 0x00000000 A13 : 0x0000000a
A14 : 0x00000001 A15 : 0x00000001 SAR : 0x0000001d EXCCAUSE: 0x00000002
EXCVADDR: 0x3ffb9a34 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0xffffffff

Backtrace:0x3ffb9a31:0x3ffcd7b0 |<-CORRUPTED

I used the latest ESP-IDF library code - Could you, please verify?
Thanks you.

Who is online

Users browsing this forum: No registered users and 122 guests