Open AJOvertonJSU opened 3 weeks ago
The security aspects of BT have changed significantly between 2.x and 3.x. Make sure you are using the example sketches from the appropriate version.
The example has not been updated on GitHub. It still has a copyright of
I am willing to use the new protocols, if they are indeed an improvement, but there seems to be no instructions on how to use them. If there are, where are they?
I will continue to use the 2.0.17 version, because it works.
Andrew Overton, Sr. Adjunct Professor Department of Electrical & Computer Engineering and Computer Science @.*** 601-672-7437
On Wed, Aug 21, 2024 at 11:14 AM lbernstone @.***> wrote:
The security aspects of BT https://github.com/espressif/arduino-esp32/tree/master/libraries/BluetoothSerial#bluetooth-serial-library have changed significantly between 2.x and 3.x. Make sure you are using the example sketches from the appropriate version.
— Reply to this email directly, view it on GitHub https://github.com/espressif/arduino-esp32/issues/10214#issuecomment-2302471766, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDNO2E4TPJ2TX7CTOK2EDD3ZSS4GXAVCNFSM6AAAAABM4CABHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBSGQ3TCNZWGY . You are receiving this because you authored the thread.Message ID: @.***>
The copyright may not have changed, but the examples certainly have been updated to reflect the changes with SSP. Look at the blame on the files. The link I posted above explains how to use SSP.
I copied the examples from GitHub and ran them. They do not connect to each other. I do not know what I am doing wrong. There are no errors in compilation. Do the new libraries just not work with the board I am using?
I am not interested in using SSP. The application that I am trying to create has no need for the security. It is the section on getting two ESP32's to communicate that I am interested in. There are no instructions in the link on how to use that.
Name resolution appears to not be working. Can @P-R-O-C-H-Y or @me-no-dev take a look? Works fine when given an address.
Can you please help with triage @P-R-O-C-H-Y? Thanks
Board
ESP32 WROVER E
Device Description
ESP32 WROVER. No attached hardware.
Hardware Configuration
No connections. Just the USB connection to the computer.
Version
v3.0.3
IDE Name
Arduino IDE
Operating System
Windows 11
Flash frequency
80MHz
PSRAM enabled
yes
Upload speed
921600
Description
When I use the example programs for Bluetooth Classic, the slave device works as expected. The master device does not connect to the slave device. I am using the SerialToSerialBT.ino and SerialToSerialBTM.ino sketches. This is a new problem since updating the board drivers in the IDE.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide