Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee7edc87 authored by Henri Chataing's avatar Henri Chataing
Browse files

RootCanal: Tag HCI device logs with device id

Bug: 279665786
Test: m root-canal
Change-Id: Ic80a7a879e60991d230132ec34c685809b10edc1
parent 2b256a65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ HciDevice::HciDevice(std::shared_ptr<HciTransport> transport,
        HandleIso(iso);
      },
      [this]() {
        INFO("HCI transport closed");
        INFO(id_, "HCI transport closed");
        Close();
      });
}
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ PhyDevice::Identifier TestModel::AddHciConnection(
  }};
  device->SetAddress(bluetooth_address);

  INFO("Initialized device with address {}", bluetooth_address.ToString());
  INFO(device->id_, "Initialized device with address {}", bluetooth_address.ToString());

  for (auto& [_, phy_layer] : phy_layers_) {
    phy_layer->Register(phy_devices_[device_id]);