Home
last modified time | relevance | path

Searched refs:psTransport (Results 1 – 4 of 4) sorted by relevance

/external/libnfc-nxp/src/
DphFriNfc_LlcpTransport.c45 static NFCSTATUS phFriNfc_LlcpTransport_DiscoverServicesEx(phFriNfc_LlcpTransport_t *psTransport);
50 static NFCSTATUS phFriNfc_LlcpTransport_GetFreeSap(phFriNfc_LlcpTransport_t * psTransport, phNfc_sD… in phFriNfc_LlcpTransport_GetFreeSap() argument
55 phFriNfc_LlcpTransport_Socket_t* pSocketTable = psTransport->pSocketTable; in phFriNfc_LlcpTransport_GetFreeSap()
63 if((psTransport->pCachedServiceNames[i].sServiceName.length > 0) && in phFriNfc_LlcpTransport_GetFreeSap()
64 …(memcmp(psTransport->pCachedServiceNames[i].sServiceName.buffer, psServiceName->buffer, psServiceN… in phFriNfc_LlcpTransport_GetFreeSap()
67 *pnSap = psTransport->pCachedServiceNames[i].nSap; in phFriNfc_LlcpTransport_GetFreeSap()
190 …ransport_Socket_t* phFriNfc_LlcpTransport_ServiceNameLoockup(phFriNfc_LlcpTransport_t *psTransport, in phFriNfc_LlcpTransport_ServiceNameLoockup() argument
201 pSocket = &psTransport->pSocketTable[index]; in phFriNfc_LlcpTransport_ServiceNameLoockup()
215 pCachedServiceName = &psTransport->pCachedServiceNames[cacheIndex]; in phFriNfc_LlcpTransport_ServiceNameLoockup()
251 static NFCSTATUS phFriNfc_LlcpTransport_DiscoveryAnswer(phFriNfc_LlcpTransport_t *psTransport) in phFriNfc_LlcpTransport_DiscoveryAnswer() argument
[all …]
DphFriNfc_LlcpTransport_Connection.c48 phFriNfc_LlcpTransport_t *psTransport; in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB() local
56 psTransport = (phFriNfc_LlcpTransport_t*)pContext; in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
61 switch(psTransport->pSocketTable[socketIndex].eSocket_State) in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
66psTransport->pSocketTable[socketIndex].eSocket_State = phFriNfc_LlcpTransportSocket_eSocketConnec… in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
68psTransport->pSocketTable[socketIndex].pfSocketAccept_Cb(psTransport->pSocketTable[socketIndex].pA… in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
69 psTransport->pSocketTable[socketIndex].pfSocketAccept_Cb = NULL; in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
70 psTransport->pSocketTable[socketIndex].pAcceptContext = NULL; in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
76 psTempLlcpSocket = psTransport->pSocketTable[socketIndex]; in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
79 result = phFriNfc_LlcpTransport_Close(&psTransport->pSocketTable[socketIndex]); in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
88 …if(!psTransport->pSocketTable[socketIndex].bSocketSendPending && psTransport->pSocketTable[socketI… in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
[all …]
DphFriNfc_LlcpTransport_Connectionless.c42 (pSocket->psTransport->bSendPending == FALSE)) in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
50 status = phFriNfc_LlcpTransport_LinkSend(pSocket->psTransport, in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
257 if(pLlcpSocket->psTransport->bSendPending == TRUE) in phFriNfc_LlcpTransport_Connectionless_SendTo()
272 status = phFriNfc_LlcpTransport_LinkSend(pLlcpSocket->psTransport, in phFriNfc_LlcpTransport_Connectionless_SendTo()
DphFriNfc_LlcpTransport.h222 phFriNfc_LlcpTransport_t *psTransport; member
342 NFCSTATUS phFriNfc_LlcpTransport_SendDisconnectMode(phFriNfc_LlcpTransport_t* psTransport,
352 NFCSTATUS phFriNfc_LlcpTransport_SendFrameReject(phFriNfc_LlcpTransport_t *psTransport,