Loading system/gd/hci/acl_manager/le_impl.h +5 −4 Original line number Diff line number Diff line Loading @@ -429,6 +429,11 @@ struct le_impl : public bluetooth::hci::LeAddressManagerCallback { } void create_le_connection(AddressWithType address_with_type, bool add_to_connect_list, bool is_direct) { if (le_client_callbacks_ == nullptr) { LOG_ERROR("No callbacks to call"); return; } // TODO: Configure default LE connection parameters? if (add_to_connect_list) { add_device_to_connect_list(address_with_type); Loading Loading @@ -462,10 +467,6 @@ struct le_impl : public bluetooth::hci::LeAddressManagerCallback { canceled_connections_.insert(address_with_type); return; } if (le_client_callbacks_ == nullptr) { LOG_ERROR("No callbacks to call"); return; } uint16_t le_scan_interval = kScanIntervalSlow; uint16_t le_scan_window = kScanWindowSlow; Loading Loading
system/gd/hci/acl_manager/le_impl.h +5 −4 Original line number Diff line number Diff line Loading @@ -429,6 +429,11 @@ struct le_impl : public bluetooth::hci::LeAddressManagerCallback { } void create_le_connection(AddressWithType address_with_type, bool add_to_connect_list, bool is_direct) { if (le_client_callbacks_ == nullptr) { LOG_ERROR("No callbacks to call"); return; } // TODO: Configure default LE connection parameters? if (add_to_connect_list) { add_device_to_connect_list(address_with_type); Loading Loading @@ -462,10 +467,6 @@ struct le_impl : public bluetooth::hci::LeAddressManagerCallback { canceled_connections_.insert(address_with_type); return; } if (le_client_callbacks_ == nullptr) { LOG_ERROR("No callbacks to call"); return; } uint16_t le_scan_interval = kScanIntervalSlow; uint16_t le_scan_window = kScanWindowSlow; Loading