User's Manual Part 2

Chapter 4: Configuration and Operation 4.1: LED Indication
11
Chapter 4
Configuration and Operation
This chapter gives some guidelines on how to perform basic configuration and op-
eration.
There are several request packets that can be used to configure the Serial Port
Adapter. Many of these request packets take a boolean parameter called
<store_in_startup_database>. If this parameter is set to 1 the setting will be ap-
plied immediately and also when the Serial Port Adapter starts up in the next
power cycle. If this parameter is set to 0 the setting will be applied immediately but
it will not be applied when the Serial Port Adapter starts up in the next power cy-
cle.
Note that for some of the version 3 modules there is a constraint on some AT
commands, which means that the module must be restarted for the command to
take affect. For those commands the <store_in_startup_database> parameter must
always be 1.
Note that for applications that always configure the serial port adapter at startup,
it is not necessary to store settings in the startup database. It is intended for appli-
cations where the serial port adapter is configured once before installation.
4.1 LED Indication
The LED indicates what mode is currently active and what activity that is currently
in progress.
The following color indications are used.
Green
: The current mode is data mode and no connection attempt is in pro-
gress.
Orange
: The current mode is AT mode.
Purple
: A connection attempt is in progress.
Blue
: A connection is currently active.
Blue Blinking
: A connection is active and data is transmitted or received over
air.
Red Blinking
: Buffer overflow, parity or framing error detected on the UART.
4.2 Bluetooth Settings
A Bluetooth device can be in several different operation modes. The operation
mode determines whether or not a device can be connected to and whether or
not other devices performing searches can discover a device. Use the
Write_Discoverability_Mode and Write_Connectability_Mode commands to
set the operation mode.
All Bluetooth devices have a user-friendly name. Use the Write_Local_Name
command to set the local device name.