Lines Matching refs:gpphLibContext
50 if(gpphLibContext == NULL)
56 if(gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)
62 if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown)
85 if(gpphLibContext->Connected_handle == 0)
91 if(hRemoteDevice != gpphLibContext->Connected_handle)
98 if ((gpphLibContext->status.GenCb_pending_status == TRUE) ||
99 (gpphLibContext->llcp_cntx.bIsLlcp == FALSE))
133 memcpy( &gpphLibContext->llcp_cntx.sLocalParams,
161 result = phFriNfc_Llcp_Reset( &gpphLibContext->llcp_cntx.sLlcpContext,
162 gpphLibContext->psOverHalCtxt,
164 gpphLibContext->llcp_cntx.pRxBuffer,
165 sizeof(gpphLibContext->llcp_cntx.pRxBuffer),
166 gpphLibContext->llcp_cntx.pTxBuffer,
167 sizeof(gpphLibContext->llcp_cntx.pTxBuffer),
169 gpphLibContext);
176 result = phFriNfc_LlcpTransport_Reset( &gpphLibContext->llcp_cntx.sLlcpTransportContext,
177 &gpphLibContext->llcp_cntx.sLlcpContext );
216 if(gpphLibContext->Connected_handle == 0)
222 if(hRemoteDevice != gpphLibContext->Connected_handle)
229 gpphLibContext->CBInfo.pClientLlcpLinkCb = pLink_Cb;
230 gpphLibContext->CBInfo.pClientLlcpLinkCntx = pContext;
233 gpphLibContext->llcp_cntx.sLlcpContext.state = 0;
236 gpphLibContext->CBInfo.pClientLlcpCheckRespCb = pCheckLlcp_RspCb;
237 gpphLibContext->CBInfo.pClientLlcpCheckRespCntx = pContext;
240 result = phLibNfc_UpdateNextState(gpphLibContext, eLibNfcHalStateTransaction);
247 result = phFriNfc_Llcp_ChkLlcp( &gpphLibContext->llcp_cntx.sLlcpContext,
250 gpphLibContext
255 gpphLibContext->status.GenCb_pending_status = TRUE;
277 if(pLibNfc_Ctxt != gpphLibContext)
285 phFriNfc_LlcpTransport_CloseAll(&gpphLibContext->llcp_cntx.sLlcpTransportContext);
288 pClientCb = gpphLibContext->CBInfo.pClientLlcpLinkCb;
289 pClientContext = gpphLibContext->CBInfo.pClientLlcpLinkCntx;
308 if(pLibNfc_Ctxt != gpphLibContext)
315 if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown)
321 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateRelease)
330 gpphLibContext->llcp_cntx.bIsLlcp = TRUE;
335 gpphLibContext->llcp_cntx.bIsLlcp = FALSE;
344 gpphLibContext->status.GenCb_pending_status = FALSE;
345 phLibNfc_UpdateCurState(RetStatus,gpphLibContext);
348 pClientCb = gpphLibContext->CBInfo.pClientLlcpCheckRespCb;
349 pClientContext = gpphLibContext->CBInfo.pClientLlcpCheckRespCntx;
352 gpphLibContext->CBInfo.pClientCkNdefCb = NULL;
353 gpphLibContext->CBInfo.pClientCkNdefCntx = NULL;
388 result = phFriNfc_Llcp_Activate(&gpphLibContext->llcp_cntx.sLlcpContext);
418 result = phFriNfc_Llcp_Deactivate(&gpphLibContext->llcp_cntx.sLlcpContext);
443 result = phFriNfc_Llcp_GetLocalInfo(&gpphLibContext->llcp_cntx.sLlcpContext, pConfigInfo);
476 result = phFriNfc_Llcp_GetRemoteInfo(&gpphLibContext->llcp_cntx.sLlcpContext, pConfigInfo);
517 gpphLibContext->CBInfo.pClientLlcpDiscoveryCb = pDiscover_Cb;
518 gpphLibContext->CBInfo.pClientLlcpDiscoveryCntx = pContext;
521 result = phLibNfc_UpdateNextState(gpphLibContext, eLibNfcHalStateTransaction);
528 result = phFriNfc_LlcpTransport_DiscoverServices( &gpphLibContext->llcp_cntx.sLlcpTransportContext,
575 result = phFriNfc_LlcpTransport_Socket(&gpphLibContext->llcp_cntx.sLlcpTransportContext,