Bluetooth
(To be removed) Create Bluetooth object
Bluetooth will be removed in a future release. Use bluetooth (case-sensitive) instead. For more information on updating
your code, see Version History.
Description
creates a Bluetooth® object associated with the B = Bluetooth(RemoteName,Channel)RemoteName and
Channel. RemoteName is a friendly way
to identify the RemoteID. If not specified, the default
channel is 0.
The Instrument Control Toolbox™ Bluetooth interface lets you connect to devices over the Bluetooth interface, and to transmit and receive ASCII and binary data. Instrument Control Toolbox supports the Bluetooth Serial Port Profile (SPP). You can identify any SPP Bluetooth device and establish a two-way connection with that device.
creates a Bluetooth object directly from the B = Bluetooth(RemoteID,Channel)RemoteID and
Channel.
To connect with the Bluetooth device, use the fopen function. When the
Bluetooth object is created, its status property is
closed. When the object is connected to the remote device
with the fopen function, the status
property is set to open.
creates a Bluetooth object using the specified property values. If an invalid property
name or property value is specified the object is not created.B = Bluetooth(___,Name,Value)