Download and compile the MCC Bluetooth Linux drivers
Intended Audience
This document is intended for the application developer familiar with both MCC DAQ devices and Linux programming, and who is interested in acquiring data on a Linux platform.
Step 1 Downloading the driver.
You can download the latest MCCLIBBTH file directly from GitHub by typing in:
git clone https://github.com/wjasper/Linux_Drivers.git
Step 2: Installing Bluetooth Library
To compile the library you need to add the bluez-libs-devel package:
a) On Fedora22: sudo dnf install bluez-libs-devel bluez-tools
b) On Raspian,Ubuntu,or Debian: sudo apt-get install libbluetooth-dev bluez-tools.
Step 3 Compiling the driver
a) cd Linux_drivers/Bluetooth <Enter>
b) make<Enter>
c) sudo make install <Enter>
e) Type ls<Enter> to list all of the files

Step 4 - Running Example test app with an MCC DAQ device
Now you are ready to run some of the examples. If you are no longer in the mcc-bluetooth directory, navigate back by typing cd mcc-bluetooth <Enter>.
a) Plug in your MCC Ethernet DAQ.
b) Type ./test-bth1208LS <Enter>
c) The test app will display a list of tests that you can perform.
d) Execute any one of the commands by typing the letter and then hitting <Enter>

Measurement Computing and the Measurement Computing logo are either trademarks or registered trademarks of Measurement Computing Corporation.
Raspberry Pi is a trademark of the Raspberry Pi Foundation.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
All other trademarks are the property of their respective holders.
Acknowledgement
A special thanks to Warren Jasper, PhD, PE,Professor and Textile Engineering Program Director at North Carolina StateUniversity. Dr. Jasper remains instrumental to the development and support ofLinux drivers for Measurement Computing USB and PCI DAQ devices. We applaud his tireless efforts and dedication to the Linux community. Without his work and continued support, this article and application would not have been possible.