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

Commit 0c67a70b authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

dck: Add local/remote addresses on ACL connect am: 90e2ddcd am: cbffcf68

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2004378

Change-Id: Ib9de5d57ef27c41a7710f007b406e272bf2aeafd
parents 124982ee cbffcf68
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -62,6 +62,21 @@ class LeAclConnection : public AclConnection {

  // The peer address and type returned from the Connection Complete Event
  AddressWithType peer_address_with_type_;
  Address remote_initiator_address_;
  Address local_initiator_address_;
  // 5.2::7.7.65.10 Connection interval used on this connection.
  // Range: 0x0006 to 0x0C80
  // Time = N * 1.25 ms
  // Time Range: 7.5 ms to 4000 ms.
  uint16_t interval_;
  // 5.2::7.7.65.10 Peripheral latency for the connection in number of connection events.
  // Range: 0x0000 to 0x01F3
  uint16_t latency_;
  // 5.2::7.7.65.10 Connection supervision timeout.
  // Range: 0x000A to 0x0C80
  // Time = N * 10 ms
  // Time Range: 100 ms to 32 s
  uint16_t supervision_timeout_;

  virtual void RegisterCallbacks(LeConnectionManagementCallbacks* callbacks, os::Handler* handler);
  virtual void Disconnect(DisconnectReason reason);