Home
last modified time | relevance | path

Searched refs:pairParam (Results 1 - 7 of 7) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_tool.c236 param->preq[PAIR_REQ_5] = SMP_GetPairMng()->local.pairParam.ioCapability; in SMP_ConstituteC1Step1Param()
237 param->preq[PAIR_REQ_4] = SMP_GetPairMng()->local.pairParam.oobDataFlag; in SMP_ConstituteC1Step1Param()
238 param->preq[PAIR_REQ_3] = SMP_GetPairMng()->local.pairParam.authReq; in SMP_ConstituteC1Step1Param()
239 param->preq[PAIR_REQ_2] = SMP_GetPairMng()->local.pairParam.maxEncKeySize; in SMP_ConstituteC1Step1Param()
240 param->preq[PAIR_REQ_1] = SMP_GetPairMng()->local.pairParam.initKeyDist; in SMP_ConstituteC1Step1Param()
241 param->preq[PAIR_REQ_0] = SMP_GetPairMng()->local.pairParam.respKeyDist; in SMP_ConstituteC1Step1Param()
243 param->pres[PAIR_RES_5] = SMP_GetPairMng()->peer.pairParam.ioCapability; in SMP_ConstituteC1Step1Param()
244 param->pres[PAIR_RES_4] = SMP_GetPairMng()->peer.pairParam.oobDataFlag; in SMP_ConstituteC1Step1Param()
245 param->pres[PAIR_RES_3] = SMP_GetPairMng()->peer.pairParam.authReq; in SMP_ConstituteC1Step1Param()
246 param->pres[PAIR_RES_2] = SMP_GetPairMng()->peer.pairParam in SMP_ConstituteC1Step1Param()
852 SMP_CheckRemotePairParam(const SMP_PairParam *pairParam, uint8_t *reason) SMP_CheckRemotePairParam() argument
[all...]
H A Dsmp_receive.c58 static int SMP_RecvPairReqJudgeException(uint16_t handle, const SMP_PairParam *pairParam);
59 static int SMP_RecvPairRspJudgeException(uint16_t handle, const SMP_PairParam *pairParam);
215 (void)memcpy_s(&SMP_GetPairMng()->peer.pairParam, sizeof(SMP_PairParam), &pairParamTemp, sizeof(SMP_PairParam)); in SMP_ReceivePairingRequest()
222 static int SMP_RecvPairReqJudgeException(uint16_t handle, const SMP_PairParam *pairParam) in SMP_RecvPairReqJudgeException() argument
239 if (SMP_CheckRemotePairParam(pairParam, &reason)) { in SMP_RecvPairReqJudgeException()
246 if (SMP_GetSecureConnOnlyMode() && (!(pairParam->authReq & SMP_AUTH_REQ_BIT_SC))) { in SMP_RecvPairReqJudgeException()
269 if (memcpy_s(&SMP_GetPairMng()->peer.pairParam, in SMP_ReceivePairingResponse()
271 LOG_ERROR("[%{public}s][%{public}d] peer.pairParam memcpy_s fail.", __FUNCTION__, __LINE__); in SMP_ReceivePairingResponse()
278 static int SMP_RecvPairRspJudgeException(uint16_t handle, const SMP_PairParam *pairParam) in SMP_RecvPairRspJudgeException() argument
305 if (SMP_CheckRemotePairParam(pairParam, in SMP_RecvPairRspJudgeException()
[all...]
H A Dsmp_tool.h176 int SMP_CheckRemotePairParam(const SMP_PairParam *pairParam, uint8_t *reason);
H A Dsmp_def.h137 SMP_PairParam pairParam; member
H A Dsmp_send.c544 if (!((SMP_GetPairMng()->local.pairParam.authReq & SMP_AUTH_REQ_BONDING) && in SMP_SendKeysToRemoteCbProcess()
545 (SMP_GetPairMng()->peer.pairParam.authReq & SMP_AUTH_REQ_BONDING))) { in SMP_SendKeysToRemoteCbProcess()
H A Dsmp.c332 (void)memcpy_s(&g_smpPairMng.local.pairParam, sizeof(SMP_PairParam), &param->param, sizeof(SMP_PairParam)); in SMP_StartPairTask()
483 (void)memcpy_s(&g_smpPairMng.local.pairParam, sizeof(SMP_PairParam), &param->param, sizeof(SMP_PairParam)); in SMP_RemotePairReqReplyTask()
488 ret = SMP_SendPairingResponse(param->handle, &g_smpPairMng.local.pairParam, SMP_SendPairingResponseCallback); in SMP_RemotePairReqReplyTask()
1573 if ((g_smpPairMng.local.pairParam.authReq & SMP_AUTH_REQ_BONDING) && in SMP_GenPairRetNormal()
1574 (g_smpPairMng.peer.pairParam.authReq & SMP_AUTH_REQ_BONDING)) { in SMP_GenPairRetNormal()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_le_sec.c950 SMP_PairParam pairParam = { in GAP_LePairFeatureRsp() local
960 ret = SMP_StartPair(deviceInfo->handle, &deviceInfo->ownAddr, &deviceInfo->peerAddr, &pairParam); in GAP_LePairFeatureRsp()
963 deviceInfo->handle, SMP_PAIR_FAILED_NO_FAILED, &deviceInfo->ownAddr, &deviceInfo->peerAddr, &pairParam); in GAP_LePairFeatureRsp()

Completed in 10 milliseconds