|
|
|
|
|
|
|
Good judgment comes from long experience. Long experience comes from exercising bad judgment. |
|
|
|---|
Harald Bluetooth
was a viking chieftain, named for his dark complexion, and not for any miss-colored tooth, as might be suspected. His real name was Harald Gormsson. He was king of Norway and Denmark during the 10th century. He waged war against Germany and managed to gather a huge armada of viking ships, whose crews almost overran northern Germany. Harald Bluetooth converted to Christianity and lived a very adventurous life. He was ultimately deposed in a coup, and died in exile. There is a more extensive biographical note at the end of this essay, if you are interested.![]() ![]() For those who like to experiment with Bluetooth, Ericsson Mobile Communications has produced 2 Bluetooth Kits: |
Bluetooth is a by now well-established communications standard for short-distance wireless connections. It replaces the many proprietary cables that connect one device to another with one universal short-range radio link. For instance, Bluetooth radio technology built into both the cellular telephone and the laptop would replace the cable used today to connect a laptop to a cellular telephone. Printers, desktops, fax machines, keyboards, joysticks and virtually any other digital device can be part of the Bluetooth system. The Bluetooth radio technology also provides a universal bridge to existing data networks, a peripheral interface, and a mechanism to form small private ad hoc groupings of connected devices away from fixed network infrastructures. The work with development of Bluetooth was started by Ericsson Mobile Communication in 1994. It is ideally suited to FLYWAYs need for a functional interface between travelers and the system. It could also be used in communication with the beamcars. These 2 uses are described on two separate webpages; "Using Bluetooth as Passenger Interface" and "Using Bluetooth as Beamcar Interface". |
Since Bluetooth is an open standard, there is plenty of detailed information to be found on the Bluetooth website. We have nevertheless choosen to present a brief description here, so that the pages detailing FLYWAYs use of Bluetooth will be easier understood. If one starts to read the detailed PDF-files on the Bluetooth website, describing every aspect of this technology, one might be stuck all day, just reading.List of contents:
|
n 1995, the telecommunications and information technology industries recognized that a low-cost, low-power radio based cable replacement, or wireless link, would be feasible, thus eliminating the need for communication cables for short distances. Such a ubiquitous link would provide the basis for small portable devices to communicate together in an ad-hoc fashion.A study was done, and the technology, code named "Bluetooth", was soon defined. The goal was to provide reliable service for mobile and business users by means of a small, short range radio-based technology. This would be integrated into production line models of a range of different devices. |
Surfing on the CyberShuttle |
The 802.15.1 StandardThe lower transport layers (L2CAP, LMP, Baseband, and radio) of the Bluetooth™ wireless technology are defined. Also specified is a clause on SAPs which includes a LLC/MAC interface for the ISO/IEC 8802-2 LLC. Also specified is an normative annex which provides a Protocol Implementation Conformance Statement (PICS) proforma. Also specified is a informative high level behavioral ITU-T Z.100 Specification and description language (SDL) model for an integrated Bluetooth MAC Sublayer. The 802.15.1 standard is supported by the Bluetooth Special Interest Group, which receives support from 3Com, Nokia, Intel, and other wireless industry stalwarts. |
Why not use Infrared transmission/reception?Well, IrDa has its advantages, but it is not quite up to our task, for various reasons. Primarily, IrDa is point-to-point, it´s very directional, it won´t transcend opaque materials, etc. We won´t delve further into this matter here, but a comparison of these 2 systems can be found at the Extended Systems Inc. website. Why not use Airport?![]() "Airport" is a wireless communications system, which, like Bluetooth, is based on the IEEE 802.11 recommendation. It also uses 2.4 GHz frequency band, but its range is about 45 meters and it boasts a transmission speed of 11 Mbit/second. It is developed by Lucent Technologies and used with Apples MacIntosh, and not much details are published about it, compared to the completely open Bluetooth. Apparantly, it is only available in small modules for interconnection between Apple compatible equipment and the Internet. It seems clear, however, that Airport does not have the sophisticated protocols that Bluetooth has. Airport thus cannot be of use for FlyWay´s vehicle communications. The longe range of Airport can be obtained (and superseeded) by Bluetooth. Possibly can the 11 Mbit/second transmission speed be of use to passengers in the cars. |
Why not use Wireless LAN?Bluetooth puts its emphasis on dynamically handling mobile units of various kinds. Why not use UWB?UWB transmissions do not involve carrier signals, and thus eliminate waveband crowding. Furthermore, UWB transmitters and receivers have relatively few construction, operational, and maintenance needs. The power requirements are also quite small, in the 50- to 70-milliwatt range. In addition, since pulse signals blend so easily into background electronic noise, UWB transmissions are well protected. Ultra Wide Band is a wireless communications technology that can currently transmit data at speeds between 40 to 60 megabits per second and eventually might come up to 1 gigabit per second. UWB transmits ultra-low power radio signals with very short electrical pulses, often in the picosecond (1 millionth of a second) range, across all frequencies at once. UWB receivers must translate these short bursts of noise into data by listening for a familiar pulse sequence sent by the transmitter. UWB has low power requirements, and is therefore very difficult to detect and thus difficult to regulate. Because it spans the entire frequency spectrum (licensed and unlicensed), it can be used indoors and underground, unlike GPS. There are worries that UWB devices operating below 2 GHz will break into global positioning system, air traffic, television, and other broadcasts. There is also the question whether UWB will support all the higher protocols included in Bluetooth. You can read more about UWB here. |
Why not use Wi-Fi?Bluetooth and other home LAN protocols have superior technologies, but don't be fooled. The history of technology has repeatedly shown that if a certain open architecture gains escape velocity, it will corner the market. The cost declines brought on by ramping up unit volumes alone are enough to thwart any competitive threat. Wi-Fi has all the makings of a pervasive, explosive technology: huge growth, a strong value proposition, multiple and expanding uses, industry standardization, and global standardization. The technology's flaws are nothing more than a speed bump, given the billions of dollars of R&D already poured into this space. But in certain applications, nothing can replace the more advanced Bluetooth protocol. Microsoft has not added Bluetooth capabilities to its newest version of Windows XP, but instead included Wi-Fi support. Although Wi-Fi requires that users be within the proximity of a transmitter, it offers faster speeds and easy adaptation for programs because it so closely resembles traditional networking. In contrast, Bluetooth would allow devices to communicate directly with one another instead of going through a transmitter.
![]() |
luetooth is based on the The IEEE 802.11 standard, as is Lucent Technologie´s "Airport", WLAN and other wireless communications standards. This standard defines the protocol for two types of networks; Ad-hoc and client/server networks.An Ad-hoc network is a simple network where communications are established between multiple stations in a defined coverage area, without the use of an access point or server. The standard specifies the etiquette that each station must observe so that they all have fair access to the wireless media. It provides methods for arbitrating requests to use the media to ensure that throughput is maximized for all of the users. |
![]()
|
The client/server network uses an access point that controls the allocation of transmit time for all stations, and allows mobile stations to roam from cell to cell. The access point is used to handle traffic from the mobile radio to the wired or wireless backbone of the client/server network. This arrangement allows for point coordination of all of the stations in the basic service area and ensures proper handling of the data traffic. The access point routes data between the stations and other wireless stations or to and from the network server. We have devoted a separate page for a description of this recommendation. See "The 802.11 recommendation" |
|---|
he stated aim with developing the Bluetooth standard was to arrive at a specification for a technology that optimizes the usage model of all existing mobile computing and communications devices, and providing:
|
Bluetooth is specifically designed to provide low-cost, robust, efficient, high capacity, ad hoc voice and data networking with the following characteristics:
|
| These features will enable Bluetooth to provide extremely flexible and high data rate links even in the presence of severe interference. In addition to performing well when signal conditions are good, as the interference increases the performance degradation will remain minimal and gradual, enabling stable links to be maintained. | Bluetooth is a Radio Frequency (RF) specification for short-range, point-to-multipoint voice and data transfer. Bluetooth can transmit through solid, non-metal objects. Its nominal link range is from 10 cm to 10 meters, but can be extended to 100 meters by increasing the transmit power. It is based on short-range radio links, and facilitates ad hoc connections for stationary and mobile communication environments. |
Figure 4:1 |
Figure 4:2 |
|---|
General
luetooth technology has been designed to operate in noisy radio frequency environments, and uses a fast acknowledgement and frequency-hopping scheme to make the link robust, communication-wise. Bluetooth radio modules avoid interference from other signals by hopping to a new frequency after transmitting or receiving a packet. Compared with other systems operating in the same frequency band, the Bluetooth radio typically hops faster and uses shorter packets. This is because short packages and fast hopping limit the impact of microwave ovens and other sources of disturbances. Use of Forward Error Correction (FEC) limits the impact of random noise on long-distance links.The Bluetooth baseband protocol is a combination of circuit and packet switching. Time slots can be reserved for synchronous packets. A frequency hop is done for each packet that is transmitted. A packet nominally covers a single time slot, but can be extended to cover up to five slots. Bluetooth can support an asynchronous data channel, up to three simultaneous synchronous voice channels, or a channel which simultaneously supports asynchronous data and synchronous voice. 2 Power Levels
|
Power Saving: the HOLD MODEDynamical Regulation of Transmitted PowerFunctional parts of the Bluetooth system:
| Definitions used
|
Technical Specifications
he Bluetooth air interface is based on a nominal antenna power of 0 dBm. Spectrum spreading has been added to facilitate optional operation at power levels up to 100 mW worldwide. It is accomplished by frequency hopping in 79 hops displaced by 1 MHz, starting at 2.402 GHz and stopping at 2.480 GHz. Due to local regulations, the bandwidth is reduced in Japan, France and Spain. This bandwidth reduction is handled by an internal software switch. The maximum frequency hopping rate is 1600 hops/s.
Transmission/Reception characteristics
Number of channels: 79
Receiver: RX sensitivity, -70dBm, IP 3, -16dBm, CP 1 dB, -6dBm
Transmitter: TX power: nominal 0 dBm, optional range, -30 - +20 dBm
Tolerated background noise outside transmission band:
|
the technique for long-range communication |
![]() |
|---|
This specification also mandates that the transmitter has an effect regulator in order to reduce disturbances to other electronic equipment in the vicinity.

As can be seen from figure 4.4 above, the RF-part of a Bluetooth-transceiver is equipped with:
One product that fills these requirements is called "MAX2240" and comes from Maxim. Two digital controlbits are used to set the VGA-step (Variable Gain Amplification) to 4 distinct levels, and this results in 4 distinct output power levels.
The antenna that are used on the FLYWAY vehicles has to be specially adapted for the purpose. A Swedish company, "Intenna" has developed and patented antennas for Bluetooth-use.
The various specifications and standards that are used:
|
(3 voice channels).
|
igure 5:1 provides an overview what protocols are used and supported in Bluetooth, and how they tie in together. As is usual in this kind of charts, the protocols are roughly hierarchically shown, with the "highest" protocols on top. In data communication contexts, this hierarchy means 2 things:
| ![]() Figure 5:1 |
|---|
![]() |
![]() |
|---|
1. Bluetooth core protocolsBasebandThe Baseband and Link Control layer enables the physical RF link between Bluetooth units forming a piconet. This layer controls the Bluetooth unit's synchronisation and transmission frequency hopping sequence. The two different link types defined in Bluetooth, Synchronous Connection Oriented (SCO) and Asynchronous Connectionless (ACL), are also managed by this layer. The ACL links, for data, and the SCO links, mainly for audio, can be multiplexed to use the same RF link.AudioAudio transmissions can be performed between one or more Bluetooth units, using many different usage models. Audio data do not go through the L2CAP layer but go directly, after opening a Bluetooth link and a straightforward set-up, between two Bluetooth units.Host Controller Interface (HCI)HCI provides a uniform interface method for accessing the Bluetooth hardware capabilities. It contains a command interface to the Baseband controller and link manager and access to hardware status. It also contains control and event registers. |
Link Manager Protocol (LMP)LMP is responsible for link set-up between Bluetooth units. It handles the control and negotiation of packet sizes used when transmitting data. The Link Manager Protocol also handles management of power modes, power consumption, and state of a Bluetooth unit in a piconet. Finally, this layer handles generation, exchange and control of link and encryption keys for authentication and encryption.Logical Link Control and Adaptation Protocol (L2CAP)The Bluetooth logical link control and adaptation protocol, L2CAP, is situated over the Baseband layer and beside the Link Manager Protocol in the Bluetooth protocol stack. The L2CAP layer provides connection-oriented and connectionless data services to upper layers. The four main tasks for L2CAP are:
|
Service Discovery Protocol (SDP)SDP defines how a Bluetooth client's application shall act to discover available Bluetooth servers' services and their Bluetooth characteristics. The protocol defines how a client can search for a service based on specific attributes without the client knowing anything of the available services. The SDP provides means for the discovery of new services becoming available when the client enters an area where a Bluetooth server is operating. The SDP also provides functionality for detecting when a service is no longer available.2. Cable replacement protocol |
3. Telephony control protocolTelephony Control -BinaryThe Telephony Control protocol -Binary, TCS Binary or TCS BIN, is a bitoriented protocol, which defines the call control signalling for the establishment of speech and data calls between Bluetooth units. The protocol defines the signalling for establishment and release of calls between Bluetooth units. As well as signalling to ease the handling of groups of Bluetooth units. Furthermore, TCS Binary provides functionality to exchange signalling information unrelated to ongoing calls. Establishment of a voice or data call in a point-to-point configuration as well as in a point-to-multipoint configuration is covered in this protocol (note, after establishment, the transmission is from point to point). The TCS Binary is based on the ITU-T Recommendation Q.931.Telephony Control -AT CommandsA number of AT -commands are supported for transmitting control signals for telephony control. They use the serial port emulation, RFCOMM, for transmission.
|
4. Adopted protocolsPPPThe IETF Point-to-Point Protocol (PPP) in the Bluetooth technology is designed to run over RFCOMM to accomplish point-to-point connections. PPP is a packetoriented protocol and must therefore use its serial mechanisms to convert the packet data stream into a serial data stream.TCP/UDP/IPThe TCP/UDP/IP standards are defined to operate in Bluetooth units allowing them to communicate with other units connected, for instance, to the Internet. Hence, the Bluetooth unit can act as a bridge to the Internet. The TCP/IP/PPP protocol configuration is used for all Internet Bridge usage scenarios in Bluetooth 1.0 and for OBEX in future versions. The UDP/IP/PPP configuration is available as transport for WAP.OBEX ProtocolIrOBEX, as is the correct term, is an optional application layer protocol designed to enable units supporting infrared communication to exchange a wide variety of data and commands in a resource-sensitive standardised fashion. OBEX uses a client-server model and is independent of the transport mechanism and transport API. The OBEX protocol also defines a folder-listing object, which is used to browse the contents of folders on remote device. RFCOMM is used as the main transport layer for OBEX.
|
Content formats The formats for transmitting vCard and vCalendar information are also defined in the Bluetooth specification. The formats do not define transport mechanisms but the format in which electronic business cards and personal calendar entries and scheduling information are transported. vCard and vCalendar is transferred by OBEX. Wireless Apptication Protocol (WAP)WAP is a wireless protocol specification that works across a variety of wide-area wireless network technologies bringing the Internet to mobile devices. Bluetooth can be used like other wireless networks with regard to WAP , it can be used to provide a bearer for transporting data between the WAP Client and its adjacent WAP Server.Furthermore, Bluetooth's ad hoc networking capability gives a WAP client unique possibilities regarding mobility compared with other WAP bearers. The traditional form of WAP communications involves a client device that communicates with a Server/Proxy device using the WAP protocols. Bluetooth is expected to provide a bearer service as specified by the WAP architecture. The WAP technology supports server push, which is used i WWW on the Internet. If this is used over Bluetooth, it opens new possibilities for distributing information to handheld devices on location basis. For example, shops can push special price offers to a WAP client when it comes within Bluetooth range. Which might be a good reason to switch off your WAP when you´re out walking. |
How network connections are established
luetooth supports both point-to-point and point-to-multi-point connections. Several piconets (see definition above) can be established and linked together ad hoc, where each piconet is identified by a different frequency hopping sequence. All users participating on the same piconet are synchronized to this hopping sequence.Before any connections in a piconet are created, all devices are in STANDBY mode. In this mode, an unconnected unit periodically "listens" for messages every 1.28 seconds. Each time a device wakes up, it listens on a set of 32 hop frequencies defined for that unit. The number of hop frequencies varies in different geographic regions; 32 is the number for most countries. The connection procedure for a non-existent piconet is initiated by any of the devices, which then becomes master of the piconet thus created. | A connection is made by a PAGE message being sent if the address is already known, or by an INQUIRY message followed by a subsequent PAGE message, if the address is unknown. In the initial PAGE state, the master unit will send a train of 16 identical page messages on 16 different hop frequencies defined for the device to be paged (slave unit). If no response, the master transmits a train on the remaining 16 hop frequencies in the wake-up sequence. The maximum delay before the master reaches the slave is twice the wakeup period (2.56 seconds) while the average delay is half the wakeup period (0.64 seconds). The INQUIRY message is typically used for finding Bluetooth devices, including public printers, fax machines and similar devices with an unknown address. The INQUIRY message is very similar to the page message, but may require one additional train period to collect all the responses. | A power saving mode can be used for connected units in a piconet if no data needs to be transmitted. The master unit can put slave units into HOLD mode, where only an internal timer is running. Slave units can also demand to be put into HOLD mode. Data transfer restarts instantly when units transition out of HOLD mode. The HOLD is used when connecting several piconets or managing a low power device such as a temperature sensor. In the SNIFF mode, a slave device listens to the piconet at reduced rate, thus reducing its duty cycle. The SNIFF interval is programmable and depends on the application. In the PARK mode, a device is still synchronized to the piconet but does not participate in the traffic. Parked devices have given up their MAC address and only occasionally listen to the traffic of the master to re-synchronize and check on broadcast messages. It can thus receive broadcasts, but not addressed messages while parked. |
| Copyright © 2004, SwedeTrack System. | Last Updated: 2007-01-17 |
Webmaster |
This site is maintained by Johnson Consulting |
|---|