Registry / networking / simpleble

simpleble

JSON →
library0.12.1vcpkgunverified

The ultimate fully-fledged cross-platform library and bindings for Bluetooth Low Energy (BLE).

vcpkg install simpleble
INSTALL
IMPORT
SIG · SIMPLEBLE
S
simpleble
networkingcppv0.12.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

simpleble/simpleble.h
#include <simpleble/simpleble.h>

Scan for BLE devices

#include <simpleble/simpleble.h> #include <iostream> int main() { auto adapter = SimpleBLE::Adapter::get_adapters().front(); adapter.scan_for(5000); for (auto& device : adapter.scan_get_results()) { std::cout << "Found device: " << device.identifier() << std::endl; } return 0; }
Debug
Known issues
gotchaOn Linux, requires BlueZ and D-Bus; on macOS, requires CoreBluetooth permissions.
fix
Install BlueZ (sudo apt install bluez) and ensure D-Bus is running.
affects: *
Upgrade
Version history
0.12.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Amazon
1
OpenAI (training)
1
Resources

No resource links recorded.

simpleble — pip install simpleble · libregistry