BR/EDR operation

Classic Bluetooth (BR/EDR) mode is connection-orientated. If a device is connected, the link is maintained even if no data is in being communicated. Before any Bluetooth connection transpires, a device must be discoverable for it to respond to scans of a physical channel and subsequently respond with its device address and other parameters. A device must be in a connectable mode to monitor its page scan. 

The connection process proceeds in three steps:

  1. Inquiry: In this phase, two Bluetooth devices have never associated or bonded; they know nothing of each other. The devices must discover each other through an inquiry request. If the other device is listening, it may respond with its BR_ADDR address.
  2. Paging: Paging or connecting forms a connection between the two devices. Each device knows the BD_ADDR of each other at this point.
  3. Connected: There are four sub-modes of the connection state. This is the normal state when two devices are actively communicating:
    1. Active mode: This is the normal mode of operation for transmission and receiving of Bluetooth data or waiting for the next transmission slot.
    2. Sniff mode: This is a power saving mode. The device is essentially asleep but will listen for transmissions during specific slots that can be changed programmatically (for example, 50 ms).
    3. Hold mode: This is a temporary low power mode initiated by the master or slave. It will not listen for transmissions like sniff mode, and the slave temporarily ignores ACL packets. While in this mode, switching to the connected state occurs very quickly.
    4. Park mode: As stated earlier, this mode is deprecated in Bluetooth 5.

A state diagram of these phases is as follows:

Connection process for Bluetooth from the unconnected device in standby mode, device query, and discovery, connected/transmitting mode, and low-power modes.

If this process completes successfully, the two devices can be forced to automatically connect when they are in range. The devices are now pairing. The one-time pairing process is most common in connecting smartphones to a vehicle stereo, but it can apply anywhere in the IoT as well. Paired devices will share a key that is used in the authentication process. More will be covered on keys and authentication in the security section of Bluetooth. 

Apple recommends using a sniff mode set at a 15 ms interval. This saves significant power over keeping the device in an active mode, but also allows for better sharing of the spectrum with Wi-Fi and other Bluetooth signals in the area. Additionally,  Apple recommends a device should first set an advertising interval for initial discovery by a host to 20 ms and broadcast that for 30 seconds. If the device still can't connect to the host, the advertising interval should be increased programmatically to increase the chance of completing the connection process. See Bluetooth Accessory Design Guidelines for Apple Products Release 8, Apple Computer, June 16, 2017.