I am interested in developing my own C++ application and I was wondering if you can recommend a Bluetooth LE Library for Linux to use for the GATT operations. I am using Ubuntu 16.0.4 and BlueZ 5.42
Thank you for your immediate response. I had already seen this discussion prior to creating this one but for some reason gattlib wouldn't work on our systems. However, we will now move development to a different system and I will check it out again.
I will try to keep this discussion updated with any news from out development process both for extra questions and to help new developers.
Thank you for your response. We knew about the Qt Bluetooth library but we chose not to use it due to the license restrictions.
If anyone is interested we are currently working with gattlib (https://github.com/labapart/gattlib) without any problems.
When I sort out some issues about the license of our code I will post the code used for the BLE communication to help other members of the community. If some of you need it before I post it here you can send me a message directly and I will see if we can work something out.
Comments
https://mbientlab.com/community/discussion/1968/linux-boilerplate#latest
Hi Eric.
Thank you for your immediate response. I had already seen this discussion prior to creating this one but for some reason gattlib wouldn't work on our systems. However, we will now move development to a different system and I will check it out again.
I will try to keep this discussion updated with any news from out development process both for extra questions and to help new developers.
Hi,
I can also recommend to have a look at https://github.com/edrosten/libblepp
We were able to implement BLE communication with MetaMotionR using this library and found it easier to use than gattlib.
you can also use the Qt bluetooth library.
here is the the wrapper I wrote for my application:
https://github.com/pollend/SensorCapture/blob/master/common/metawearwrapper.cpp
https://github.com/pollend/SensorCapture/blob/master/common/metawearwrapper.h
https://doc.qt.io/qt-5.11/qtbluetooth-index.html
Thank you for your response. We knew about the Qt Bluetooth library but we chose not to use it due to the license restrictions.
If anyone is interested we are currently working with gattlib (https://github.com/labapart/gattlib) without any problems.
When I sort out some issues about the license of our code I will post the code used for the BLE communication to help other members of the community. If some of you need it before I post it here you can send me a message directly and I will see if we can work something out.