From 806bf635886ecd9e34077791000c2cded4e1121b Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 18 Sep 2020 02:34:35 +0200 Subject: HCIComm, L2CAPComm, GATTHandler: Better var- and accessor-naming, init fd in init-list of ctor --- examples/direct_bt_scanner10/dbt_scanner10.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/direct_bt_scanner10') diff --git a/examples/direct_bt_scanner10/dbt_scanner10.cpp b/examples/direct_bt_scanner10/dbt_scanner10.cpp index 20a0c7ee..63901e68 100644 --- a/examples/direct_bt_scanner10/dbt_scanner10.cpp +++ b/examples/direct_bt_scanner10/dbt_scanner10.cpp @@ -307,7 +307,7 @@ static void processConnectedDevice(std::shared_ptr device) { } { std::shared_ptr gatt = device->getGATTHandler(); - if( nullptr != gatt && gatt->getIsConnected() ) { + if( nullptr != gatt && gatt->isConnected() ) { std::shared_ptr di = gatt->getDeviceInformation(primServices); if( nullptr != di && !SILENT_GATT ) { fprintf(stderr, " DeviceInformation: %s\n\n", di->toString().c_str()); -- cgit v1.2.3