Multitech MTS2BTA-R Manual de usuario Pagina 34

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 88
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 33
Chapter 2 – AT Commands
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 34
DL Dial Last
This command connects to last successful Slave Bluetooth address connection over SPP unless ATDM
command was executed then the UUID from the ATDM command will be used.
Format: ATDL
Return Parameters: <BT Address> or <Channel Number><BT Address>
Point-to-Point Example:
TYPE: ATDL
REPLY: <cr_lf>OK<cr_lf>
<cr_lf>CONNECT,123456789012<cr_lf>
OR
<cr_lf>OK<cr_lf>
<cr_lf>PAIRED,123456789012<cr_lf> // if security is enabled
<cr_lf>CONNECT,123456789012<cr_lf>
OR
<cr_lf>OK<cr_lf>
<cr_lf>NO ANSWER<cr_lf> // if device not present
OR
<cr_lf>ERROR<cr_lf>
Multi-Point Example:
TYPE: ATDL
REPLY: <cr_lf>OK<cr_lf>
<cr_lf>CONNECT,00,123456789012<cr_lf>
OR
<cr_lf>OK<cr_lf>
<cr_lf>PAIRED,123456789012<cr_lf> // if security is enabled
<cr_lf>CONNECT,123456789012<cr_lf>
OR
<cr_lf>OK<cr_lf>
<cr_lf>NO ANSWER<cr_lf> // if device not present
OR
<cr_lf>ERROR<cr_lf>
Notes:
To verify the stored address use the ATLAST command below.
If the remote Slave device is not present or the service is not available, NO ANSWER
will reply after the master connect timeout and you will have to try again.
If security is enabled and the radio is connecting to a PC that has not yet been paired
with it, the <cr_lf>PAIRED,12345678912<cr_lf> message may return twice prior to the
CONNECT.
LAST Read Last Address
Gets the last connected Bluetooth device address.
Format: ATLAST
Return Parameters: <BT Address>
EXAMPLE:
TYPE: ATLAST<cr>
REPLY: <cr_lf>OK<cr_lf>
<cr_lf>000000000000<cr_lf> // Nothing stored
OR
<cr_lf>OK<cr_lf>
<cr_lf>123456789012<cr_lf> // Last connected BT address
Vista de pagina 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 87 88

Comentarios a estos manuales

Sin comentarios