Home | History | Annotate | Download | only in src

Lines Matching refs:pSocket

111 NFCSTATUS phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations(phFriNfc_LlcpTransport_Socket_t *pSocket)
114 phFriNfc_LlcpTransport_t *psTransport = pSocket->psTransport;
116 if(pSocket->bSocketSendPending == TRUE)
119 if(CHECK_SEND_RW(pSocket))
122 result = static_performSendInfo(pSocket);
130 else if(pSocket->bSocketRRPending == TRUE)
133 pSocket->bSocketRRPending = FALSE;
136 result = phFriNfc_Llcp_Send_ReceiveReady_Frame(pSocket);
139 else if(pSocket->bSocketRNRPending == TRUE)
142 pSocket->bSocketRNRPending = FALSE;
145 result = phFriNfc_Llcp_Send_ReceiveNotReady_Frame(pSocket);
148 else if(pSocket->bSocketAcceptPending == TRUE)
153 pSocket->bSocketAcceptPending = FALSE;
156 pSocket->sLlcpHeader.dsap = pSocket->socket_dSap;
157 pSocket->sLlcpHeader.ptype = PHFRINFC_LLCP_PTYPE_CC;
158 pSocket->sLlcpHeader.ssap = pSocket->socket_sSap;
161 pSocket->eSocket_State = phFriNfc_LlcpTransportSocket_eSocketAccepted;
165 &pSocket->sLlcpHeader,
167 &pSocket->sSocketSendBuffer,
169 pSocket->index,
178 else if(pSocket->bSocketConnectPending == TRUE)
183 pSocket->bSocketConnectPending = FALSE;
186 pSocket->eSocket_State = phFriNfc_LlcpTransportSocket_eSocketConnecting;
190 &pSocket->sLlcpHeader,
192 &pSocket->sSocketSendBuffer,
194 pSocket->index,
203 else if(pSocket->bSocketDiscPending == TRUE)
208 pSocket->bSocketDiscPending = FALSE;
211 pSocket->eSocket_State = phFriNfc_LlcpTransportSocket_eSocketDisconnecting;
215 &pSocket->sLlcpHeader,
217 &pSocket->sSocketSendBuffer,
219 pSocket->index,
226 pSocket->pSocketErrCb(pSocket->pContext, PHFRINFC_LLCP_ERR_DISCONNECTED);