
466
18.3 Bluetooth Statements and
Functions
18.3.1 Overview
The following statements and functions are available for use with the Bluetooth
communications device.
Statement or Function
Used to:
OPEN "COM4:I"
Open the Bluetooth communications device file in inquiry mode,
discovering accessible remote devices in the vicinity
OPEN "COM4:M"
Open the Bluetooth communications device file with the BHT as
master and connect to a slave
OPEN "COM4:S"
Open the Bluetooth communications device file with the BHT as a
slave and wait for a master
CLOSE
Close the Bluetooth communications device file
INPUT #
Read data from the Bluetooth communications device file into
specified variables
LINE INPUT #
Read data from the Bluetooth communications device file into a string
variable
PRINT #
Write data to the Bluetooth communications device file
WAIT
Wait for a change in Bluetooth communications device file receive
buffer status
XFILE
Transfer file using the specified communications protocol
Kommentare zu diesen Handbüchern