summaryrefslogtreecommitdiffstats
path: root/trial/direct_bt/dbt_server00.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'trial/direct_bt/dbt_server00.hpp')
-rw-r--r--trial/direct_bt/dbt_server00.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/trial/direct_bt/dbt_server00.hpp b/trial/direct_bt/dbt_server00.hpp
index 9565e0b1..67ce53f2 100644
--- a/trial/direct_bt/dbt_server00.hpp
+++ b/trial/direct_bt/dbt_server00.hpp
@@ -210,14 +210,14 @@ class DBTServer00 : public DBTServerTest {
(void)timestamp;
}
- void deviceConnected(BTDeviceRef device, const uint16_t handle, const uint64_t timestamp) override {
- fprintf_td(stderr, "****** Server CONNECTED: %s\n", device->toString(true).c_str());
+ void deviceConnected(BTDeviceRef device, const bool discovered, const uint64_t timestamp) override {
+ fprintf_td(stderr, "****** Server CONNECTED (discovered %d): %s\n", discovered, device->toString(true).c_str());
const bool available = nullptr == parent.getDevice();
if( available ) {
parent.setDevice(device);
BTDeviceRegistry::addToProcessingDevices(device->getAddressAndType(), device->getName());
}
- (void)handle;
+ (void)discovered;
(void)timestamp;
}