Phoenix Bluetooth seriële poortadapter Manual Página 15

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 43
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 14
BLUETOOTH AT COMMAND LIST
7749_de_00 PHOENIX CONTACT 15
Change_MasterSlaveRole (AT*AGCMSR=)
Read_MasterSlaveRole_Policy (AT*AGMSP?)
AT Command Description
AT*AGCMSR=<bd_addr>,<role><CR> Changes the master-slave role.
Changes 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.
Note that the remote device does not have to accept the
master/slave switch.
Command Parameters Type Value
bd_addr Bd_Addr Identifies a device that the Serial Port Adapter is currently communicating with.
The role will be changed on the connection to this device.
role enumerator 0: Slave
1: Master
Responses Description
<CR><LF>OK<CR><LF> Successful response.
<CR><LF>ERROR<CR><LF> Error response.
Module Constraint
FL BT SPA Not supported. The module always allows a master slave
switch if requested by the remote side.
AT Command Description
AT*AGMSP?<CR> Reads the role policy of the device.
Responses Description
<CR><LF>*AGMSP:<role_policy><CR><LF>OK<CR><LF
>
Successful response.
<CR><LF>ERROR<CR><LF> Error response.
Response Parameters Type Value
role_policy enumerator 0: Always attempt to become master on incoming connections.
1: Always let the connecting device select master/slave role on incoming con-
nections (default value).
Vista de página 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 42 43

Comentários a estes Manuais

Sem comentários