BluetoothSerial SerialToSerialBTM Example #6785
Unanswered
StockBrick
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to connect the ESP32 as a master to a Bad Elf GPS Pro using the SerialToSerialBTM example in the BluetoothSerial library.
Bluetooth starts on the ESP32 and the Bad Elf shows a pairing request with pin. When the pin is accepted the Bad Elf momentarily shows "paired" but then shows another pairing request which does the same thing.
Serial output from the ESP32 prints a failed to connect message.
Any ideas what is causing this.
Thanks
`void setup()
{
Serial.begin(115200);
SerialBT.begin("ESP32testM",true); //Name of Bluetooth device.
Serial.println("The device started in master mode, make sure remote BT device is on!");
}
`
Beta Was this translation helpful? Give feedback.
All reactions