User's Manual

8
2. Configuration
2.1. Operation Modes
In addition to the serial port configurations such as bit/second, data bit, parity, stop bit, flow control,
Parani-ESD has some configurations for Bluetooth. For getting the most out of Parani-ESD, user
should understand the following Bluetooth connection schemes.
A Bluetooth device can play a role as a master or slave. Master tries to connect itself to other
Bluetooth device, and slave is waiting to be connected from other Bluetooth devices. A Bluetooth
connection is always made by a pair of master and slave. A slave can be in two modes, Inquiry Scan
or Page Scan mode. Inquiry Scan mode is waiting the packet of inquiry from other Bluetooth devices
and Page Scan mode is waiting the packet of connection from other Bluetooth devices. Every
Bluetooth device has its unique address, called BD (Bluetooth Device) address, which is composed of
12 hexa-decimal numbers.
Parani-ESD has 4 operation modes as follows. Each mode can be identified with LED indicators as
illustrated in next section.
Table 2-1 The Parani-ESD Operation Modes
Mode Description
Mode0
Parani-ESD must be in Mode0, when it is directly controlled by AT commands.
In this mode, there is no response when power on or software reset, and Parani-ESD is just
waiting for AT command input. Neither master nor slave is assigned to Parani-ESD in mode0.
User can change the configurations of Parani-ESD in this mode.
The factory default is set to Mode0.
Mode1
Parani-ESD tries to connect the last connected Bluetooth device.
Parani-ESD in Mode1 is to be a master and tries to connect the last connected Bluetooth
device. Parani-ESD always stores the BD address of the Bluetooth device to which Parani-
ESD has connected last time. When Parani-ESD is initially used or after hardware reset, there
is no BD address stored in Parani-ESD. In this case, Mode1 does not make any sense and
mode change from other operation modes to Mode1 is not allowed. The mode change to
Mode1 can be made after Parani-ESD succeeds to connect to other Bluetooth device in
Mode0. Once changed to Mode1, Parani-ESD will try to connect automatically the last
connected Bluetooth device whenever power on or software reset.
Parani-ESD in Mode1 cannot be discovered or connected by other Bluetooth devices.
Mode2
Parani-ESD is waiting for the connection from the last connected Bluetooth device.
Parani-ESD in Mode2 is to be a slave and waiting for the connection only from the last
connected Bluetooth device. Just like Mode1, if there is no BD address stored in Parani-ESD,
the mode change from other operation modes to Mode2 is not allowed. Once changed to
Mode2, Parani-ESD will wait for the connection from the last connected Bluetooth device
whenever power on or software reset.
Parani-ESD in Mode2 cannot be discovered or connected to Bluetooth devices other than the
last connected device.
Mode3
Parani-ESD is waiting for the connection from any other Bluetooth devices.
Parani-ESD in Mode3 acts like in Mode2, but allows any connection from other Bluetooth
device. Most of general Bluetooth device is set to Mode3.
Parani-ESD in Mode3 can be discovered and connected from any other Bluetooth devices.