
468
18.3.2 Detailed Specifications
OPEN "COM4:I"
Open the Bluetooth communications device file in
inquiry mode, discovering accessible remote devices in
the vicinity
Syntax:
Syntax:Syntax:
Syntax:
OPEN "COM4:I[, [discoverytime][,[ no.of.devices]]]" AS
[#]filenumber
Parameter:
Parameter:Parameter:
Parameter:
discoverytime
Integer from 0 to 255.
no.of.devices
Integer from 0 to 8.
filenumber
A numeric expression which returns a value from 1 to 16.
Description:
Description:Description:
Description:
This statement opens the Bluetooth communications device file in inquiry mode,
discovering accessible remote devices in the vicinity.
Discovery continues until one of the following conditions is met.
• The BHT finds the specified number of devices.
• The specified time elapses.
• The user presses the clear key.
Note that the OPEN statement does not terminate until discovery is complete.
The extended function BT.FN3 provides access to the discovery results--including
any partial results obtained before the operation timed out or the user pressed the
clear key.
Komentarze do niniejszej Instrukcji