Tuesday, March 16, 2010

All you Need to Know about Bluetooth!

Due to widespread use of computers and electronic gadgets, every tabletop is now a maze of wires connecting computers, peripherals and other devices. Experienced by all of us, the mess of wires is the most unwanted, nevertheless the most unavoidable impediment on our desks.
Bluetooth technology provides a solution by interconnecting these devices over an inexpensive yet reliable radio link. In the coming years it is expected that the entire electronic gadgetry will feature a Bluetooth wireless link to take over any sorts of inter-device communication leaving out desks with no wires but power cables.
What exactly is Bluetooth technology?
Bluetooth is nothing but a communication protocol (set of rules required to send digital information over a digital communication channel; the language two electronic devices use to communicate) defining the short-range communication standard among two (or more) radio enabled devices. Brought into being by a couple of research students at Lund University (Sweden) in collaboration with Ericsson, Bluetooth standard in now maintained by SIG (Special Interest Group of Bluetooth) formed in 1988 when IBM, Intel, Nokia and Toshiba joined Ericsson in the venture.
Where did it get its name from?
The name comes from a Viking ‘Herald Blatand’ or Herald the Blue Tooth who was the king of Denmark back in 900AD. King Bluetooth is attributed with uniting the Scandinavia specially Denmark and Norway into a single kingdom and bringing in Christianity all over; the time when most of the Europe was divided into religion-centered territories.
The Bluetooth Technology is metaphorically named after the king as it sets a standard for communication regardless of manufacturer and the device itself.
Where does it falls under the wireless network classes:
Bluetooth falls under the WPAN (wireless personal area network) classification among the wireless network classes.
The Architecture:
For Bluetooth communication there must be a connection between devices before the data can be transferred (unlike IrDA, the infrared communication). The communication is always based on a master-slave principle for setting up the connection. This means that control signaling is responsibility of only one device, not both. However, it must be noted that master and slave can switch sides; it’s just a matter of which device was rendered discoverable and which device discovered the other while the connection was being made.
Though the connection is wireless, it is automatic and that’s the best feature of it if we compare it with its competitors, and also one of the leading reason behind Bluetooth’s increasing popularity.
The devices to communicate form a piconet (a PAN sub-class). In a piconet, two or more devices can be connected to the network but they share the same medium (The designated radio bandwidth in case of Bluetooth communication).  For a Bluetooth piconet, the master communicates with all the slaves (maximum 7 slaves can be connected to one master, making a total of 8 devices in the piconet, the number 8 automatically makes sense to anybody even slightly familiar with computer basics) and creates a point to multipoint setup.
Now, two question might pound one’s mind, how the devices establish a connection and how do they share the same medium?
Creating a Bluetooth Connection
As u must have noticed while making a connection among two Bluetooth devices, both the devices recognize each other’s type (desktop computer, laptop, mobile phone, Smartphone, PDA etc). This is because every Bluetooth chipset is assigned with a unique 48-bit ID code (MAC address for those who can understand the term) managed be the IEEE. These codes are divided into ranges each specifying the type a device may fall into.
Whenever Bluetooth is powered on (and set Discoverable), the device sends out signals broadcasting its ID code. Since Bluetooth protocol specifies a low power transmitter, the radio range, as already stated, is a mere 10m approx. This makes other Bluetooth devices in equally near vicinity to receive the signals.
Consider a home environment with certain free band devices in operation. Now if you have a comparative exposure of working these electronics, u must have experienced that sometimes they interfere with each other because they work at a specified frequency. That’s why they are tunable to adjust operating frequency in case there is a clash between two. For ease of communication and automatic connectivity, a Bluetooth user can never have been faced down to rectify the connectivity issues. Frequency hopping is the technique guiding the easy way out (not to mention modern cordless phones which themselves support frequency hopping to avoid interference).

Frequency hopping is a technique that makes a device to frequently change its operating frequency. Frequently means hundreds of times a second (Bluetooth specifies frequency hop of 1600 times a second). A Bluetooth Master randomly selects 79 channels of the ISM band, lets the Slave know about the selected channels and then the two devices communicate hopping about these 79 channels. The technique practically eliminates any chance of interference. Because if an interference occurs, it remains for 1/1600=0.625 microseconds; distorting an amount of data that can easily be corrected by error correction techniques present in every digital communication system.
Note: Most of the hard facts are extracted from Houda Labiod’s book ‘Wi-Fi Bluetooth ZigBee and WiMAX’, Dreamtech Software Team’s ‘Cracking the Code’, Kurt Franklin’s ‘How Bluetooth works’ and Intel’s journal ‘Introduction to Bluetooth wireless technology’.

No comments:

Post a Comment