aboutsummaryrefslogtreecommitdiff
path: root/apps/ble-inspect-device.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/ble-inspect-device.h')
-rw-r--r--apps/ble-inspect-device.h10
1 files 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<BluetoothGattCharacteristic *> 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>();
+ string mac_str = execution.vm["device"].as<string>();
BluetoothSystem bluetoothSystem;