OpenSource For You

Linux without wires

Bluetooth technology is used for short range (1 metre to 100 metres) communicat­ion. It is the most widespread wireless technology, and is divided into classes according to the power and communicat­ion range.

-

Bluetooth is a packet based protocol and has a masterslav­e structure. It works between the 2400MHz and the 2483.5MHz frequency range, and uses the frequency-hopping spread spectrum. Bluetooth divides data into packets and transmits them on one of the 79 designated channels. Each channel has a 1MHz bandwidth. Version 4.0 of Bluetooth has 40 channels, and each channel uses a 2MHz bandwidth.

BlueZ

BlueZ is a general-purpose Bluetooth stack that is used to implement the Bluetooth host protocol stack for Linux. It is open source software and the official Linux Bluetooth stack. You can download this software from http://www.bluez.org/ in the developmen­t section.

BlueZ maps Bluetooth protocol layers to kernel modules, kernel threads, user space daemons, configurat­ion tools, utilities and libraries (see Figure 3). The main components of BlueZ are: bluetooth.ko, which contains core infrastruc­ture of BlueZ. It exports sockets of the Bluetooth family – AF_ BLUETOOTH. All BlueZ modules utilise its services. Bluetooth HCI packets are transporte­d over UART or USB. The correspond­ing BlueZ HCI implementa­tion is hci_uart. ko and hci_usb.ko. The L2CAP layer of Bluetooth, which is responsibl­e for segmentati­on, reassembly and protocol multiplexi­ng, is implemente­d by l2cap.ko. With the help of bnep.ko, TCP/IP applicatio­ns can run over Bluetooth. This emulates an Ethernet port over the L2CAP layer. The kernel thread named kbnepd is responsibl­e for BNEP connection­s.

 ??  ??

Newspapers in English

Newspapers from India