
BLUETOOTH AT COMMAND LIST
7749_de_00 PHOENIX CONTACT 12
Write_Fixed_PIN (AT*AGFP=)
Read_Local_Name (AT*AGLN?)
Write_Local_Name (AT*AGLN=)
AT Command Description
AT*AGFP=<pin_code>, <store_in_startup_database><CR> Writes the fixed PIN code used by the Serial Port Adapter du-
ring bond.
Command Parameters Type Value
pin_code string The PIN code is a string of one to sixteen alphanumerical 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 updated.
Responses Description
<CR><LF>OK<CR><LF> Successful response.
<CR><LF>ERROR<CR><LF> Error response.
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”.
AT Command Description
AT*AGLN=<device_name>,
<store_in_startup_database><CR>
Writes the local Bluetooth device name.
Command Parameters Type Value
device_name string Max 240 characters.
The default name is “Bluetooth Device”.
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 updated.
Comentarios a estos manuales