-
Notifications
You must be signed in to change notification settings - Fork 7.6k
SerialToSerialBTM with Password Pairing? #6015
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As far as I know you need to use arduino as component and disable ssp |
I tried that, but it works only with ESP IDF v4.4 I guess. And was asking for a lot of updates. |
I've tried something and created a new issue. Please follow that: LINK |
Try calling void setup() {
Serial.begin(115200);
SerialBT.setPin(pin); // setPin() shall come before begin()
SerialBT.begin("ESPBT", true);
Serial.println("The device started in master mode, make sure remote BT device is on!");
connected = SerialBT.connect(address);
if(connected) {
Serial.println("Connected Succesfully!");
} else {
while(!SerialBT.connected(10000)) {
Serial.println("Failed to connect. Make sure remote device is available and in range, then restart app.");
}
}
} |
Hello @Manasmw01, can we close this one a follow this issue in your second one #6061? |
Yes, we can. Refer to #6061. |
I wanted to use the SerialToSerialBTM code with the password pairing feature.
Here's the LINK
I can see a lot of tutorials for Bluetooth password pairing in esp-idf, but not for Arduino IDE.
I'm in a hurry and there's no time to learn esp-idf settings and stuff.
If someone has tried it already, please help me out.
The text was updated successfully, but these errors were encountered: