aboutsummaryrefslogtreecommitdiff
path: root/apps/ble-inspect-device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/ble-inspect-device.cpp')
-rw-r--r--apps/ble-inspect-device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/ble-inspect-device.cpp b/apps/ble-inspect-device.cpp
index cdc8375..e4e7113 100644
--- a/apps/ble-inspect-device.cpp
+++ b/apps/ble-inspect-device.cpp
@@ -7,14 +7,14 @@
using namespace std;
using namespace trygvis::bluetooth;
-void scan_callback(BluetoothDevice & device) {
+void scan_callback(BluetoothDevice &device) {
cout << "Inspecting device: " << device.getMac().str() << endl;
auto &gatt = device.connectGatt();
gatt.discoverServices();
- vector < BluetoothGattService * > services = gatt.getServices();
+ vector<BluetoothGattService *> services = gatt.getServices();
cout << "Device has " << services.size() << " services" << endl;
for (auto &s: services) {