
458
18.2.3.4 Service Discovery
The BHT supports the Service Discovery Application Profile for querying and browsing for
services offered by another Bluetooth device.
The following is the procedure.
Service discovery has the following parameters.
• Bluetooth device address for remote device
• Master Bluetooth passkey
• Master connection (service discovery) timeout in seconds
For further details on parameters, refer to the BHT User's Manual.
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 and .fcBTSetStr. 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 querying and browsing for services.
Open Bluetooth communications device file
OPEN "COM4:M,SDAP" statement
Query and browse for services by specified
remote device
cquire service information
Extended function BT.FN3 function
number .fcBTGetSvc
CLOSE statement Close Bluetooth communications device
file
Comentarios a estos manuales