I've discovered where the problem comes from: some devices are unable to respond to open request in rapid succession after the SDP scanning. You need to close SDP session and wait 2 seconds before connecting to rfcomm, like the attached patch.
I've discovered where the problem comes from: some devices are unable to respond to open request in rapid succession after the SDP scanning. You need to close SDP session and wait 2 seconds before connecting to rfcomm, like the attached patch.