Lines Matching refs:nSap
42 uint8_t nSap,
67 *pnSap = psTransport->pCachedServiceNames[i].nSap; in phFriNfc_LlcpTransport_GetFreeSap()
153 uint8_t nSap) in phFriNfc_LlcpTransport_EncodeSdresTlv() argument
174 &nSap); in phFriNfc_LlcpTransport_EncodeSdresTlv()
230 pCachedServiceName->nSap = pSocket->socket_sSap; in phFriNfc_LlcpTransport_ServiceNameLoockup()
257 uint8_t nTid, nSap; in phFriNfc_LlcpTransport_DiscoveryAnswer() local
277 nSap = psTransport->nDiscoveryResSapList[index]; in phFriNfc_LlcpTransport_DiscoveryAnswer()
282 nSap); in phFriNfc_LlcpTransport_DiscoveryAnswer()
324 uint8_t nSap; in Handle_Discovery_IncomingFrame() local
360 nSap = PHFRINFC_LLCP_SAP_SDP; in Handle_Discovery_IncomingFrame()
368 nSap = pSocket->socket_sSap; in Handle_Discovery_IncomingFrame()
372 nSap = 0; in Handle_Discovery_IncomingFrame()
379 psTransport->nDiscoveryResSapList[psTransport->nDiscoveryResListSize] = nSap; in Handle_Discovery_IncomingFrame()
409 nSap = sValue.buffer[1]; in Handle_Discovery_IncomingFrame()
411 psTransport->pnDiscoverySapList[nTid] = nSap; in Handle_Discovery_IncomingFrame()
789 pCachedServiceName->nSap = 0; in phFriNfc_LlcpTransport_CloseAll()
1419 uint8_t nSap, in phFriNfc_LlcpTransport_Bind() argument
1453 if (nSap == 0) in phFriNfc_LlcpTransport_Bind()
1455 status = phFriNfc_LlcpTransport_GetFreeSap(pLlcpSocket->psTransport, psServiceName, &nSap); in phFriNfc_LlcpTransport_Bind()
1463 if(!IS_BETWEEN(nSap, min_sap_range, max_sap_range) && in phFriNfc_LlcpTransport_Bind()
1464 !IS_BETWEEN(nSap, PHFRINFC_LLCP_SAP_WKS_FIRST, PHFRINFC_LLCP_SAP_SDP_ADVERTISED_FIRST)) in phFriNfc_LlcpTransport_Bind()
1473 if(pLlcpSocket->psTransport->pSocketTable[i].socket_sSap == nSap) in phFriNfc_LlcpTransport_Bind()
1479 status = phFriNfc_LlcpTransport_RegisterName(pLlcpSocket, nSap, psServiceName); in phFriNfc_LlcpTransport_Bind()
1485 pLlcpSocket->socket_sSap = nSap; in phFriNfc_LlcpTransport_Bind()
1573 uint8_t nSap, in phFriNfc_LlcpTransport_RegisterName() argument
1590 bSapMatch = psTransport->pCachedServiceNames[index].nSap == nSap; in phFriNfc_LlcpTransport_RegisterName()
1801 uint8_t nSap, in phFriNfc_LlcpTransport_Connect() argument
1815 else if(nSap<02 || nSap>63) in phFriNfc_LlcpTransport_Connect()
1856 nSap, in phFriNfc_LlcpTransport_Connect()
2169 uint8_t nSap, in phFriNfc_LlcpTransport_SendTo() argument
2182 else if(nSap<2 || nSap>63) in phFriNfc_LlcpTransport_SendTo()
2222 nSap, in phFriNfc_LlcpTransport_SendTo()