Hi,
I'm in process of making bluetooth connection to esp32 device using serial port profile.
I use esp-idf and BTStack on Linux machine. Compiling, flashing works fine.
Now I use spp_streamer project as base, but behavior is the same on spp_counter as well. So my problem is: there is no connection.
I use Windows 10 laptop to connect. After flashing app to esp32 I can see my Bluetooth device, I can request pairing and it works.
But as soon as I press "ok" on Windows machine I can see status "Connected" for 2-3 second and then status changes to "Paired". Com ports are created on PC but I can't connect to them, ports just refuse to open.
On esp32 side I can see request for pairing with device, but never anything about rfcom connected/disconnected. Doing logging I could see l2cap opening and closing connection, but that it.
What could be problem, where to dig, what should I check to find and fix problem.
Thanks,
Alex