Skip to content

Bluetoothserial with Password pairing only works on ESP32 v1.0.1 #6061

Closed
@Manasmw01

Description

@Manasmw01

Board

ESP32

Device Description

So, there's this Code
which I am using for getting data using UART and sending that data to the Bluetooth terminal for further processing.
The only thing I want to add here is password pairing for Bluetooth.
I tried the ESP-IDF example named gatt_security_server and it works well. But I faced issues in incorporating Bluetooth Serial in it.
I also searched a lot in this, but all I can see is open issues with no solutions.
PS: The code is working fine if I downgrade the ESP32 version to 1.0.1 in Arduino IDE. I found this method in one of the comments: LINK
I was wondering if you guys could help me out so that this code works with the latest ESP32 version.

Hardware Configuration

Only serial.

Version

v1.0.6

IDE Name

Arduino IDE

Operating System

Windows 10

Flash frequency

40MHz

PSRAM enabled

no

Upload speed

115200

Description

Works with v1.0.1 but not with the latest board version

Sketch

https://github.com/espressif/arduino-esp32/blob/master/libraries/BluetoothSerial/examples/SerialToSerialBTM/SerialToSerialBTM.ino

Debug Message

No

Other Steps to Reproduce

No response

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

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions