Page 22 of 28
© Cambridge Silicon Radio Limited 2014
CS-310152-UGP1
www.csr.com
BlueC
or
e
A
D
K
3
.0
Subw
oo
fer
U
s
er
G
uide
5.2.
Application States
The application makes use of a state machine to indicate the current state of the application. Table 5.1 lists the
states and their descriptions.
ID
Reference
Description
0
subwoofer_init
The application is in the process of initialising
1
subwoofer_discoverable
The application is discoverable waiting for a pairing request from a remote device
2
subwoofer_connecting
The application is attempting to connect to the paired device
3
subwoofer_connected
The application is connected with the remote device and a signalling channel is
open
4
subwoofer_open
The application is connected with the remote device and both a signalling
channel and a media channel are open, no media data is streaming over the
media channel
5
subwoofer_streaming
The application is connected with the remote device and both a signalling
channel and a media channel are open, media data is streaming on the media
channel
Table 5.1: Application States Supported by the ADK 3.0 Application
5.3.
Pairing with a Remote Device
The initial state of the device is unpaired and it enters the subwoofer_discoverable state to allow for a remote device
to discover, pair and connect to it. This is the expected state when the subwoofer is first powered on (unless it is pre-
paired during the production test process).
If an entry for a paired device exists in the paired device list of the device, it needs to be cleared so the application
can move to the subwoofer_discoverable state. To manually clear the paired device list of the device and force the
application into the subwoofer_discoverable state, perform a long press (default 3 seconds; configurable) of the
Start
discoverable mode
button.
When the device is in pairing mode (this can be confirmed by the LED pattern being displayed; the default pattern is
alternate pulsing of the blue and red LEDs), the remote device must discover and initiate pairing.
The default restriction level has been disabled, so any remote device is allowed to pair with the ADK 3.0 Subwoofer.