Denso BHT-200QW Especificações Página 458

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 587
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 457
450
There are two ways to specify the above parameters.
Use the system settings
Specify them in the OPEN statement
The user modifies the system settings with the system menu; the user program, with
extended function BT.FN3 function numbers .fcBTSetVal. For further details on the system
menu, refer to the BHT User's Manual.
Specifying a parameter in the OPEN statement does not affect the system settings.
Given below are examples discovering accessible remote devices in the vicinity.
(a) Using the system settings
OPEN "COM4:I" AS #4
(b) Specifying parameters in the OPEN statement
OPEN "COM4:I,20,3" AS #4 ' Device discovery timeout: 20 seconds
' Number of devices to discover: 3
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)
Allow 30 seconds for discovering accessible remote devices in the vicinity. Stop at 5.
DEFREG bdaddr$(4)[12]
' Open Bluetooth communications device file
' Discover remote devices in the vicinity
OPEN "COM4:I,30,5" AS #4 ' Device discovery timeout: 30 seconds
' Number of devices to discover: 5
CALL "BT.FN3" .fcBTInqRes num%,bdaddr$()' Read discovery results
' Close Bluetooth communications device file
CLOSE #4
Vista de página 457
1 2 ... 453 454 455 456 457 458 459 460 461 462 463 ... 586 587

Comentários a estes Manuais

Sem comentários