|
Enabling Always On, Always Connected (AOAC) Computing with Bluetooth* Technology (continued) SUPPLYING THE MECHANISMS Bluetooth wireless technology will not enable the above usage models by itself. It is simply one piece in the puzzle. In this section we describe the basic mechanisms supported by the technology.
Low Power
Discovery Mechanism In the Inquiry state, an inquiry access code message is broadcast by the source. The inquiring device alternatively transmits this message and listens for responses over a 10.24 second period. During this time, it can do little else besides probe the environment and listen for responses. The device listening for inquiry messages has a much simpler task: it listens for only 10.625 ms every 2.56 seconds. In addition to having different scanning times, each responding device uses a random delay before sending the response in order to avoid collisions with responses from other devices. A device typically sends multiple responses (due to receiving multiple messages) during the discovery process, usually on different frequencies, thus yielding a robust discovery mechanism. The inquiry access code does not contain any information about the source, but does indicate the devices that should respond. There are 64 reserved inquiry access codes and only two are currently defined in the Bluetooth Specification [1]. The first, Generic Inquiry Access Code (GIAC), requires that all discoverable devices must respond . In a dense environment like a conference, airport terminal, or classroom there may be many devices that are discoverable. The Limited Inquiry Access Code (LIAC) was created to support the limited discovery mode. The objective of the limited discovery mode is to create a user-initiated situation that limits the number of devices discovered. Devices operating in this mode must respond to messages containing the LIAC. By definition, devices must not enter limited discovery mode for more than a minute before they are forced to leave it. Devices in discoverable mode must not respond to LIAC messages. For more details on the Inquiry process consult [1,2].
Connection Mechanism To hear paging messages, a device must enter a Page Scan mode. In this mode, the device listens to a single hop frequency band for 11.25 ms every 1.28-second interval, switching to another frequency in a pre-defined sequence during the next interval. Outside this 11.25 ms scan window, the radio may communicate with other radios or enter a power-saving standby state. For the paging process, several paging schemes can be applied. This section only describes the mandatory paging scheme that has to be supported by each Bluetooth device. For further information on this and alternative paging schemes, consult the Bluetooth Specification [1].
Authentication Mechanism The Bluetooth Link Manager Protocol (LMP) supports both one-way and two-way authentication by using a challenge-response scheme based on shared secret keys. One-way authentication means that one device authenticates the other by sending a random number and receiving the proper response. Two-way authentication means that both devices authenticate each other. In order to filter wake-up events, it is important for the Bluetooth device to support authentication; not all Bluetooth devices are required to support this feature. The secret keys are established through a process called "pairing." Pairing starts when there is an assumption of a known shared secret, such as an agreed upon Personal Identification Number (PIN). During the pairing process, devices may prompt users to enter a PIN. If the PIN entered on both devices match, a shared secret key, called a link key, is created for those two devices. Using the Host Controller Interface described later, incoming connections may automatically trigger link authentication before they are accepted. This allows the radio module to prevent unauthenticated connections requests from waking a "sleeping" computer as described in a later section.
Privacy Mechanism Bluetooth privacy mechanisms are targeted at protecting privacy but are limited by global encryption regulations. For corporate confidential communication, an application-based end-to-end security mechanism should be used.
Wakeup The PC may be woken up through an interrupt, and ACPI uses the System Control Interrupt (SCI). Any Bluetooth radio module connecting to the PC uses an SCI to wake the PC from a sleeping state.
![]() Table 1: ACPI states To allow intelligent "wake-up" policies, the Bluetooth Host Controller Interface (HCI) allows the host PC to define various "filters". Part of the Bluetooth Specification, the HCI, defines a set of commands that must be supported across all radio devices that claim conformance to the HCI. The HCI Set_Event_Mask command may be used to define which events wake up the host. Table 2 provides some sample events. See the HCI chapter within the Bluetooth Specification for a complete list of events available for this command.
![]() Table 2: Sample HCI events The HCI Set_Event_Filter command may be used to further refine the events allowed to wake up the host. For the Inquiry Result event, filters may be used to specifically allow only responses from certain classes of devices, e.g., data access points, to wake up the host, while ignoring all other responses.
|
* Bluetooth is a trademark owned by its proprietor and used by Intel under license.
2To be discoverable, a device must enter Inquiry Scan mode.
3Derived from the 48-bit device address.