Bluetooth device directional broadcast (set my mobile phone Bluetooth device address), I open the phone Bluetooth, will automatically link if you can not automatically connect, then how to solve the problem with app?
Bluetooth device directional broadcast (set my mobile phone Bluetooth device address), I open the phone Bluetooth, will automatically link if you can not automatically connect, then how to solve the problem with app?
Hi,
Seems like you are trying to ask a similar question here: devzone.nordicsemi.com/.../
It's not easy to understand what you want. Can you please describe your setup more detailed?
In general:
In the BLE world you have a scanner and an advertiser. The scanner is scanning for other devices that are advertising, and if the scanner decides that he wants to connect to one of the advertisers, it sends out a connection request. Then the advertiser can decide if he wants to connect or not.
The mobile phone usually acts as the scanner, so it is the phone that initiates the connection to your device, not the other way around.
Do you have a custom application on the phone, or are you going to use the built-in BLE scanner in Android/iOS?
If you do not have a custom application, you have to connect to the device and then pair with it in order for it to automatically connect in the future. This is just how it works and you cannot change that. Image if you could create an advertising device that any mobile phone connected to and paired with without any confirmation, that would not be very secure.
I understand that this procedure is not very user friendly if you want something that is simple and just works. A solution to this could be NFC. With NFC you can pair with the phone by just touching your device on the phone. Then it will automatically connect. Check out this video: www.youtube.com/watch
If you want to create your own app, you need to know how to do Android/iOS development. If you don't know that I would suggest that you start here, developer.android.com/.../start.html, or here, developer.apple.com/.../.
Excuse me, why do two mobile phone all open blue tooth, can search each other to if my equipment search, can search to the accessory already opened the Bluetooth mobile phone?
Excuse me, why do two mobile phone all open blue tooth, can search each other to if my equipment search, can search to the accessory already opened the Bluetooth mobile phone?