User's Manual Part 2

11.2: GAP Commands Chapter 11: AT Commands Reference
33
pin_code string The PIN code is a string of one to sixteen al-
phanumerical characters.
It is recommended to use a pin code of at least
eight characters of mixed type, e.g. “12w35tg7”.
The default value is “0”.
Write_Fixed_PIN (AT*AGFP=)
AT Command Description
AT*AGFP=<pin_code>,
<store_in_startup_database><CR>
Writes the fixed PIN code used by the Serial Port
Adapter during bond.
Command
Parameters
Type Value
pin_code string The PIN code is a string of one to sixteen alpha-
numerical characters.
It is recommended to use a pin code of at least
eight characters of mixed type, e.g. “12w35tg7”.
The default value is “0”.
store_in_startup_database enumerator 0: The setting will only be valid for the current
power cycle.
1: The Serial Port Adapter will remember the
setting between power cycles. The settings
database in the Serial Port Adapter will be up-
dated.
Responses Description
<CR><LF>OK<CR><LF> Successful response.
<CR><LF>ERROR<CR><LF> Error response.
Read_Local_Name (AT*AGLN?)
AT Command Description
AT*AGLN?<CR> Reads the local Bluetooth device name.
Responses Description
<CR><LF>*AGLN:<device_name><CR><LF>OK<CR><LF> Successful response
<CR><LF>ERROR<CR><LF> Error message.
Response
Parameters
Type Value
device_name string Max 240 characters.
The default name is “Bluetooth Device”.
Write_Local_Name (AT*AGLN=)
AT Command Description
AT*AGLN=<device_name>, <store_in_startup_database><CR> Wri
tes
t
h
e
l
oca
l Bl
uetoot
h