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

Commit 85480805 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 am: b8de4af3

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

Change-Id: I5e2b94f354ccbfe75a9d5029e3dfa568d63d9bac
parents 795d681f b8de4af3
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -174,14 +174,16 @@ inline std::string l2cap_le_result_code_text(

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

/* Fixed Channels mask bits */