Skip to content

Draft: feat(esp32): add Bluetooth Classic variant for connectivity with legacy devices#10382

Open
arthurlutz wants to merge 2 commits intomeshtastic:developfrom
arthurlutz:esp32-btclassic
Open

Draft: feat(esp32): add Bluetooth Classic variant for connectivity with legacy devices#10382
arthurlutz wants to merge 2 commits intomeshtastic:developfrom
arthurlutz:esp32-btclassic

Conversation

@arthurlutz
Copy link
Copy Markdown

fixes #10381

🤝 Attestations

  • I have tested that my proposed changes behave as described.
  • I have tested that my proposed changes do not cause any obvious regressions on the following devices:
    • Heltec (Lora32) V3
    • LilyGo T-Deck
    • LilyGo T-Beam
    • RAK WisBlock 4631
    • Seeed Studio T-1000E tracker card
    • Other (please specify below)

ESP32-WROOM dev board

@github-actions github-actions Bot added needs-review Needs human review hardware-support Hardware related: new devices or modules, problems specific to hardware labels May 3, 2026
@arthurlutz
Copy link
Copy Markdown
Author

This compiles and runs on my device but clearly it's not functional, submitting it to have first feedbacks on how this could be done.

Screenshot from 2026-05-03 16-15-28

I was surprised to have to modify so many files to "disable" nimbleBluetooth, there is either a better way or some refactoring to make sure it can be put aside might be a pre-requirement for this feature.

I do have some crashes for the moment, not sure if this is related to the board or my code :

INFO  | ??:??:?? 82 [PowerFSM] The device started, now you can pair it with bluetooth classic!
[ 82494][I][BluetoothSerial.cpp:903] setPin(): pin: 123456
[ 82502][I][BluetoothSerial.cpp:146] btSetPin(): pin set
Guru Meditation Error: Core  0 panic'ed (StoreProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x401b3578  PS      : 0x00060e30  A0      : 0x80172431  A1      : 0x3fff1a10
A2      : 0x3fffccd8  A3      : 0x00000000  A4      : 0x00002006  A5      : 0x3ffd5870
A6      : 0x00000c3a  A7      : 0x00000001  A8      : 0x801b3578  A9      : 0x3fff19f0
A10     : 0x00000000  A11     : 0x00000014  A12     : 0x3ffffca0  A13     : 0x3fff03fc
A14     : 0x3fff1f0c  A15     : 0x000000f9  SAR     : 0x0000001f  EXCCAUSE: 0x0000001d
EXCVADDR: 0x0000000c  LBEG    : 0x400929b0  LEND    : 0x400929c6  LCOUNT  : 0xffffffff


Backtrace: 0x401b3575:0x3fff1a10 0x4017242e:0x3fff1a30 0x401aa85d:0x3fff1a50 0x4019c11d:0x3fff1a90 0x4019c0b3:0x3fff1ab0




ELF file SHA256: 40dc1baaba19669c

E (48111) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ets Jun  8 2016 00:22:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hardware-support Hardware related: new devices or modules, problems specific to hardware needs-review Needs human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Bluetooth Classic serial connexion for legacy devices

1 participant