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

Commit d33e4638 authored by Chris Manton's avatar Chris Manton
Browse files

Add tACL_CB::tACL_CONN::remote_version_info

Group related data

Bug: 163134718
Tag: #refactor
Test: Paired 2 phones using LE/nRF

Change-Id: I3382d00ae31114fca5a6292514b83c8ef1f5b44c
parent fab74444
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -105,6 +105,13 @@ typedef struct {
  uint8_t lmp_version;
  uint8_t switch_role_failed_attempts;

  struct {
    uint8_t lmp_version{0};
    uint16_t lmp_subversion{0};
    uint16_t manufacturer{0};
    bool valid{false};
  } remote_version_info;

#define BTM_SEC_RS_NOT_PENDING 0 /* Role Switch not in progress */
#define BTM_SEC_RS_PENDING 1     /* Role Switch in progress */
#define BTM_SEC_DISC_PENDING 2   /* Disconnect is pending */