Home
last modified time | relevance | path

Searched refs:aclHandle (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_l2cap_receive.c25 uint16_t aclHandle; member
32 uint16_t aclHandle; member
44 uint16_t aclHandle, uint8_t id, const L2capLeConnectionParameter *param, void *ctx) in GapRecvL2capParameterUpdateReq() argument
46 LOG_INFO("%{public}s: handle:0x%04x", __FUNCTION__, aclHandle); in GapRecvL2capParameterUpdateReq()
54 l2capParam->aclHandle = aclHandle; in GapRecvL2capParameterUpdateReq()
68 GapReceiveL2capParameterUpdateRsp(param->aclHandle, param->result, param->ctx); in GapReceiveL2capParameterUpdateRspTask()
73 LOG_INFO("%{public}s: handle:0x%04x result:0x%04x", __FUNCTION__, aclHandle, result); in GapRecvL2capParameterUpdateRsp()
81 l2capParam->aclHandle = aclHandle; in GapRecvL2capParameterUpdateRsp()
106 void GapLeConnectionParameterUpdateReqResult(uint16_t aclHandle, int result) in GapLeConnectionParameterUpdateReqResult() argument
113 void GapLeConnectionParameterUpdateRspResult(uint16_t aclHandle, int result) in GapLeConnectionParameterUpdateRspResult() argument
[all …]
H A Dgap_internal.h47 void GapLeConnectionParameterUpdateReq(uint16_t aclHandle, const L2capLeConnectionParameter *param);
48 void GapLeConnectionParameterUpdateRsp(uint16_t aclHandle, uint8_t id, uint16_t result);
210 uint16_t aclHandle, uint8_t id, const L2capLeConnectionParameter *param, void *ctx);
211 void GapReceiveL2capParameterUpdateRsp(uint16_t aclHandle, uint16_t result, void *ctx);
H A Dgap_le_conn.c514 uint16_t aclHandle, uint8_t id, const L2capLeConnectionParameter *param, void *ctx) in GapReceiveL2capParameterUpdateReq() argument
520 …EachData(GapGetLeConnectionInfoBlock()->deviceList, GapFindLeConnectionDeviceByHandle, &aclHandle); in GapReceiveL2capParameterUpdateReq()
537 GapLeConnectionParameterUpdateRsp(aclHandle, id, L2CAP_LE_CONNECTION_PARAMETERS_REJECTED); in GapReceiveL2capParameterUpdateReq()
547 … GapLeConnectionParameterUpdateRsp(aclHandle, id, L2CAP_LE_CONNECTION_PARAMETERS_REJECTED); in GapReceiveL2capParameterUpdateReq()
552 void GapReceiveL2capParameterUpdateRsp(uint16_t aclHandle, uint16_t result, void *ctx) in GapReceiveL2capParameterUpdateRsp() argument
557 …EachData(GapGetLeConnectionInfoBlock()->deviceList, GapFindLeConnectionDeviceByHandle, &aclHandle); in GapReceiveL2capParameterUpdateRsp()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_send.c42 static void SMP_SendKeysCbProcException(uint16_t aclHandle);
237 ctx->aclHandle = aclHandle; in SMP_SendDataCallback()
270 ctx->aclHandle = aclHandle; in SMP_SendPairingResponseCallback()
300 (void)aclHandle; in SMP_SendPairingFailedCallback()
310 (void)aclHandle; in SMP_SendSecurityRequestCallback()
322 ctx->aclHandle = aclHandle; in SMP_SendEncryptionInformationCallback()
348 ctx->aclHandle = aclHandle; in SMP_SendMasterIdentificationCallback()
374 ctx->aclHandle = aclHandle; in SMP_SendIdentityInformationCallback()
400 ctx->aclHandle = aclHandle; in SMP_SendIdentityAddressInformationCallback()
426 ctx->aclHandle = aclHandle; in SMP_SendSigningInformationCallback()
[all …]
H A Dsmp_send.h33 void SMP_SendDataCallback(uint16_t aclHandle, int result);
34 void SMP_SendPairingResponseCallback(uint16_t aclHandle, int result);
35 void SMP_SendPairingFailedCallback(uint16_t aclHandle, int result);
36 void SMP_SendSecurityRequestCallback(uint16_t aclHandle, int result);
37 void SMP_SendEncryptionInformationCallback(uint16_t aclHandle, int result);
38 void SMP_SendMasterIdentificationCallback(uint16_t aclHandle, int result);
39 void SMP_SendIdentityInformationCallback(uint16_t aclHandle, int result);
40 void SMP_SendIdentityAddressInformationCallback(uint16_t aclHandle, int result);
41 void SMP_SendSigningInformationCallback(uint16_t aclHandle, int result);
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
H A Dl2cap_le_if.c502 uint16_t aclHandle; member
522 void L2CIF_LeDisconnect(uint16_t aclHandle, void (*cb)(uint16_t aclHandle, int result)) in L2CIF_LeDisconnect() argument
532 ctx->aclHandle = aclHandle; in L2CIF_LeDisconnect()
540 uint16_t aclHandle; member
578 uint16_t aclHandle, uint16_t cid, Packet *pkt, void (*cb)(uint16_t aclHandle, int result)) in L2CIF_LeSendFixChannelData() argument
591 ctx->aclHandle = aclHandle; in L2CIF_LeSendFixChannelData()
650 uint16_t aclHandle; member
685 ctx->aclHandle = aclHandle; in L2CIF_LeConnectionParameterUpdateReq()
693 uint16_t aclHandle; member
716 … uint16_t aclHandle, uint8_t id, uint16_t result, void (*const cb)(uint16_t aclHandle, int result)) in L2CIF_LeConnectionParameterUpdateRsp() argument
[all …]
H A Dl2cap_le.c58 uint16_t aclHandle; member
127 if (leconn->aclHandle == aclHandle) { in L2capLeGetConnection()
195 *conn = L2capLeGetConnection(aclHandle); in L2capLeGetChannel3()
328 conn->aclHandle = aclHandle; in L2capLeNewConnection()
743 aclHandle, in L2capLeProcessCreditBasedConnectionReq()
748 connInfo.handle = aclHandle; in L2capLeProcessCreditBasedConnectionReq()
807 connInfo.handle = aclHandle; in L2capLeProcessCreditBasedConnectionRsp()
1148 conn->aclHandle, in L2capLeAclDisconnectProcess()
1223 conn->aclHandle = handle; in L2capLeConnectComplete()
1298 if (conn->aclHandle == 0) { in L2CAP_LeCreditBasedConnectionReq()
[all …]
H A Dl2cap_core.c1449 conn = L2capGetConnection(aclHandle); in L2capProcessConfigurationReq()
1518 conn = L2capGetConnection(aclHandle); in L2capProcessConfigurationRsp()
1580 conn = L2capGetConnection(aclHandle); in L2capProcessConnectionReq()
1615 aclHandle, in L2capProcessConnectionReq()
1620 connInfo.handle = aclHandle; in L2capProcessConnectionReq()
1642 conn = L2capGetConnection(aclHandle); in L2capProcessConnectionRsp()
1682 aclHandle, in L2capProcessConnectionRsp()
1687 connInfo.handle = aclHandle; in L2capProcessConnectionRsp()
1704 conn = L2capGetConnection(aclHandle); in L2capProcessDisconnectionReq()
1808 conn->aclHandle, in L2capIncomingConnection()
[all …]
H A Dl2cap_if.c520 uint16_t aclHandle; member
523 void (*cb)(uint16_t aclHandle, int result);
546 result = L2CAP_EchoReq(ctx->aclHandle, ctx->data, ctx->dataLen); in L2cifEchoReq()
548 ctx->cb(ctx->aclHandle, result); in L2cifEchoReq()
556 …uint16_t aclHandle, const uint8_t *data, uint16_t dataLen, void (*cb)(uint16_t aclHandle, int resu… in L2CIF_EchoReq() argument
566 ctx->aclHandle = aclHandle; in L2CIF_EchoReq()
586 uint16_t aclHandle; member
590 void (*cb)(uint16_t aclHandle, int result);
615 ctx->cb(ctx->aclHandle, result); in L2cifEchoRsp()
623 …uint16_t aclHandle, uint8_t id, const uint8_t *data, uint16_t dataLen, void (*cb)(uint16_t aclHand… in L2CIF_EchoRsp() argument
[all …]
H A Dl2cap_inst.c63 L2capConnection *L2capGetConnection(uint16_t aclHandle) in L2capGetConnection() argument
72 if (conn->aclHandle == aclHandle) { in L2capGetConnection()
164 void L2capGetChannel3(uint16_t aclHandle, uint16_t lcid, L2capConnection **conn, L2capChannel **cha… in L2capGetChannel3() argument
166 *conn = L2capGetConnection(aclHandle); in L2capGetChannel3()
236 if (L2capAddConnectionRef(conn->aclHandle) != BT_SUCCESS) { in L2capNewChannel()
344 L2capDisconnect(conn->aclHandle, 0x13); in L2capDisconnectTimeout()
368 L2capDisconnect(conn->aclHandle, 0x13); in L2capDeleteChannel()
385 L2capConnection *L2capNewConnection(const BtAddr *addr, uint16_t aclHandle) in L2capNewConnection() argument
396 conn->aclHandle = aclHandle; in L2capNewConnection()
H A Dl2cap_le.h149 int L2CAP_LeDisconnect(uint16_t aclHandle);
159 int L2CAP_LeSendFixChannelData(uint16_t aclHandle, uint16_t cid, const Packet *pkt);
185 int L2CAP_LeConnectionParameterUpdateReq(uint16_t aclHandle, const L2capLeConnectionParameter *para…
195 int L2CAP_LeConnectionParameterUpdateRsp(uint16_t aclHandle, uint8_t id, uint16_t result);
H A Dl2cap_inst.h146 uint16_t aclHandle; member
180 L2capConnection *L2capGetConnection(uint16_t aclHandle);
186 void L2capGetChannel3(uint16_t aclHandle, uint16_t lcid, L2capConnection **conn, L2capChannel **cha…
191 L2capConnection *L2capNewConnection(const BtAddr *addr, uint16_t aclHandle);
H A Dl2cap.h163 int L2CAP_EchoReq(uint16_t aclHandle, const uint8_t *data, uint16_t dataLen);
174 int L2CAP_EchoRsp(uint16_t aclHandle, uint8_t id, const uint8_t *data, uint16_t dataLen);
H A Dl2cap.c373 L2capSendPacket(conn->aclHandle, chan->lcfg.flushTimeout, tpkt); in L2CAP_SendData()
417 int L2CAP_EchoReq(uint16_t aclHandle, const uint8_t *data, uint16_t dataLen) in L2CAP_EchoReq() argument
421 … enter, aclHandle = %{public}d, dataLen = %{public}d", __FUNCTION__, __LINE__, aclHandle, dataLen); in L2CAP_EchoReq()
431 conn = L2capGetConnection(aclHandle); in L2CAP_EchoReq()
440 int L2CAP_EchoRsp(uint16_t aclHandle, uint8_t id, const uint8_t *data, uint16_t dataLen) in L2CAP_EchoRsp() argument
444 …{public}d, id = %{public}d, dataLen = %{public}d", __FUNCTION__, __LINE__, aclHandle, id, dataLen); in L2CAP_EchoRsp()
454 conn = L2capGetConnection(aclHandle); in L2CAP_EchoRsp()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dl2cap_le_if.h140 void BTSTACK_API L2CIF_LeDisconnect(uint16_t aclHandle, void (*cb)(uint16_t aclHandle, int result));
151 uint16_t aclHandle, uint16_t cid, Packet *pkt, void (*cb)(uint16_t aclHandle, int result));
178 …uint16_t aclHandle, const L2capLeConnectionParameter *param, void (*cb)(uint16_t aclHandle, int re…
189 uint16_t aclHandle, uint8_t id, uint16_t result, void (*cb)(uint16_t aclHandle, int result));
H A Dl2cap_def.h185 …void (*recvEchoReq)(uint16_t aclHandle, uint8_t id, const uint8_t *data, uint16_t dataLen, void *c…
187 void (*recvEchoRsp)(uint16_t aclHandle, const uint8_t *data, uint16_t dataLen, void *ctx);
251 void (*leConnected)(const BtAddr *addr, uint16_t aclHandle, uint8_t role, uint8_t status);
254 void (*leDisconnected)(uint16_t aclHandle, uint8_t status, uint8_t reason);
257 void (*recvLeData)(uint16_t aclHandle, const Packet *pkt);
270 uint16_t aclHandle, uint8_t id, const L2capLeConnectionParameter *param, void *ctx);
273 void (*recvLeConnectionParameterUpdateRsp)(uint16_t aclHandle, uint16_t result, void *ctx);
H A Dl2cap_if.h162 …uint16_t aclHandle, const uint8_t *data, uint16_t dataLen, void (*cb)(uint16_t aclHandle, int resu…
173 …uint16_t aclHandle, uint8_t id, const uint8_t *data, uint16_t dataLen, void (*cb)(uint16_t aclHand…
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/att/
H A Datt_common.c46 uint16_t aclHandle; member
66 uint16_t aclHandle; member
224 if (g_connectInfo[index].aclHandle == aclHandle) { in AttGetConnectInfoIndexByAclHandle()
258 if (g_connectInfo[index].aclHandle == cid) { in AttGetConnectInfoIndexByCid()
866 (g_connecting[index].aclHandle == aclHandle) && (g_connecting[index].cid == cid)) { in AttGetConnectingIndexByAddrAclhandleCid()
971 void LeRecvSendDataCallback(uint16_t aclHandle, int result) in LeRecvSendDataCallback() argument
982 leRecvSendDataCallPtr->aclHandle = aclHandle; in LeRecvSendDataCallback()
1113 connectInfo->aclHandle = 0; in AttShutDownClearConnectInfo()
1342 void AttRecvLeData(uint16_t aclHandle, const Packet *packet) in AttRecvLeData() argument
1352 attRecvLeDataAsyncPtr->aclHandle = aclHandle; in AttRecvLeData()
[all …]
H A Datt_common.h98 uint16_t aclHandle; member
117 uint16_t aclHandle; member
264 void AttGetConnectInfoIndexByAclHandle(uint16_t aclHandle, AttConnectInfo **connect);
360 const BtAddr *addr, uint16_t aclHandle, uint16_t cid, AttConnectingInfo **connecting);
412 void LeRecvSendDataCallback(uint16_t aclHandle, int result);
491 void AttRecvLeData(uint16_t aclHandle, const Packet *packet);
H A Datt_connect.c51 uint16_t aclHandle; member
57 uint16_t aclHandle; member
95 uint16_t aclHandle; member
359 connecting->aclHandle = 0; in AttClearConnectingInfo()
393 connect->aclHandle = 0; in AttClearConnectInfo()
481 connecting->aclHandle = aclHandle; in AttCopyToConnectingInfo()
797 (*connect)->aclHandle = connecting->aclHandle; in AttCopyToConnectInfo()
830 (*connect)->aclHandle = aclHandle; in AttConnectInfoAddLe()
1586 disLeConnectReqPtr->aclHandle = aclHandle; in LeDisconnectReqCallback()
1748 attLeConnectedAsyncPtr->aclHandle = aclHandle; in AttLeConnected()
[all …]
H A Datt_connect.h73 void AttLeConnected(const BtAddr *addr, uint16_t aclHandle, uint8_t role, uint8_t status);
82 void AttLeDisconnected(uint16_t aclHandle, uint8_t status, uint8_t reason);
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_sco.c67 uint16_t aclHandle; member
92 connection->aclHandle = aclHandle; in BtmAllocScoConnection()
288 uint16_t aclHandle = 0xffff; in BTM_CreateScoConnection() local
289 int result = BtmGetAclHandleByAddress(&param->addr, &aclHandle); in BTM_CreateScoConnection()
313 .connectionHandle = aclHandle, in BTM_CreateScoConnection()
342 uint16_t aclHandle = 0xffff; in BTM_AcceptScoConnectionRequest() local
343 int result = BtmGetAclHandleByAddress(&param->addr, &aclHandle); in BTM_AcceptScoConnectionRequest()
524 uint16_t aclHandle = 0xffff; in BTM_CreateEscoConnection() local
525 int result = BtmGetAclHandleByAddress(&param->addr, &aclHandle); in BTM_CreateEscoConnection()
559 .connectionHandle = aclHandle, in BTM_CreateEscoConnection()
[all …]
H A Dbtm_snoop_filter_acl.c97 uint16_t aclHandle; member
211 static bool ExistL2capConnIsAvdtpSignal(uint16_t aclHandle) in ExistL2capConnIsAvdtpSignal() argument
227 ConnStatus status, uint8_t module, uint16_t aclHandle, uint16_t localCid, uint16_t remoteCid) in AddL2capConnection() argument
256 static void RemoveL2capConnectionByAclHandle(uint16_t aclHandle) in RemoveL2capConnectionByAclHandle() argument
263 if (l2capInfo->acl->handle == aclHandle) { in RemoveL2capConnectionByAclHandle()
466 .aclHandle = aclInfo->handle, in ProcessL2capConnectionResponse()
509 .aclHandle = aclInfo->handle, in ProcessL2capConfigurationRequest()
555 .aclHandle = aclInfo->handle, in ProcessL2capConfigurationResponse()
630 .aclHandle = aclHandle, in SearchL2capChannelConnInfo()
641 AclConnInfo *aclInfo = ListForEachData(g_aclConnList, FindAclConnInfoByHandle, &aclHandle); in RfcommDlciFilterCheck()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/
H A Davctp_gap.c153 … AvctRecvConnectionReqAct(&(param->addr), param->aclHandle, param->lcid, param->id, param->psm); in AvctRevConnSecurityResult()
155 … AvctBrRecvConnectionReqAct(&(param->addr), param->aclHandle, param->lcid, param->id, param->psm); in AvctRevConnSecurityResult()
201 …const uint16_t aclHandle, const BtAddr addr, const uint16_t lcid, const uint8_t id, const uint16_t… in AvctRequestSecurityBy() argument
210 connParam->aclHandle = aclHandle; in AvctRequestSecurityBy()
H A Davctp_gap.h37 …const uint16_t aclHandle, const BtAddr addr, const uint16_t lcid, const uint8_t id, const uint16_t…

12