Me and the Devil BlueZ: Reading BLE Sensors From C++
This article teaches the process of writing a C++ application from scratch that reads from a Bluetooth Low Energy sensor using DBus and BlueZ.
Author: Jorge D. Ortiz-Fuentes
This article teaches the process of writing a C++ application from scratch that reads from a Bluetooth Low Energy sensor using DBus and BlueZ.
Author: Jorge D. Ortiz-Fuentes
Is the full source code for this project available? I’m trying to build this from the article, but I’m getting lost with the CMakeLists.txt file. I know c++ well, but I’m not so good with cmake.
BTW, the project I’m making isn’t exactly like yours, but it is close, I’m using a raspberry pi model 4B for the central and Arduino nano 33 iot for the peripherals. I plan to have around 12 peripherals. I have 4 of them now and they are working. I just need to create a central that can connect to them. BTW, this is my first BLE project.
Hi Kevin,
The code is here. I hope that solves your question, but feel free to ask if it doesn’t.
Best of luck with your project.
Best regards,
Jorge