![]() TheīluetoothAdapter is the entry-point for all Bluetooth interaction. The following are the classes and interfaces you need in order to createīluetooth connections: BluetoothAdapter Represents the local Bluetooth adapter (Bluetooth radio). There are three steps to make a connection:Īll of the Bluetooth APIs are available in the Once your app has permission to use Bluetooth, your app needs to accessĭetermine if Bluetooth is available on the Use of the Bluetooth APIs requires declaring severalįile. Range of each other and neither device has removed the bond. They can reconnect automatically during a future session as long as they're in The two devices remain bonded, however, so The device that initiated the pairing request releases the channel that had After the pairing and bonding processes areĬomplete, the two devices exchange information. The devicesĬache these keys for later use. One device, aĭiscoverable device, makes itself available for incoming connection requests.Īnother device finds the discoverable device using a service discovery process.Īfter the discoverable device accepts the pairing request, the two devicesĬomplete a bonding process in which they exchange security keys.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |