Android Question B4A Bluetooth Pairing to Invisible device

jobykpaul

Member
Licensed User
Longtime User
Is it possible to connect an unpaired invisible Bluetooth device, by using its MAC address?. The user know the MAC address of Bluetooth device, but the device are in invisible and unpaired to app installed phone.
Have seen few Bluetooth application and found that the user can search the Bluetooth device and connect to it. Any help is appreciated.
 

jobykpaul

Member
Licensed User
Longtime User
Thank you, Then how do we enter the pairing password in Serial.Connect. ?
I found this line from the example code.
Dim device As NameAndMac = Starter.Manager.foundDevices.Get(Index)
Starter.Manager.ConnectTo(device)
Thank you
 
Upvote 0

jobykpaul

Member
Licensed User
Longtime User
Thank You for your reply,
When the app try to connect to the Bluetooth phone , the error displayed "Error connecting:java.io.IOexpecption:read failed, socket might closed or timeout, readret: -1"
 
Upvote 0

jobykpaul

Member
Licensed User
Longtime User
I did the following , First i installed the app on my Phone(Bluetooth Example) you provided, and then click the "search for devices" button , and found my PC , then try to connect it and got the above error.

How to make listening SPP connection in my PC or another phone ?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…