Denso BHT-200QW Spécifications Page 467

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 587
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 466
Chapter 18. Bluetooth
459
(a) Using the system settings
OPEN "COM4:M,SDAP" as #4
(b) Specifying parameters in the OPEN statement
OPEN "COM4:M,SDAP,112233AABBCC,BHT,60" as #4
' Address for remote device:
' 11:22:33:AA:BB:CC"
' Bluetooth passkey: BHT
' Service discovery timeout: 60 seconds
For further details on the OPEN "COM4:" statement and BT.FN3 extended function, refer to
Sections 18.3 "Bluetooth Statements and Functions" and 18.4 "Bluetooth Extended Functions
(BT.FN3)," respectively.
(Example)
Query and browse for services offered by Bluetooth device at address "11:22:33:AA:BB:CC."
DIM sclass%(8)
DIM sname$(8)
' Open Bluetooth communications device file
' Query and browse for services offered by another Bluetooth device
' at address"11:22:33:AA:BB:CC"
OPEN "COM4:M,SDAP,112233AABBCC" as #4 ' Address for remote device:
' "11:22:33:AA:BB:CC"
CALL "BT.FN3" .fcBTGetSvc num%, sclass%(), sname$()
' Acquire service discovery results
' Close Bluetooth communications device file
CLOSE #4
Vue de la page 466
1 2 ... 462 463 464 465 466 467 468 469 470 471 472 ... 586 587

Commentaires sur ces manuels

Pas de commentaire