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

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

enum-ify fixed_cid stack/include/l2cdefs::L2CAP_ am: 24c5aa0a

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1515031

Change-Id: I544506b1b9ad97543fd3cde4b28ae2f25d2e8393
parents 18d7dbe6 24c5aa0a
Loading
Loading
Loading
Loading
+10 −8
Original line number Original line Diff line number Diff line
@@ -174,14 +174,16 @@ inline std::string l2cap_le_result_code_text(


/* L2CAP Predefined CIDs
/* L2CAP Predefined CIDs
*/
*/
#define L2CAP_SIGNALLING_CID 1
enum : uint16_t {
#define L2CAP_CONNECTIONLESS_CID 2
  L2CAP_SIGNALLING_CID = 1,
#define L2CAP_AMP_CID 3
  L2CAP_CONNECTIONLESS_CID = 2,
#define L2CAP_ATT_CID 4
  L2CAP_AMP_CID = 3,
#define L2CAP_BLE_SIGNALLING_CID 5
  L2CAP_ATT_CID = 4,
#define L2CAP_SMP_CID 6
  L2CAP_BLE_SIGNALLING_CID = 5,
#define L2CAP_SMP_BR_CID 7
  L2CAP_SMP_CID = 6,
#define L2CAP_BASE_APPL_CID 0x0040
  L2CAP_SMP_BR_CID = 7,
  L2CAP_BASE_APPL_CID = 0x0040,
};


/* Fixed Channels mask bits */
/* Fixed Channels mask bits */