Towards readable code
Bug:
163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I7e230c8c5a621d54c10cb80b92193a941f731a1a
} tBTM_SEC_BLE;
/* Peering bond type */
-enum { BOND_TYPE_UNKNOWN, BOND_TYPE_PERSISTENT, BOND_TYPE_TEMPORARY };
-typedef uint8_t tBTM_BOND_TYPE;
+typedef enum : uint8_t {
+ BOND_TYPE_UNKNOWN = 0,
+ BOND_TYPE_PERSISTENT = 1,
+ BOND_TYPE_TEMPORARY = 2
+} tBTM_BOND_TYPE;
/*
* Define structure for Security Device Record.