Bluetooth protocol specifications (irOBEX, BNEP, AVDTP, AVCTP ),

Source: Internet
Author: User

Bluetooth protocol specifications (irOBEX, BNEP, AVDTP, AVCTP ),
Chapter IV Bluetooth protocol specifications (irOBEX, BNEP, AVDTP, AVCTP) I. IrDA Interoperability Protocol

IrOBEX infrared object interaction protocol (OBEX) enables high-level protocols to operate simultaneously on wireless links of Bluetooth and infrared.

Main Operation Commands include: Connection operation, disconnection operation, Put operation, and Get operation.

1. Connection operation, Operation Code 0x80
Byte 0 Byte 1, 2 Byte 3 Byte 4 Bytes 5, 6 Byte 7 ~ N
0x80 Connection Request group Length OBEX version Flag Maximum length of the OBEX group that the client can receive Optional Header

Byte 0 Byte 1, 2 Byte 3 Byte 4 Bytes 5, 6 Byte 7 ~ N
0x80 Connect command 7 0x10 Flag 65534 Optional Header

Connection response

2. Disconnect

The operation code is 0x81.

3. Put operation

The operation code is 0x02.

After the connection is successful, the client uses the Put request to "push" the object to the server. If the object is large, the Put request can be grouped by multiple Put requests.

4. Get operation

The operation code is 0x03.

Ii. Audio and Telephone Control Protocol 1. Framework

Bluetooth Audio is shown in the Protocol Stack: audio is synchronized through baseband transmission and is implemented for connection groups. It is not provided in a standard form and is not part of the protocol stack.
TCS_Binary is a binary encoding instruction set based on group calls. It is located on top of L2CAP. Implement Bluetooth cordless phones and walkie talkie functions.
RFCOMM is used for AT commands. dial-up Internet access, Bluetooth headsets, headsets, and faxes are controlled by sending AT commands.

2. Audio part

64 Kbps carrier-level language quality audio streams
CVSD continuous variable slope delta continuous variable slope increment.
PCM pulse code modulation.
PCM has a slope effect. CVSD uses the syllable compression algorithm and the encoding step size is automatically adjusted according to the signal slope change. It is a good coding solution to improve the language's anti-interference ability.

3. Telephone Control
TCS-Binary Telephone Control Section.

(1) telephone call

Call Control, call establishment, and call removal;

(2) Group Management

Access permission requests, distributed configuration, and quick internal Member access.
Iii. Network Encapsulation Protocol BNEP

BNEP ipvthnetworkencapsulation Protocol network encapsulation Protocol.
To exchange information with network devices such as computers, telephones, PDAs, and household appliances integrated with Bluetooth technology, a unified data group at the network layer is required. The Network Encapsulation Protocol re-encapsulates data groups from different networks and transmits data through L2CAP. This part of the protocol seems to be of little use in reality, and there are more simple and convenient ways to implement network functions.
BNEP supports Ipv4, Ipv6, and IPX

Iv. audio and video distribution protocol AVDTP

AVDTPAudio/Video Distribution Transport Protocol audio and Video Distribution and transmission Protocol

Protocols for A/v avdtp, AVCTP, GAVDP, A2DP, and AVCRP

1. Basic concepts and terminologies

Stream: a stream is the form of audio/video data transmission. It is a one-way transmission. It is divided into media groups in AVDTP. The stream is identified with a uniform HS handle.

2. Signaling

AVDTP signaling list

Command Signaling identifier Description
AVDTP_DISCOVER 0x01 Discover the stream endpoint in the device
AVDTP_GET_CAPABILITIES 0x02 Ability to obtain stream endpoint Information
AVDTP_SET_CONFIGURATION 0x03 Configure SEP
AVDTP_GET_CONFIGURATION 0x04 Obtain the current SEP Configuration
AVDTP_RECONFIGURE 0x05 Reconfigure SEP
AVDTP_OPEN 0x06 After successfully configuring SEP, open the stream
AVDTP_START 0x07 Stream opened: Used to start forming a stream; when the stream is paused: used to form a new stream.
AVDTP_CLOSE 0x08 Disable SEP
AVDTP_SUSPEND 0x09 Request SEP to suspend
AVDTP_SECURITY_CONTROL 0x0A Set Content Protection for devices, or request device status information
AVDTP_ABORT 0x0B The process of interruption being established or transmitted
AVDTP_GET_ALL_CAPABILITIES    
AVDTP_DELAYREPORT    
This part of signaling achieves Bluetooth A2DP Data Stream Control

(1) stream signaling management process

(2) get capabilities to obtain supported features

(3) set configuration to configure audio Parameters

Other commands are similar to the above two operations.

V. audio and video control transmission protocol AVCTP

AVCTP allows audio and video devices to support multiple application frameworks. Each application framework defines the corresponding message formats and rules.

This part of the operation is also insufficient in practical applications. The amount of data transmitted by Bluetooth is limited, and the implementation of these functions is insufficient. With the development of science and technology, the advantages and disadvantages of Bluetooth in wireless communication are highlighted, and the right direction to find is a reasonable direction of development.

Bluetooth chip manufacturers:

CSR Corporation (Cambridge Silicon Radio) (currently the world's largest supplier of bluetooth chips)

Broadcom

ISSC

TI corporation (CC2541)

MTK (MT6620)

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.