Lines Matching +full:data +full:- +full:role
6 * Copyright (c) 2015-2016 Intel Corporation
8 * SPDX-License-Identifier: Apache-2.0
30 bt_rfcomm_role_t role; member
121 #define BT_RFCOMM_SET_LINE_SETTINGS(data, stop, parity) ((data & 0x3) | \ argument
137 * Length in rfcomm header can be two bytes depending on user data length.
167 #define BT_RFCOMM_UIH_CR(role) ((role) == BT_RFCOMM_ROLE_INITIATOR) argument
171 * Initiator --> Responder 1
172 * Responder --> Initiator 0
174 * Initiator --> Responder 0
175 * Responder --> Initiator 1
177 #define BT_RFCOMM_CMD_CR(role) ((role) == BT_RFCOMM_ROLE_INITIATOR) argument
178 #define BT_RFCOMM_RESP_CR(role) ((role) == BT_RFCOMM_ROLE_ACCEPTOR) argument
187 #define BT_RFCOMM_DLCI(role, channel) ((((channel) & 0x1f) << 1) | \ argument
188 ((role) == BT_RFCOMM_ROLE_ACCEPTOR))
193 /* Length can be 2 bytes depending on data size */
207 * Both stations set the P-bit to 0