Group related data
Bug:
163134718
Tag: #refactor
Test: Paired 2 phones using LE/nRF
Change-Id: I3382d00ae31114fca5a6292514b83c8ef1f5b44c
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 */