This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Bluetooth ID identification

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?

Parents
  • 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/.../.

  • I think you are mixing BLE (Bluetooth Low Energy/Bluetooth 4.0) and Bluetooth Classic (Bluetooth 2.1/3.0). With Bluetooth classic you can set your mobile in discoverable mode, so others can find it. This is not possible with BLE, unless you have written an app for it. Please see this post: stackoverflow.com/.../bluetooth-low-energy-advertising-to-be-discoverable-in-ios-settings

    Nordic make BLE chips, not Bluetooth classic chips.

Reply Children
No Data
Related