Ezurio BISM2 Guide de l'utilisateur Page 23

  • 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 22
Response: <cr,lf>OK<cr,lf>
2.2.47 AT+BTPY {Enable Promiscuous Page/Inquiry Scanning}
Enable page scanning and wait for a connection from any device. Inquiry scanning is also
enabled. Authentication is disabled and encryption is enabled.
Response: <cr,lf>OK<cr,lf>
2.2.48 AT+BTPUY {Enable Promiscuous Page/Inquiry Scanning}
Enable page scanning and wait for a connection from any device. Inquiry scanning is also
enabled. Authentication and encryption are both enabled. The order of U and Y is not
significant.
Response: <cr,lf>OK<cr,lf>
2.2.49 AT+BTQ {Enable Inquiry Scans ONLY}
When inquiry scan is enabled, it implies that this device will respond to inquiries from other
devices. Use AT+BTX to disable inquiries.
Response: <cr,lf>OK<cr,lf>
2.2.50 AT+BTR<bd_addr> {Set Outgoing Peer Address}
This command is used to store a peer address for outbound connections in non-volatile
memory. A value of 000000000000 has the special meaning of invalid peer address.
This command is used to set up a module in pure cable replacement mode.
If S register 512 = 1 and the peer address is NOT 000000000000, then it will periodically
(time specified via S register 505) attempt to connect to the peer address specified. In this
circumstance all commands from the host are buffered in the receive buffer, until a
Bluetooth connection is established with the peer device and it then sends0 the buffer
across. This means that if the peer device is not in the vicinity and will never be there, the
device effectively becomes useless, as in this circumstance a host would want to get
attention of the AT parser to send it new commands – probably one to delete the peer
device.
In this circumstance, a recovery is possible by one of two methods. The first method
assumes that the DTR from the host is connected to the DSR line of the module and the
second method assumes that this connection is absent. In the first method it is enough to
deassert the DTR line from the host and that will abort the autoconnect cycle. The second
method is initiated by resetting the device and then ensuring that the text string
“AT+BT&BISM&<cr>” is sent (where <cr> is the carriage return character). There is
special code which looks out for this magic command and terminates the autoconnect cycle
if it sees it and confirms to the host of that fact by sending an “OK” response.
Response: <cr,lf>OK<cr,lf>
2.2.51 AT+BTR {Delete Outgoing Peer Address}
This command is used to delete the peer address previously stored using
AT+BTR<bd_addr>.
Response: <cr,lf>OK<cr,lf>
2.2.52 AT+BTR? {Read Outgoing Peer Address}
This command is used to display the peer address stored in non-volatile memory, used to
put the EZURiO device in pure cable replacement mode.
Response: <cr,lf>12346789012
<cr,lf>OK<cr,lf>
If the location is empty the response is as follows.
DSH_50003_v1v3 AT Command Reference 23 of 33
Vue de la page 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 32 33

Commentaires sur ces manuels

Pas de commentaire