From 4529a75f15bffd5bb941818deef03fb50a6fc9c9 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 21 Jun 2015 14:54:07 +0200 Subject: ble-inspect-device: o Fixing broken key name. --- apps/ble-inspect-device.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/ble-inspect-device.h b/apps/ble-inspect-device.h index 7d93f95..0bb70aa 100644 --- a/apps/ble-inspect-device.h +++ b/apps/ble-inspect-device.h @@ -38,18 +38,18 @@ public: for (auto &s: services) { const vector characteristics = s->getCharacteristics(); - cout << "Service: UUID: " << s->getUuid() << ", has " << characteristics.size() << " characteristics" << - endl; + cout << "Service: UUID: " << s->getUuid() << + ", has " << characteristics.size() << " characteristics" << endl; for (auto &c: characteristics) { - cout << "Characteristic: UUID: " << c->getUuid() << ", properties: " << (int) c->getProperties() << - endl; + cout << "Characteristic: UUID: " << c->getUuid() << + ", properties: " << (int) c->getProperties() << endl; } } } int main(app_execution &execution) override { - string mac_str = execution.vm["mac"].as(); + string mac_str = execution.vm["device"].as(); BluetoothSystem bluetoothSystem; -- cgit v1.2.3