Loading tools/rootcanal/model/controller/link_layer_controller.cc +10 −3 Original line number Diff line number Diff line Loading @@ -3641,14 +3641,21 @@ bool LinkLayerController::LeResolvingListFull() { } void LinkLayerController::Reset() { connections_ = AclConnectionHandler(); le_connect_list_.clear(); le_resolving_list_.clear(); le_resolving_list_enabled_ = false; le_connecting_rpa_ = Address(); LeDisableAdvertisingSets(); le_scan_enable_ = bluetooth::hci::OpCode::NONE; le_connect_ = false; if (inquiry_timer_task_id_ != kInvalidTaskId) { CancelScheduledTask(inquiry_timer_task_id_); inquiry_timer_task_id_ = kInvalidTaskId; } last_inquiry_ = steady_clock::now(); le_scan_enable_ = bluetooth::hci::OpCode::NONE; LeDisableAdvertisingSets(); le_connect_ = 0; page_scans_enabled_ = false; inquiry_scans_enabled_ = false; } void LinkLayerController::StartInquiry(milliseconds timeout) { Loading tools/rootcanal/model/controller/link_layer_controller.h +0 −9 Original line number Diff line number Diff line Loading @@ -455,13 +455,6 @@ class LinkLayerController { private: const DeviceProperties& properties_; AclConnectionHandler connections_; // Add timestamps? std::vector<std::shared_ptr<model::packets::LinkLayerPacketBuilder>> commands_awaiting_responses_; // Timing related state std::vector<AsyncTaskId> controller_events_; std::chrono::milliseconds timer_period_ = std::chrono::milliseconds(100); // Callbacks to schedule tasks. std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)> Loading @@ -487,8 +480,6 @@ class LinkLayerController { uint32_t key_id_ = 1; // LE state std::vector<uint8_t> le_event_mask_; std::vector<std::tuple<Address, uint8_t>> le_connect_list_; struct ResolvingListEntry { Address address; Loading Loading
tools/rootcanal/model/controller/link_layer_controller.cc +10 −3 Original line number Diff line number Diff line Loading @@ -3641,14 +3641,21 @@ bool LinkLayerController::LeResolvingListFull() { } void LinkLayerController::Reset() { connections_ = AclConnectionHandler(); le_connect_list_.clear(); le_resolving_list_.clear(); le_resolving_list_enabled_ = false; le_connecting_rpa_ = Address(); LeDisableAdvertisingSets(); le_scan_enable_ = bluetooth::hci::OpCode::NONE; le_connect_ = false; if (inquiry_timer_task_id_ != kInvalidTaskId) { CancelScheduledTask(inquiry_timer_task_id_); inquiry_timer_task_id_ = kInvalidTaskId; } last_inquiry_ = steady_clock::now(); le_scan_enable_ = bluetooth::hci::OpCode::NONE; LeDisableAdvertisingSets(); le_connect_ = 0; page_scans_enabled_ = false; inquiry_scans_enabled_ = false; } void LinkLayerController::StartInquiry(milliseconds timeout) { Loading
tools/rootcanal/model/controller/link_layer_controller.h +0 −9 Original line number Diff line number Diff line Loading @@ -455,13 +455,6 @@ class LinkLayerController { private: const DeviceProperties& properties_; AclConnectionHandler connections_; // Add timestamps? std::vector<std::shared_ptr<model::packets::LinkLayerPacketBuilder>> commands_awaiting_responses_; // Timing related state std::vector<AsyncTaskId> controller_events_; std::chrono::milliseconds timer_period_ = std::chrono::milliseconds(100); // Callbacks to schedule tasks. std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)> Loading @@ -487,8 +480,6 @@ class LinkLayerController { uint32_t key_id_ = 1; // LE state std::vector<uint8_t> le_event_mask_; std::vector<std::tuple<Address, uint8_t>> le_connect_list_; struct ResolvingListEntry { Address address; Loading