Documentation Center

  • Trial Software
  • Product Updates

Bluetooth Interface Usage Guidelines

These guidelines may be relevant to your use of this feature.

On Windows® 7 64-bit platforms, you can use only one Bluetooth® adaptor at a time. If you connect another adaptor, it will fail with a "Device Driver Installation Failed" error.

Some adaptors support multiple devices:

  • The Bluetooth adaptor that comes with the LEGO Mindstorm kit (Abe – Model: UB22S) supports connection to only one Bluetooth device at a time.

  • IO Gear – Models GBU421 and GBU311 support communication with multiple Bluetooth devices.

  • Targus – Model ACB10US supports communication with multiple Bluetooth devices.

  • Motorola – Model SYN1244B supports communication with multiple Bluetooth devices.

  • D-Link – Model DBT-120 supports communication with multiple Bluetooth devices.

If a Bluetooth adaptor is removed and a different one plugged in, all Bluetooth devices have to be paired again with your PC. If the same adaptor is removed and plugged back in, then you do not need to pair the devices again. If another adaptor of the same vendor is plugged in, then the devices which had been cached when that adaptor was used are seen in the cache.

If a Bluetooth device is already cached, but it is OFF when MATLAB® is started, and if instrhwinfo is called on this device, then ObjectConstructorName and Channel are returned as a null string. If a Bluetooth device is already cached and is ON when MATLAB is started, and it is later switched OFF, if instrhwinfo is called on this device, then ObjectConstructorName and Channel return the correct values.

If you create a Bluetooth object for any Bluetooth device and the connection is open, and then the device goes out of range, then the status of the object would still be open. When the device comes into range again, you need to fclose the object and fopen it again for communication to continue.

If you create a Bluetooth object, for a Lego Mindstorm NXT robot for example, and the connection is open, and then the batteries of robot run out, then the status of the object would still be open. If you then replace the batteries, you need to fclose the object and fopen it again for communication to continue.

When using the Bluetooth support in the Test & Measurement Tool, please note that you may need to restart your device after you have done the scan. For any Lego Mindstorm robot to be identified correctly, it has to be restarted after scanning. You may also have to restart other Bluetooth devices after the scan as well.

Was this topic helpful?