Ezurio BISM2 Guide de l'utilisateur Page 25

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 33
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 24
If the device is not in idle mode then
Response: <cr,lf>4
<cr,lf>OK<cr,lf>
and in this case, the command AT+BTX may put the device into the correct idle mode.
2.2.58 AT+BTW<bd_addr> {Initiate Pairing}
This initiates pairing with a device whose Bluetooth address is <bd_addr>. An OK response
is sent and when the PIN is required, asynchronous indications will be sent to the host in
the form PIN? <bd_addr> where the address confirms the device with which the pairing
is to be performed. To supply a PIN, use the AT+BTK command.
For a successful pairing, the link key is stored in a volatile cache which is overwritten every
time a new pairing is initiated using this command. The link key can be stored in a non-
volatile database within the device. The list of trusted devices is managed using commands
AT+BTT?, AT+BTT and AT+BTD. The AT+BTT? command produces a list of trusted
Bluetooth addresses (link key is NEVER displayed) and AT+BTT is used to store the cached
link key. The command AT+BTD123456789012 is used to remove the specified device
from the database.
The “OK” response is sent immediately on receipt of the AT+BTW command. On pairing
completion, an unsolicited message will be sent to the host which will be in the form PAIR
n <bd_addr>. See section 3.7 for more details.
If AT+BTI or AT+BTP or AT+BTG or AT+BTQ or ATD is issued between the AT+BTW
command and the subsequence PAIR asynchronous response, then an ERROR response will
be sent to those commands as the device is not in a mode from where such commands
can be actioned.
Response: <cr,lf>OK<cr,lf>
2.2.59 AT+BTW? {List Cached Trusted Device}
This command is used to list the cached trusted device.
Response: <cr,lf>12346789012
<cr,lf>OK<cr,lf>
If the cache is empty the response is as follows.
Response: <cr,lf>OK<cr,lf>
2.2.60 AT+BTX {Disable Page/Inquiry Scanning}
Disable page/inquiry scanning. This means it will not accept incoming connections or
inquiry requests. In fact this negates the effect of AT+BTQ, AT+BTG and AT+BTP
commands.
Response: <cr,lf>OK<cr,lf>
DSH_50003_v1v3 AT Command Reference 25 of 33
Vue de la page 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 31 32 33

Commentaires sur ces manuels

Pas de commentaire