Talking about Bluetooth Technology
(Class 0602, Department of Electronics and Information Engineering, Huazhong University of Science and Technology, Wuhan 430074)
Absrtact: Bluetooth technology is a short-distance and low-power wireless communication standard, which provides a low-cost wireless networking method for devices. This paper introduces the underlying module, protocol and application model of Bluetooth technology, and compares it with other commonly used wireless connection technologies to illustrate its advantages.
Keywords: Bluetooth; Bottom module; Agreement; App application
1, Introduction to Bluetooth
As early as 1994, Ericsson put forward a research plan, aiming at establishing and developing a new generation of wireless transmission technology that can be easily used and unimpeded on various communication devices, and establishing practical wireless interfaces and related software standards. 1998, Ericsson announced this plan, and formed a special interest group (SIG) with Nokia, IBM, Toshiba and Intel to be responsible for the development of this technology. One year later, in July, 1999, SIG formally proposed the technical protocol of 1.0 version, and named the technology Bluetooth. According to the official interpretation of SIG, the name Bluetooth comes from harald Bluetooth, the Viking king of Denmark in the 10 century. The king unified Denmark and Norway by force and established a huge empire in Scandinavia.
Bluetooth technology solves the problem of wireless interconnection between small mobile devices. Its hardware market is very broad, covering all kinds of data and voice equipment in LAN. The essential purpose of this technology is not to become another WLAN technology, but to become a new wireless solution to replace transmission cables. From the version of 1.0 of 1999 to the later versions of 1. 1, 1.2 and 2.0, Bluetooth technology has been constantly improving itself in technology, trying to absorb the advantages of general cables in terms of cost, safety and carrying capacity. After the Bluetooth King dominated Northern Europe for thousands of years, the emerging Bluetooth technology is opening up a territory thousands of times larger than the Bluetooth King in the global wireless connection market with its various advantages.
2. Overview of Bluetooth protocol
The protocol model in Bluetooth architecture can be divided into the following five layers:
(1) Physical layer: the wireless interface layer of Bluetooth protocol;
(2) Core protocols: baseband protocol, link management protocol (LMP), logical link control and adaptation protocol (L2CAP), service discovery protocol (SDP), etc. Baseband protocols can provide synchronous connection-oriented (SCO) services and asynchronous connection (ACL) services. Generally speaking, SCO is used for packet data service, which is characterized by reliability but delay; ACL is used for voice transmission, which is characterized by good real-time performance. But the reliability is worse than SCO. The Link Management Protocol (LMP) is responsible for establishing and releasing the connection between the master unit and the slave unit, and controlling the working modes of the master unit and the slave unit. L2CAP is the third layer control and adaptation protocol, which provides connection-oriented and connectionless services for layers such as RFCOMM and SDP. Baseband data services can directly transmit data to higher layer protocols through LMP and L2CAP. In a sense, both L2CAP and LMP are equivalent to the second layer protocol of OSI, that is, the link layer.
(3) RF communication protocol: RFCOMM, which can simulate the serial cable interface protocol. Through RFCOMM, Bluetooth can support high-level protocols such as PPP, TCP/IP and WAP in wireless environment. RFCOMM can support AT command set and realize wireless connection of mobile phone, fax machine and modem;
(4) Telephone transmission control protocol: TCS binary protocol, AT command set, etc.
(5) Application protocols (optional protocols): PPP (Point-to-Point Protocol), UDP/TCP/IP, OBEX, vCard/vCarl, FAX, PAN, etc.
3. Bluetooth bottom module
Bluetooth bottom module is the core of Bluetooth technology and an essential part of any Bluetooth device.
3. 1 RF
In order to ensure that the frequency band required by the system can be easily obtained around the world, the Bluetooth system works at the industrial, scientific and medical (ISM) frequency of most countries, that is, 2.4GHz. Due to the openness of ISM frequency band, the use of any frequency band will encounter unpredictable interference-for example, wireless telephones and microwave ovens at home may become interference sources. For this reason, Bluetooth has specially designed a fast acknowledgement and frequency hopping scheme to ensure the stability of the link. Bluetooth divides its working frequency band from 2.402 GHz to 2.480 GHz into 79 subchannels with a bandwidth of 1MHz, and jumps to another frequency after receiving or sending a packet of data, thus enhancing the stability of data transmission.
Frequency hopping technology not only ensures the stability of Bluetooth technology, but also ensures its security in the physical layer. In frequency hopping communication, data signals are modulated by narrowband carrier signals, and these narrowband carrier signals constantly jump from one frequency to another as a function of time. The Bluetooth standard uses a frequency hopping sequence of 1600 hops per second. The frequency hopping code known to both transmitter and receiver determines the frequency of RF carrier and the order of frequency hopping. In order to receive the signal correctly, the receiver must set the same frequency hopping code as the sender, and monitor the carrier signal at the right time and frequency. Only when the synchronization is correct can the logical channel be maintained. The signals received by other asynchronous receivers are only impulse noise with very short duration, so it is very difficult to eavesdrop.
The third advantage of frequency hopping technology is that multiple devices can be connected at the same time. As mentioned earlier, Bluetooth operates in frequency hopping mode in 79 channels. When two Bluetooth devices successfully establish a link, a piconet is formed. The communication between them is completed by radio waves jumping randomly in these 79 channels. Bluetooth provides a specific hop mode for each piconet, so it allows a large number of piconets to exist at the same time.
3.2 Duplex Mode and Service Type