Bluetooth: Define and use PSM identifiers
Define assigned Protocol and Service Multiplexor (PSM) identifiers and use them instead of magic numbers. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
This commit is contained in:

committed by
Johan Hedberg

parent
6d3c730f03
commit
2983fd6824
@@ -229,6 +229,10 @@ struct l2cap_conn_rsp {
|
||||
__le16 status;
|
||||
} __packed;
|
||||
|
||||
/* protocol/service multiplexer (PSM) */
|
||||
#define L2CAP_PSM_SDP 0x0001
|
||||
#define L2CAP_PSM_RFCOMM 0x0003
|
||||
|
||||
/* channel indentifier */
|
||||
#define L2CAP_CID_SIGNALING 0x0001
|
||||
#define L2CAP_CID_CONN_LESS 0x0002
|
||||
|
Reference in New Issue
Block a user