[wp]블루투스[/wp](IEEE 802.15.1)는 1994년에릭슨에 의해 최초로 개발된 개인 근거리 무선 통신(PANs)을 위한 산업표준이다. 블루투스는 다양한 기기들이 안전하고 저렴한 비용으로 전세계적으로 이용이 가능한 라디오 주파수를 이용해 서로 통신할 수 있게 한다. 블루투스라는 이름은 10세기의 덴마크 왕 헤럴드 블루투스에서 유래했는데, 대립국면에 있는 파벌들이 협상하는데 있어서 특히 유명했다. 즉 다른 장치들간에 통신이 가능하게 하는 이 기술에 적합한 이름이다. 블루투스는 ISM 대역인 2.45GHz를 사용한다. 버전 1.1과 1.2의 경우 속도가 723.1kbit/s에 달하며, 버전 2.0의 경우 EDR을 특징으로 하는데, 이를 통해 2.1 Mbit/s의 속도가 가능하다. 블루투스는 유선의 USB를 대체하는 개념이며, Wi-Fi는 Ethernet을 대체하는 개념이다. 암호화에는 SAFER(Secure And Fast Encryption Routine)+을 사용한다.
Bluetooth communication occurs between a master radio and a slave radio. Bluetooth radios are symmetric in that the same device may operate as a master and also the slave. Each radio has a 48-bit unique device address (BD_ADDR) that is fixed.
Two or more radio devices together form ad-hoc networks called piconets. All units within a piconet share the same channel. Each piconet has one master device and one or more slaves. There may be up to seven active slaves at a time within a piconet. Thus, each active device within a piconet is identifiable by a 3-bit active device address. Inactive slaves in unconnected modes may continue to reside within the piconet.
A master is the only one that may initiate a Bluetooth communication link. However, once a link is established, the slave may request a master/slave switch to become the master. Slaves are not allowed to talk to each other directly. All communication occurs within the slave and the master. Slaves within a piconet must also synchronize their internal clocks and frequency hops with that of the master. Each piconet uses a different frequency hopping sequence. Radio devices used Time Division Multiplexing (TDM). A master device in a piconet transmits on even numbered slots and the slaves may transmit on odd numbered slots.
Fig 1: Bluetooth Scatternets and Piconets
Multiple piconets with overlapping coverage areas form a scatternet. Each piconet may have only one master, but slaves may participate in different piconets on a time-division multiplex basis. A device may be a master in one piconet and a slave in another or a slave in more than one piconet.
The main principle in mind when developing the Bluetooth Protocol Architecture has been the maximization and the re-use of existing protocols for different purposes at the higher layers. The one main advantage is that existing (legacy) applications can be adapted to work with the Bluetooth Technology. The Bluetooth Protocol Architecture also allows for the use of commonly used application protocols on top of the Bluetooth-Specific protocols. In simpler terms, this permits new applications to take full advantage of the capabilities of the Bluetooth technology and for many applications that are already developed by vendors; they can take immediate advantage of hardware and software systems, which are also compliant with the Specification.
Fig 1:The Bluetooth Protocol Stack Model The protocols and layers in the Bluetooth protocol stack
In addition to the above protocol layers, the Specification also defines a Host Controller Interface (HCI). This provides a command interface to the baseband controller, link manager, and access to hardware status and control registers.
Three-in-One Phone
Telephone handsets built to this profile may connect to three different service providers. First, telephones may act as cordless phones connecting to the public switched telephone network (PSTN) at home or the office and incurring a fixed line charge. This scenario includes making calls via a voice base station, making direct calls between two terminals via the base station and accessing supplementary services provided by an external network. Second, telephones can connect directly to other telephones for the purpose of acting as a ~Swalkie-talkie~T or handset extension. Referred to as the intercom scenario , the connection incurs no additional charge. Third, the telephone may act as a cellular phone connecting to the cellular infrastructure and incurring cellular charges. The cordless and intercom scenarios use the same protocol stack, which is shown in Figure 5. The audio stream is directly connected to the Baseband protocol indicated by the L2CAP bypassing audio arrow.
Fig 3:Protocol Stack for Cordless Phone and Intercom Scenarios
Ultimate Headset
The headset can be wirelessly connected for the purpose of acting as a remote device~Rs audio input and output interface. The headset increases the user~Rs freedom of movement while maintaining call privacy. A common example is a scenario where a headset is used with either a cellular handset, cordless handset, or personal computer for audio input and output. The protocol stack for this usage model is depicted in Figure 6. The audio stream is directly connected to the Baseband protocol indicated by the L2CAP bypassing audio arrow. The headset must be able to send AT-commands (Attention commands) and receive result codes. This ability allows the headset to answer incoming calls and then terminate them without physically manipulating the telephone handset.
Fig 4: Ultimate Headset Protocol Stack
블루투스 1.1 1.0B 규격에서 발견된 많은 오류들이 수정되었다. 비암호화된 채널들에 대한 지원이 더해졌다. Received Signal Strength Indicator(RSSI)
블루투스 1.2 이 버전은 1.1과 호환되며 다음과 같은 큰 발전이 있었다. Adaptive Frequency-Hopping spread spectrum(AFH), 호핑 시퀀스에서 붐비는 주파수를 피함으로써 라디오 주파수 간섭에 대한 저항력을 향상시켰다. 실사용에서의 향상된 전송속도 호스트 컨트롤러 인터페이스(HCI)가 3-wire UART를 지원한다. HCI가 어플리케이션을 위해 timing information에 액세스한다.
블루투스 2.0 이 버전은 1.x버전들과 호환된다. 가장 큰 개선사항은 2.1 Mbit/s의 Enhanced Data Rate(EDR)이다.