manual
BLUETOOTH AT COMMAND LIST
7749_de_00 PHOENIX CONTACT 14
Write_Local_COD (AT*AGLC=)
Get_MasterSlaveRole (AT*AGGMSR=)
AT Command Description
AT*AGLC=<cod>, <store_in_startup_database><CR> Writes the Local Class Of Device code.
Command Parameters Type Value
cod integer See Read_Local_COD command. 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*AGGMSR=<bd_addr><CR> Read the local master-slave role.
Returns the role of the Serial Port Adapter, master or slave,
for the connection between the Serial Port Adapter and the
remote device identified by the ‘bd_addr’ parameter.
Command Parameters Type Value
bd_addr Bd_Addr Identifies a device that the Serial Port Adapter is currently communicating with.
Responses Description
<CR><LF>*AGGMSR:<role><CR><LF>OK<CR><LF> Successful response.
<CR><LF>ERROR<CR><LF> Error response.
Response Parameters Type Value
role enumerator 0: Slave
1: Master
Module Constraint
FL BT SPA Not supported. The module always allows a master slave
switch if requested by the remote side.










