Are you planning on doing your whole project with C++? I have only used the C# Btle functions but I suspect the C++ equivalents have the same or very similar names.
If you're developing a Windows Universal app, then the C++ calls are pretty much the same as the C# calls. If you're on *nix, then you'll have to use the bluez library and unfortunately I'm not that familiar with using the bluez library.
I've been at something similar for number of weeks now ...
I'm running on Ubuntu 14.04 with Bluez 5.39. If anybody has actually managed to get streaming working on a Ubuntu PC I would appreciate the insights. I can connect, read, and write to the device, but something is going wrong with the initialization ... It does couple reads and then a write and the callback for initialization never fires.
The best I can tell the MetaWear notification characteristic is not changing or at least I'm not getting the notification (so nothing to forward). I'll double check maybe I did not enable it properly or too late.
Comments