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

Commit 044b294f authored by Chris Manton's avatar Chris Manton
Browse files

Add tBLE_BD_ADDR::ToString

Toward readable code

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working

Change-Id: I4874bd9acfcf9cb2b87cd1b98743c566eb5f3963
parent 6e7af2a5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -747,6 +747,9 @@ struct tBLE_BD_ADDR {
    return (other & ~kBleAddressIdentityBit) ==
           (type & ~kBleAddressIdentityBit);
  }
  std::string ToString() const {
    return std::string(bda.ToString() + "[" + AddressTypeText(type) + "]");
  }
};
#endif