/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/ |
H A D | rfcomm_frames.c | 122 * @param dlci The dlci value. 125 int RfcommSendSabm(const RfcommSessionInfo *session, uint8_t dlci) in RfcommSendSabm() argument 133 header[RFCOMM_ADDRESS] = EA | (cr << RFCOMM_SHIFT_CR) | (dlci << RFCOMM_SHIFT_DLCI); in RfcommSendSabm() 148 * @param dlci The dlci value. 151 int RfcommSendDisc(const RfcommSessionInfo *session, uint8_t dlci) in RfcommSendDisc() argument 159 header[RFCOMM_ADDRESS] = EA | (cr << RFCOMM_SHIFT_CR) | (dlci << RFCOMM_SHIFT_DLCI); in RfcommSendDisc() 174 * @param dlci The dlci valu 177 RfcommSendUa(const RfcommSessionInfo *session, uint8_t dlci) RfcommSendUa() argument 204 RfcommSendDm(const RfcommSessionInfo *session, uint8_t dlci, bool pf) RfcommSendDm() argument 232 RfcommSendUihPn(const RfcommSessionInfo *session, uint8_t dlci, bool isCmd, const RfcommSendPnInfo *pnInfo) RfcommSendUihPn() argument 281 RfcommSendUihMsc(const RfcommSessionInfo *session, uint8_t dlci, bool isCmd, const RfcommModemStatusInfo *modemSts) RfcommSendUihMsc() argument 325 RfcommSendUihRls(const RfcommSessionInfo *session, uint8_t dlci, bool isCmd, uint8_t lineStatus) RfcommSendUihRls() argument 362 RfcommSendUihRpn(const RfcommSessionInfo *session, uint8_t dlci, bool isCmd, const RfcommRemotePortConfig *portConfig) RfcommSendUihRpn() argument 567 RfcommSendUihData(const RfcommSessionInfo *session, uint8_t dlci, uint8_t newCredits, Packet *pkt) RfcommSendUihData() argument 770 uint8_t dlci = header[RFCOMM_ADDRESS] >> RFCOMM_SHIFT_DLCI; RfcommParseHeaderTail() local [all...] |
H A D | rfcomm_defs.h | 135 #define IS_DLCI_VALID(dlci) ((dlci) >= 2 && (dlci) <= 61) 355 uint8_t dlci; member 371 uint8_t dlci; member 415 uint8_t dlci; member 422 uint8_t dlci; member 427 uint8_t dlci; member 432 uint8_t dlci; member 459 uint8_t dlci; member 468 uint8_t dlci; global() member 477 uint8_t *dlci; global() member [all...] |
H A D | rfcomm_channel_fsm.c | 138 ret = RfcommSendUihPn(session, channel->dlci, true, &pnInfo); in RfcommOpenChannel() 186 ret = RfcommSendSabm(session, channel->dlci); in RfcommRecvSecurityRslt() 194 ret = RfcommSendDm(session, channel->dlci, true); in RfcommRecvSecurityRslt() 205 ret = RfcommSendUa(session, channel->dlci); in RfcommRecvSecurityRslt() 257 ret = RfcommSendUihMsc(session, channel->dlci, true, &modemStatus); in RfcommRecvUa() 284 ret = RfcommSendUihPn(session, channel->dlci, true, &pnInfo); in RfcommRecvUa() 381 return RfcommSendUihRpn(channel->session, channel->dlci, false, &channel->portConfig); in RfcommRecvRpnCmd() 402 return RfcommSendUihRpn(channel->session, channel->dlci, false, &portConfig); in RfcommRecvRpnReq() 449 ret = RfcommSendUihPn(session, channel->dlci, false, &pnInfo); in RfcommRecvPnReq() 454 ret = RfcommSendDm(session, channel->dlci, fals in RfcommRecvPnReq() [all...] |
H A D | rfcomm_channel.c | 263 channel->scn = createChannelInfo->dlci >> RFCOMM_DLCI_SHIFT_SCN; in RfcommCreateChannel() 273 channel->dlci = createChannelInfo->dlci; in RfcommCreateChannel() 290 * @param dlci The dlci value. 294 RfcommChannelInfo *RfcommCreateChannelOfServer(RfcommSessionInfo *session, uint8_t dlci, int event) in RfcommCreateChannelOfServer() argument 305 uint8_t scn = dlci >> RFCOMM_DLCI_SHIFT_SCN; in RfcommCreateChannelOfServer() 315 createChannelInfo.dlci = dlci; in RfcommCreateChannelOfServer() 468 * @brief This function is used to find the specified channel using dlci an 474 RfcommGetChannelByDlci(const RfcommSessionInfo *session, uint8_t dlci) RfcommGetChannelByDlci() argument [all...] |
H A D | rfcomm_l2cap.c | 198 uint8_t dlci = 0; in RfcommRecvDataCback() local 210 parseRslt.dlci = &dlci; in RfcommRecvDataCback() 220 channel = RfcommGetChannelByDlci(session, dlci); in RfcommRecvDataCback() 224 channel = RfcommCreateChannelOfServer(session, dlci, event); in RfcommRecvDataCback()
|
H A D | rfcomm.c | 145 uint8_t dlci = session->isInitiator ? (reqInfo->scn << 1) : ((reqInfo->scn << 1) + 1); in RfcommConnectChannel() local 148 RfcommChannelInfo *channel = RfcommGetChannelByDlci(session, dlci); in RfcommConnectChannel() 158 createChannelInfo.dlci = dlci; in RfcommConnectChannel()
|
H A D | rfcomm_gap_if.c | 130 param.info.channelId.rfcommChannel = channel->dlci >> RFCOMM_DLCI_SHIFT_SCN; in RfcommCheckChannelSecurity()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/ |
H A D | btm_snoop_filter_acl.c | 99 uint8_t dlci; member 639 static bool RfcommDlciFilterCheck(uint8_t type, uint16_t aclHandle, uint16_t channelId, uint8_t dlci, uint8_t *module) in RfcommDlciFilterCheck() argument 651 .isLocal = !(l2capInfo->isInitiator ^ (dlci & 0x01)), in RfcommDlciFilterCheck() 652 .rfcommScn = dlci >> RFCOMM_DLCI_SHIFT_SCN, in RfcommDlciFilterCheck() 792 uint8_t dlci = *address >> RFCOMM_SHIFT_DLCI; in L2capDataFilterUseRfcomm() local 793 if (dlci == 0) { in L2capDataFilterUseRfcomm() 799 if (RfcommDlciFilterCheck(type, hciHeader->handle, l2capHeader->channelId, dlci, &module)) { in L2capDataFilterUseRfcomm()
|