diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-09-05 14:14:42 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-09-05 14:14:42 +0200 |
commit | 91e54cf9150b37036447d423857d2bd18e4bf02b (patch) | |
tree | 7738db9a61cb6385f0abc6359b5b89aaa1ff104d /apps/ble-inspect-device.cpp | |
parent | 25d82b0c52120c81cfed5bc1f245408f08203b7b (diff) | |
download | ble-toys-91e54cf9150b37036447d423857d2bd18e4bf02b.tar.gz ble-toys-91e54cf9150b37036447d423857d2bd18e4bf02b.tar.bz2 ble-toys-91e54cf9150b37036447d423857d2bd18e4bf02b.tar.xz ble-toys-91e54cf9150b37036447d423857d2bd18e4bf02b.zip |
Major overhaul of BLE code:
o Starting to remove shared_ptr. The code shouldn't be shared between threads, any thread safety will have to be built on the outside.
o Better service discovery, don't fail when there are multiple requests that have to be done.
o AttributeData was buggy, now it is just less than ideal.
o Much better ByteBuffer. Now it is a simple view + cursor.
Diffstat (limited to 'apps/ble-inspect-device.cpp')
-rw-r--r-- | apps/ble-inspect-device.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/ble-inspect-device.cpp b/apps/ble-inspect-device.cpp index 8f85e5c..883faed 100644 --- a/apps/ble-inspect-device.cpp +++ b/apps/ble-inspect-device.cpp @@ -26,6 +26,7 @@ public: cout << "Inspecting device: " << device->getMac().str() << endl; auto gatt = device->connectGatt(); + cout << "Connected, discovering services" << endl; gatt->discoverServices(); |