
- RUNNING BLUETOOTH ON ANYDROID ANDROID
- RUNNING BLUETOOTH ON ANYDROID BLUETOOTH
- RUNNING BLUETOOTH ON ANYDROID MAC
Wireless interface specification for Bluetooth-based communication betweenĭevices.
RUNNING BLUETOOTH ON ANYDROID BLUETOOTH
BluetoothProfile An interface that represents a Bluetooth profile. Although this information provides a useful hint regarding aĭevice's type, the attributes of this class don't necessarily describe allīluetooth profiles and services that the device supports. This is a read-only set of properties that defines the device's classes and BluetoothClass Describes the general characteristics and capabilities of a Bluetooth device. When a remote Bluetooth device makes a connection request to thisĭevice, the device accepts the connection and then returns a connectedīluetoothSocket. BluetoothServerSocket Represents an open server socket that listens for incoming requests (similarĬonnect two devices, one device must open a server socket with thisĬlass. This is the connection point thatĪllows an app to exchange data with another Bluetooth device using BluetoothSocket Represents the interface for a Bluetooth socket (similar to a TCP Remote device through a BluetoothSocket or query information about theĭevice such as its name, address, class, and bonding state. BluetoothDevice Represents a remote Bluetooth device.

RUNNING BLUETOOTH ON ANYDROID MAC
This, you can discover other Bluetooth devices, query a list of bondedīluetoothDevice using a known MAC address, and create aīluetoothServerSocket to listen for communications from other devices. 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.


RUNNING BLUETOOTH ON ANYDROID ANDROID
The Android platform includes support for the Bluetooth network stack, whichĪllows a device to wirelessly exchange data with other Bluetooth devices.
