See this previous post for information about BlueSoleil.
It may be a problem with the code if you did not first have the code refresh sevices and then connect instead of pair.
I’m not dealing directly with Bluetooth in my app. See the post I linked above.
Uwe