diff options
author | Sven Gothel <[email protected]> | 2020-09-18 02:34:35 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-09-18 02:34:35 +0200 |
commit | 806bf635886ecd9e34077791000c2cded4e1121b (patch) | |
tree | 269b39f414c4720e4051981093d59ce0d9115054 /examples/direct_bt_scanner10 | |
parent | 55282d659427f3167d141062eb5b03ae3e2ba2b7 (diff) |
HCIComm, L2CAPComm, GATTHandler: Better var- and accessor-naming, init fd in init-list of ctor
Diffstat (limited to 'examples/direct_bt_scanner10')
-rw-r--r-- | examples/direct_bt_scanner10/dbt_scanner10.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<DBTDevice> device) { } { std::shared_ptr<GATTHandler> gatt = device->getGATTHandler(); - if( nullptr != gatt && gatt->getIsConnected() ) { + if( nullptr != gatt && gatt->isConnected() ) { std::shared_ptr<DeviceInformation> di = gatt->getDeviceInformation(primServices); if( nullptr != di && !SILENT_GATT ) { fprintf(stderr, " DeviceInformation: %s\n\n", di->toString().c_str()); |