1, Bluetooth is a short-distance, low-bandwidth point-to-point communication protocol.
Bluetooth is one of the most widely used wireless communication protocols, mainly for short-distance communication, the advantage is low power consumption, transmission speed is relatively fast. But the disadvantage is also obvious, is the transmission distance is relatively short.
Bluetooth is almost every mobile phone standard features, more for the headset mic and other devices and mobile phone connection, in addition, you can also establish Bluetooth communication between multiple phones.
2. Bluetooth API can search and connect to other devices within a certain range.
The Android application framework provides APIs to access Bluetooth functionality. These APIs allow applications to wirelessly connect to other Bluetooth devices for point-to-point or point-to-multipoint wireless interaction.
With Bluetooth APIs, an Android app can do the following:
- Scan other Bluetooth devices;
- Query the local Bluetooth adapter (locally Bluetooth adapter) for pairing Bluetooth devices;
- Establish Rfcomm channel (channels);
- Connecting other devices through service discovery (discovery);
- Data communication
- Managing Multiple connections
3. Bluetooth socket initiates communication to transfer and transfer traffic between devices.
Android includes support for the Bluetooth network protocol stack, which allows Bluetooth devices to wirelessly connect to other Bluetooth devices to exchange data.
Android Bluetooth Development (a): Introduction