Channel Control
Bluetooth controller operates in two major states: Standby and Connection
. There are seven substates which are used to add slaves or make connections
in the piconet. These are page, page scan, inquiry, inquiry scan, master
response, slave response and inquiry response .
Connection Setup
The Standby state is the default low power state in the Bluetooth unit.
Only the native clock is running and there is no interaction with any
device whatsoever. In the Connection state, the master and slave can exchange
packet , using the master's channel access code and the master's Bluetooth
clock.
The inquiry procedure enables a device to discover which devices are in
range, and determine the addresses and clocks for the devices.
With the paging procedure, an actual connection can be established. The
paging procedure typically follows the inquiry procedure. Only the Bluetooth
device address is required to set up a connection. Knowledge about the
clock will accelerate the setup procedure. A unit that establishes a connection
will carry out a page procedure and will automatically be the master of
the connection. The procedure occurs as follows:
The Connection state starts with a POLL packet sent by the master to verify that slave has switched to the master's timing and channel frequency hopping. The slave can respond with any type of packet.
Connection Modes
A Bluetooth device in the Connection state can be in any of the four following
modes: Active, Hold, Sniff and Park mode.