Bluetooth and Wifi provides wireless communication and uses radio signals for doing so. The main difference between Bluetooth and Wifi is the purpose behind its designing. Bluetooth is essentially used to connect short range devices for sharing data while Wifi provides high-speed internet access.
Another difference between Bluetooth and Wifi is that limited number of devices have provision to connect with other devices in Bluetooth. On the other hand Wifi provides access to more number of users.
Bluetooth is used when speed is not our concern and low bandwidth is allocated to it. Wifi provides high bandwidth as the speed of internet is an important factor.
Content: Bluetooth Vs Wifi
|Basis for Comparison||Bluetooth||Wifi|
|Hardware requirement||Bluetooth adapter on all the devices connecting with each other.||Wireless adapter on all the devices of the network and a wireless router.|
|Ease of Use||Fairly simple to use and switching between devices is easier.||It is more complex and requires configuration of hardware and software.|
|Range||10 meters||100 meters|
|Security||Less secure comparatively||Security features are better. Still, there are some risks.|
|Frequency range||2.400 GHz and 2.483 GHz||2.4 GHz and 5 GHz|
|Flexibility ||Supports limited number of user||It provides support for a large number of users|
|Modulation techniques||GFSK (Gaussian frequency shift keying)||OFDM (Orthogonal frequency division multiplexing) and QAM (Quadrature Amplitude Modulation)|
Definition of Bluetooth
Bluetooth is an open specification (universal) for short range wireless voice and data communications. Inventors of Bluetooth are Ericsson, Nokia, IBM, Toshiba and Intel formed a Special Internet Group (SIG) to expand the concept and to develop a standard under IEEE 802.15 WPAN (Wireless Personal Area Network).
Bluetooth is the first popular technology for short range ad-hoc network that is designed for integrated voice and data application.
Compared with Wifi, Bluetooth has lower data rate, but it has an embedded mechanism to support the application. Bluetooth is inexpensive personal area ad-hoc network operating in unlicensed lands and owned by the user.
Bluetooth SIG considers three applications based scenario-
1. Cable replacement
2. Ad-hoc personal network
3. Integrated Access Points (APs) for data/voice.
Bluetooth topology is referred to as scattered ad-hoc topology. It defines a small cell called Piconet which is a collection of devices connected in an ad-hoc fashion.
There are four states
- M(Master)– can handle seven simultaneous and up to 200 active slaves in the piconet.
- S(Slave)– terminals which can participate in more than one piconet.
- SB(Stand by)– Waiting to join the piconet later mean while retaining its MAC address in it.
- P(Parked/hold)– Waiting to adhere to the piconet later and releases its MAC address.
The physical connection of Bluetooth uses a FHSS (frequency hopping spread spectrum) modem with a nominal antenna power of 0 dBm(10 m coverage) that has an option to operate at 20 dBm(100 m coverage).
Bluetooth hopping rate s 1600 hops/second. Bluetooth assigns a specific frequency- hopping pattern for each piconet.
The connection establishment in Bluetooth has two phases- Inquiry, page and connection. Active devices are assigned a 3 bit AMA (Active Member Address), Parked devices are assigned an 8-bit PMA (Parked Member Address), Standby devices do not need an address.
- Sniff State – Slaves listens to the piconet at reduces rates.
- Hold state – Slave stops ACL (Asynchronous Connection Less) transmission but can exchange SCO (Synchronous Connection Oriented) packets.
- Park state – Slave releases its AMA.
- Page state – AMA is assigned.(becomes master)
- Connected state – Listen, transmit and receive.
- Standby state – Listen periodically.
- Inquiry state – To discover what other devices are out there.
Bluetooth provides usage protection and information confidentiality. It uses a 128 bit long random number, 48-bit MAC address of the device and two keys – Authentication (128 bits) and Encryption (8 to 128 bits). Three modes of operation are non-secure, service level and link level.
Definition of Wifi
Wi-Fi (Wireless Fidelity) is the name given by the Wi-Fi Alliance to the IEEE 802.11 suite of standards. 802.11 defined the initial standard for wireless local area networks (WLANs), IEEE specifications are wireless standards that define an interface which uses are as the medium for transmitting and receiving signals between a wireless client and a station or access point, as well as among wireless clients.
The aim of the 802.11 standards was to develop a MAC and PHY layer for wireless connectivity for fixed, portable and moving stations within a local area.
IEEE 802.11 standard includes the following special features –
1. It provides asynchronous and time-bounded delivery service.
2. It supports continuity of service within extended areas via distribution system.
Requirements of IEEE 802.11 are:
1. Single MAC is supporting multiple PHYs’.
2. Mechanisms to allow multiple overlapping networks in the same area.
3. Provisions to handle the interface from other ISM based radios and microwave oven.
4. Mechanisms to manage “hidden” terminal.
5. Options to support time-bounded services.
6. Provision to handle privacy and access security.
There are two operations models or topologies defined in IEEE 802.11-
- Infrastructure mode– In this mode, the wireless network comprises at least one access point (AP) which is usually connected to the wired network infrastructure and a set of the wireless end station. Access controls encryption on the network and may bridge or route the wireless traffic to a wired ethernet networks (or internet).
- Ad- hoc mode– In this mode, multiple 802.11 wireless stations communicate directly with each other in the absence of an access point or any connection to a wired network. It is also called independent Basic service set (IBSS) or an peer-to-peer mode.
IEEE 802.11 has provisions for authentication and privacy. Two types of authentication supported by IEEE 802.11 are-
- Open system authentication– Default authentication scheme. The request frame sends the authentication algorithm ID for an open system. The response time sends the results of the request.
- Shared Key authentication– It provides a greater amount of security. The request frame carries the authentication frames ID for the shared key using a 40-bit secret code that is shared between itself and IP. The 2nd station sends a challenge text of 128 bytes. The 1st station sends encrypted text as a response. The 2nd station sends authentication results.
Privacy is maintained in IEEE 802.11 by WEP(wired equivalent privacy) specification. A pseudorandom generation along with 40-bit secret key is used to create a key sequence which is simply an XOR-ed with the plain-text message.
Key Differences Between Bluetooth and Wifi
- Bandwidth requirement is low in Bluetooth whereas it is high in case of Wifi.
- For connection establishment, through Bluetooth, a device would require Bluetooth adapter. On the other hand, for using Wifi devices require wireless adapter and router.
- Bluetooth is simple to use and switching between devices is easier while Wifi technology is kind of complex and requires configuration of hardware and software.
- The radio signal range provided by Bluetooth is 10 meters while it is 100 meters in case of Wifi.
- Frequency range along which Bluetooth devices are supported is 2.4 GHz to 2.483 GHz. On the contrary, in Wifi the frequency range is 2.4 GHz to 5 GHz.
- Power consumption is low in Bluetooth, while it is high in Wifi.
- Bluetooth is less secure as compared to Wifi and uses encryption and authentication keys. In contrast, Wifi has better security, although still there are some security issues. Wifi uses WEP (Wired Equivalency Privacy) and WPA (Wifi Protected Access).
Bluetooth and Wifi, both technologies were invented in order to enable wireless communication between the various devices. Although both has different purposes, has their relative advantages and disadvantages.
Basically, Bluetooth considered as short distance wireless communication while Wifi provides more privileges and long range, large number of users and cost effective way to connect to internet.