aboutsummaryrefslogtreecommitdiff
path: root/apps/ble-inspect-device.cpp
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-03-08 19:40:11 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-03-08 19:40:11 +0100
commit46cd1838255712cc599a30a81098121aa26d80f5 (patch)
treeda3eeaacf816637f519a23065a6c6c737b34d98e /apps/ble-inspect-device.cpp
parenteecddf878f98bb921622a5a5bb2600aedb5a53fa (diff)
downloadble-toys-46cd1838255712cc599a30a81098121aa26d80f5.tar.gz
ble-toys-46cd1838255712cc599a30a81098121aa26d80f5.tar.bz2
ble-toys-46cd1838255712cc599a30a81098121aa26d80f5.tar.xz
ble-toys-46cd1838255712cc599a30a81098121aa26d80f5.zip
o Formatting.
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) {