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

Commit 50ea851e authored by Chris Manton's avatar Chris Manton
Browse files

Add APIs stack/btm/security_device_record::

get_br_edr_hci_handle,Handle

Towards encapsulated code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run

Change-Id: I820541c1f2fc86202710b7ef1bb5756ca9427851
parent dd63aba0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -188,6 +188,10 @@ struct tBTM_SEC_DEV_REC {
  DEV_CLASS dev_class;     /* DEV_CLASS of the device            */
  LinkKey link_key;        /* Device link key                    */

 public:
  RawAddress RemoteAddress() const { return bd_addr; }
  uint16_t get_br_edr_hci_handle() const { return hci_handle; }

 private:
  friend bool BTM_SecAddDevice(const RawAddress& bd_addr, DEV_CLASS dev_class,
                               BD_NAME bd_name, uint8_t* features,