Core Bluetooth Technology Overview (II): Bluetooth application scenarios

Source: Internet
Author: User


Keywords: Bluetooth Core Technology protocol a2dp avdtp hf hcp bip bpp ............
Xubin341719 !)
Correct the mistakes and learn and make progress together !!
Download link:Bluetooth profile specifications (Basically covering all Bluetooth protocols ),Buletooth core 2.1-4.0 specification (Core Protocol V2.1 \ V3.0 \ v4.0 of the three Bluetooth versions ),Core Bluetooth Technology and Application (For more information about the Bluetooth protocol, see)
Different occasions, functions, and related protocols are used in the Bluetooth application process. This article will provide a detailed description.

1. Advanced Audio distribution profile Advanced Audio distribution configuration file


A2dp describes how stereo audio frequencies are transmitted from media output (source) to input (sink ).
Scenario:
Simply put, this is a Bluetooth music player (such as MP3 player, Walkman, and stereo). audio output is a music player, while audio input is a wireless headset or wireless stereo sound.
Product example:
The following are some device types that use the a2dp configuration file:
Stereo earphone, stereo sound, MP3 player, music mobile phone, stereo sound frequency Adapter
Technical knowledge:
This configuration file defines the two roles of the audio device: output and input.
? Output (SRC)-the device acts as the output device when transmitting the digital audio stream to the output of the micro-network.
? Input (SNK)-the device is used as the input device when entering a digital audio stream from the SRC of the same micronetwork.
A2dp defines single-channel or stereo distribution protocols and programs for high-quality audio content in an ACL channel. Therefore, "Advanced Audio" and "Bluetooth Audio" should be differentiated. The latter refers to the distribution of narrow-band speech over SCO channels defined based on the baseband specifications.
This configuration file is based on gavdp. It includes essential support for low-complexity sub-bandwidth Codec Technology (SBC) and for MPEG-1, 2 audio, MPEG-2, 4 AAC and Adaptive Acoustic conversion coding technology (ATRAC). Audio data can be normally used in a limited bandwidth after being compressed in an appropriate format. The distribution of surround sound is not in the scope of this configuration file.


Baseband, LMP, L2CAP, and SDP are the Bluetooth protocols defined in the Bluetooth Core Specification. Avdtp includes a signaling entity for communicating streaming parameters and a transport entity for processing streaming (see "configuration file protocol stack: configuration file mode "). The application layer is the entity that the device defines the application service and transmission service parameters. It can adapt audio stream data to a specified data packet format, or vice versa.
2. Audio/videocontrol Transport Protocol SpecificationAudio/Video control transmission protocol.

3. Audio/Video remote control profileAudio and video remote control configuration file:
(1) video control, an old application

(2) audio control, such as adding or subtracting the volume of the Bluetooth headset, fast forward, fast return, and pause.

Avrcp can provide standard interfaces to control TV, hi-fi devices, or other devices, and allow a remote control (or other devices) to control all A/V devices that users can access. It can be used with a2dp or VDP.
Scenario:
Basically, you have all the control. You can adjust the general menu functions, such as adjusting the brightness or tone of the TV or adjusting the Time of the video recorder. In addition, you can also control the sound size, play, pause, skip, and other audio functions.
Product example:
The following example shows several device types that may use the avrcp configuration file:
Controller Device
PCs, PDAs, mobile phones, remote controls, and AV devices, such as headphones, players/recorders, timers, loudspeakers, and monitors
Target Device
Audio Player/Recorder, video player/Recorder, TV, tuner, amplifier or Earphone
Technical knowledge
Avrcp defines two roles: controller and target device.
? Controller-usually a remote control device.
? Target device-the target device is the device that can be changed with the feature.
This Protocol specifies the application scope of the AV/C digital interface command set (Av/C command set, defined by 1394 industry associations), which simplifies implementation and ease of operation. This protocol uses the AV/C device mode and command format to control messages. These messages can be transmitted through the audio/video control transmission protocol (avctp.
In avrcp, the Controller translates the detected user operations into A/V control signals and then transmits them to a remote Bluetooth device. The available functions of conventional infrared remote control can be implemented in this Protocol. The remote control described in this protocol is designed for A/V control.
Baseband, LMP, and L2CAP are OSI-Level 1 and 2 Bluetooth protocols. Avctp defines programs and information used to control a/V devices for exchange. SDP is a Bluetooth Service Discovery Protocol [10]. AV control is the entity responsible for controlling the signaling of A/V device. This signaling is based on AV/C Instructions.
4. Basic imaging profile image transmission configuration file (BIP)
This Protocol is included in the OBEX protocol.


5. Basic printing profile printer configuration file (BPP)

6. Common ISDN access profile (CIP)

CTP cordless telephony profile cordless phone protocol

7. device identification profileDriver Recognition
8. Dial-up networking profile dial-up network configuration file

With phone, dial-up networking profile


With Modem, dial-up networking profile

The dial-up Network (Dun) provides a standard for Bluetooth-based access to the Internet and other dial-up services.
Use Cases:
The most common use case is to use your mobile phone as a wireless dial-up modem to access the Internet from a laptop.
Product example:
Below are several types of devices you may find using the dial-up Network (Dun): Laptop, PC, mobile phone, personal digital assistant, Modem
Technical knowledge:
The dial-up network defines the functions of gateway (GW) and data terminal (DT.
? Gateway (GW)-this is a device that provides public network access.
? Data Terminal (DT)-this is the device that uses the gateway's dial-up service.
Baseband, load microprogram (LMP) and Logical Link Control and Adaptation Protocol (L2CAP) are open system interface (OSI) Layer 1 and Layer 2 Bluetooth protocols. RFCOMM is a Bluetooth adaptation version of GSM ts 07.10 for global mobile communication. It is used for serial port simulation. SDP indicates the Bluetooth Service Discovery Protocol. Dialing and control are commands and programs used for automatic dialing and control over asynchronous serial links provided for low-level protocols.
The modulation and demodulation simulation layer shown on the left is the entity of the analog modem, and the drive of the modem is the drive software in the data terminal. The serial port configuration file is used as the basic standard for the shielded protocol/entity in the figure on the left. All the requirements described in the serial port configuration file apply to these protocols, except when the configuration file explicitly specifies the differences.
Note: although it is not shown in the above model, this configuration file still assumes that the application layer is connected to some low-level programs (for example, SCO synchronization link creation)
9. Fax profile fax configuration file
10. File Transfer profile FTP File Transfer Configuration

Bi-directional file transfer example between two personalcomputeres

The file transfer configuration file (FTP) defines how the client device browses folders and files on the server device. After the client discovers a file or locates it, it can use goep to extract the file from the server to the client, or push the file from the client to the server.
Scenario:
A typical application scenario is wireless file transfer between two PCs or laptops, or browsing and receiving files on the server.
Product example:
Some types of FTP devices are available: Laptop, PC, mobile phone, and PDA.
Technical knowledge:
FTP defines two roles: client and server.
? Client-start the client device, push to the server and extract the target from the server.
? Server-the server device is the target remote Bluetooth device. It provides an Object Exchange Server and allows you to browse folders in the format of obex folder list (Folder listing.
Baseband, LMP, and L2CAP are OSI-Level 1 and 2 Bluetooth protocols. RFCOMM is the adoption of Bluetooth for GSM ts 07.10. SDP is a Bluetooth Service Discovery Protocol. Obex is the adoption of irobex by bluetooth.
Goep defines the interoperability requirements of RFCOMM, L2CAP, LMP, and baseband.
11. Generic audio/video distribution profile General A/V Distribution configuration file (gavdp)
Gavdp provides the basis for a2dp and VDP, which is used to distribute video and audio streams using Bluetooth technology.
Scenario:
A typical scenario is a pair of wireless stereo headphones and a music player, such as an MP3 player or Walkman. The music player transmits information to the headset to establish a connection or adjust the audio stream, and vice versa.
Product example:
The following example shows several types of devices that may use gavdp: music player, stereo earphone, stereo sound, laptop, PC, mobile phone, PDA
Technical knowledge:
Gavdp defines two roles: start device and receive device:
? Start device (INT)-this is the device that initiates the signal sending process.
? Receiving device (ACP)-this is the device that responds to the int input request.
O note: the device role is not fixed. The role is determined when the signal transmission starts. When the process ends, the device role is also removed. When a new round of process is started, the role of the device can be exchanged.
Baseband, LMP, L2CAP, and SDP are the Bluetooth protocols defined in the Bluetooth Core Specification. Avdtp includes a signaling entity for communicating streaming parameters and a transport entity for processing streaming.
12. Generic Object Exchange profile Common Object Exchange configuration file (goep)
Goep is used to transmit objects from one device to another.
Scenario:
A simple scenario is to use Bluetooth technology between a mobile phone or PDA and a computer to transmit information such as files, electronic cards (vcards), calendar data (vcalendar), and images.

Product example:
The following example shows several types of devices that may use goep: Laptop, PC, mobile phone, PDA, and media player.
Technical knowledge:
Goep defines two roles: server and client:
? Server-this device provides an Object Exchange Server, which can push data objects, and the client can also pull data objects.
? Client-the device can push and/or pull data objects from the server.
Baseband, LMP, and L2CAP are OSI-Level 1 and 2 Bluetooth protocols. RFCOMM is the adoption of Bluetooth for GSM ts 07.10. SDP is a Bluetooth Service Discovery Protocol. Obex is the adoption of irobex by bluetooth.
13. Hardcopy cable replacement profile hard copy cable replacement
Laptop sendinga print job to printer

14. Hands-free profile hands-free Configuration
Hands-free unit installed in the car

HFP describes how a hands-free device uses a gateway device to call and receive calls.
Scenario:
Car kits in a car are common scenarios. The car kit will connect to your phone and be used to make and receive calls. It is more common to connect a wireless headset to a mobile phone and use the headset to call and answer the phone.
Product example:
The following example shows several types of devices that may use HFP: Automotive, automotive kits, GPS systems, headphones, mobile phones, PDAs
Technical knowledge:
HFP defines two roles: the audio Gateway (AG) and the hands-free component (HF:
? Audio Gateway (AG)-this device is the input/output gateway of audio (especially mobile phones.
? Hands-free components (HF)-This device acts as a remote audio input/output Mechanism for the audio gateway and provides several remote control functions.
Baseband, LMP, and L2CAP are OSI-Level 1 and 2 Bluetooth protocols. RFCOMM is a Bluetooth serial port simulation device. SDP is a Bluetooth Service Discovery Protocol.

Compatible with core specifications of V1.1 or later versions.
Hands-free control is a device responsible for individually controlling signaling of hands-free components. This signaling is based on AT commands.
Although the above model does not show, this configuration file has assumed hands-free control to be able to access lower-level programs (for example, synchronous connection creation ). The figure on the left shows that the analog level of the audio interface is the device that simulates the audio interface on the audio gateway, and the audio driver is the driver software of the hands-free component. For the Protocol/device shown in the shadow area of the left image, the serial port configuration file is used as the basic standard. For these protocols, all mandatory requirements are contained in the serial port configuration file of the application, unless otherwise specified.
15. Hid -- humaninterface device (HID) Profile
For example, Bluetooth keyboard and mouse

Remote control:

16. Headset profile headset Configuration
This section describes how a Bluetooth headset communicates with a computer or other bluetooth device, such as a mobile phone.
Scenario: a typical scenario is to connect a wireless headset to a mobile phone.
Product example: The following example shows several types of devices that may use the heat map: headphones, mobile phones, PDAs, PCs, and laptops.
Technical knowledge:
The HTTPS listener defines two roles: the audio Gateway (AG) and the headset (HS:
? Audio Gateway (AG)-this device is an input/output gateway for audio (especially for mobile phones or computers.
? Headset (HS)-This device acts as the remote audio input/output Mechanism of the audio gateway.
Baseband, LMP, and L2CAP are OSI-Level 1 and 2 Bluetooth protocols. RFCOMM is the adoption of Bluetooth for GSM ts 07.10. SDP is a Bluetooth Service Discovery Protocol. Headset control is a device responsible for controlling the signaling of headphones. This signaling is based on AT commands.
Note: although the above model does not show, this configuration file assumes that the headset controls access to lower-level programs (for example, SCO connections ).
The figure on the left shows that the analog level of the audio interface is the device that simulates the audio interface on a mobile phone or computer, while the audio driver is the driver software of the headset. For the Protocol/device shown in the shadow area of the left image, the serial port configuration file is used as the basic standard. For these protocols, all requirements are included in the application's serial port configuration file.

17. intercom profile walkie talkie

18. Object push profile object Push configuration file
Push and pull example between two mobile phones


OPP defines the role of the push server and push client. These roles are similar to the server and client device roles defined by goep and must be compatible with these device roles.
Scenario:For example, two mobile phones, one mobile phone, and one computer exchange contact information or tasks.
Product example: Some devices that may use OPP: mobile phones, PCs, and laptops.
Technical knowledge:
OPP defines two roles: the push server and the push client:
? Push server-this device provides an Object Exchange Server.
? Push client-this device pushes data to the server and extracts the target from the server.
Baseband, LMP, and L2CAP are OSI-Level 1 and 2 Bluetooth protocols. RFCOMM is the adoption of Bluetooth for GSM ts 07.10. SDP is a Bluetooth Service Discovery Protocol. Obex is the adoption of irobex by bluetooth.
19. personalarea networking profile


20. Service Discovery Application Profile service discovery application configuration file

Sdap describes how an application uses SDP to discover services on a remote device.

Scenario:
Sdap describes how an application uses SDP to discover services on remote devices. sdap describes several methods of discovery by scanning and management devices and by SDP management services. The concepts in sdap specifications enhance the basic specifications provided in the basic process of gap, SDP, and service discovery. Sdap use cases are designed to include most service discovery scenarios related to all configuration files and devices.
Product example:
Some devices that may use sdap: PCs, laptops, mobile phones, PDAs, Printers/fax machines, and headphones
Technical knowledge:
As required by gap, any bluetooth device should be able to connect to any other bluetooth device. Based on this, sdap requires that any application discover available services on any bluetooth device connected to it. This configuration file is used to search for known individual services and general services. Sdap involves service discovery of user applications. This application is required when the bluetooth device locates the service. The application connects to the SDP that sends and receives service requests from other Bluetooth devices. Sdap depends on the gap and reuse the gap components.
Sdap defines two roles: local device (locdev) and remote device (remdev (s:
? Local device (locdev)-This device starts the Service Discovery program.
? Remote device (remdev (s)-any device that participates in the service discovery process by responding to service inquiries from local devices.
On the local device (locdev) interface, the service discovery user application (srvdscapp) is connected to the Bluetooth SDP client, and the service inquiry is sent from the remote device (remdevs) the SDP server receives the Service Request Response (bt_sdp_spec: [7]). SDP uses the connection-oriented (CO) transmission service in L2CAP. This service uses the baseband asynchronous connectionless (ACL) link to implement wireless transmission of sdp pdus. Service Discovery and discovery devices are closely linked, while discovery devices are closely related to inquiries and calls. Therefore, srvdscapp connects to the baseband through the bt_module_cntrl device, which indicates when the bluetooth module enters various running search modes.
21. Serial Port profile serial port configuration file (SPP)
Serial Port frofile, example with two notebooks

SPP defines how to set a virtual serial port and connect two bluetooth devices.
Scenario
One scenario is to use two devices, such as a personal computer or laptop, as a virtual serial port, and connect the two devices through Bluetooth.
Example: Some devices that may use spp: PCs, laptops
Technical knowledge:
SPP defines two roles: Device A and Device B:
? Device A-The device actively establishes a connection (initiator) with another device ).
? Device B-the device waits for another device to start the connection (receiver ).
Baseband, LMP, and L2CAP are OSI-Level 1 and 2 Bluetooth protocols. RFCOMM is the adoption of GSM ts 07.10 by Bluetooth and provides the transmission protocol for serial port simulation. SDP is a Bluetooth Service Discovery Protocol. The figure on the left shows that the port simulation level is a device that simulates serial ports or provides APIs for applications. Applications on both sides are typical legacy applications that can and want to communicate via a serial cable (in this case virtual. However, legacy applications cannot understand the Bluetooth program for setting the virtual serial cable, so both sides need help like the Bluetooth recognition assistant application. (This configuration file does not explicitly solve this problem. The main problem is Bluetooth interoperability .)
22. Synchronization Profile Synchronization
Synchronization example with mobile phone and computer

23. Video distribution profile






Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.