Linux Wireless Network Technology Overview: Bluetooth
Source: Internet
Author: User
Article title: Linux Wireless Network Technology Overview: Bluetooth. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Linux Bluetooth
Bluetooth is a short-range wireless technology used to replace cables. it supports 723 kbps (asymmetric) and 432 kbps (symmetric) speeds to transmit data and voice. The transmission range of a Bluetooth device is about 10 meters (30 feet ).
BlueZ is the official Linux Bluetooth stack. it consists of the Host Control Interface (HCI) layer, Bluetooth Protocol core, Logical Link Control and Adaptation Protocol (L2CAP) SCO audio layer, other Bluetooth services, user space background processes, and configuration tools.
Bluetooth specifications support UART (Universal asynchronous receiver/transmitter) and USB transmission mechanisms for Bluetooth HCI Data groups. The BlueZ stack supports both transmission mechanisms (drivers/Bluetooth. BlueZ BNEP (Bluetooth Network Encapsulation Protocol) implements Ethernet simulation on Bluetooth, which enables TCP/IP to run directly on Bluetooth. The BNEP module (net/bluetooth/bnep/) and the user mode pand background process implement the Bluetooth Personal Area Network (PAN ). BNEP registers itself as an Ethernet device to the Linux network layer using register_netdev, fills sk_buffs with netif_rx described for the WLAN driver above, and sends it to the protocol stack. BlueZ RFCOMM (net/bluetooth/rfcomm/) provides serial simulation on Bluetooth, which enables serial port applications (such as minicom) and protocols (such as point-to-Point Protocol (PPP )) run on Bluetooth without modification. The RFCOMM module and the user mode dund background process implement a Bluetooth dial-up network. The following list shows the necessary BlueZ modules, utilities, background processes, and configuration files for configuring various protocol services on Bluetooth.
Next, consider the Bluetooth CF card, Bluetooth USB adapter, devices with built-in CSR Bluetooth chipset, and Sony Bluetooth headset examples to learn how they work in Linux.
Sharp Bluetooth CF card
The Sharp Bluetooth CF card uses a UART transmitter to transmit HCI Data groups. In addition to serial_cs, it is the card service driver that interacts with Linux PCMCIA core. the interaction between Linux PCMCIA/CF layer and other operating systems of the Sharp card is similar to the interaction explained for the Intersil wlan cf card. The serial_cs driver (which will be further explained in the "Linux GPRS and data on GSM" section below) simulates the serial port on the Sharp CF card. The BlueZ hci_uart link driver interacts with the Bluetooth UART channel and connects the simulated serial port to the BlueZ stack.
The following list shows the modules that must be loaded when the card is inserted. Other Bluetooth CF cards, such as the Pretec CompactBT card and Socket Bluetooth card, have UART interface, however, they have their own card service drivers (drivers/bluetooth/dtl1_cs.c and drivers/bluetooth/btuart_cs.c ). After this article, you will find
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