Lines Matching refs:SendRecvBuf
463 NdefMap->SendRecvBuf[index] = NdefMap->MifareULContainer.CurrentBlock; in phFriNfc_MifareUL_ChkNdef()
495 NdefMap->SendRecvBuf, in phFriNfc_MifareUL_ChkNdef()
497 NdefMap->SendRecvBuf, in phFriNfc_MifareUL_ChkNdef()
558 if (((NdefMap->SendRecvBuf[index] & in phFriNfc_MfUL_H_ChkLockBits()
561 (NdefMap->SendRecvBuf[(index + 1)] & MIF_UL_LOCK_BIT_CHECK))) in phFriNfc_MfUL_H_ChkLockBits()
901 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] == 0x0A) in phFriNfc_MifareUL_Process()
941 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] == 0x0A) in phFriNfc_MifareUL_Process()
991 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] == 0x0A) in phFriNfc_MifareUL_Process()
1050 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] == 0x0A) in phFriNfc_MifareUL_Process()
1094 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] == 0x0A) in phFriNfc_MifareUL_Process()
1123 NdefMap->SendRecvBuf[index] = in phFriNfc_MifareUL_Process()
1126 NdefMap->SendRecvBuf[index] = in phFriNfc_MifareUL_Process()
1144 (void)memcpy(&(NdefMap->SendRecvBuf[ in phFriNfc_MifareUL_Process()
1160 (void)memcpy(&(NdefMap->SendRecvBuf[ in phFriNfc_MifareUL_Process()
1175 NdefMap->SendRecvBuf[i] = (uint8_t)((i == index)? in phFriNfc_MifareUL_Process()
1185 &(NdefMap->SendRecvBuf[ in phFriNfc_MifareUL_Process()
1213 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] == 0x0A) in phFriNfc_MifareUL_Process()
1294 switch(NdefMap->SendRecvBuf[7]) in phFriNfc_MfUL_H_ChkCCBytes()
1296 switch(NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_BYTE3]) in phFriNfc_MfUL_H_ChkCCBytes()
1318 if(( NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_BYTE4] == in phFriNfc_MfUL_H_ChkCCBytes()
1320 if(( NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_BYTE0] == in phFriNfc_MfUL_H_ChkCCBytes()
1341 if (NdefMap->SendRecvBuf[6] == 0x06) in phFriNfc_MfUL_H_ChkCCBytes()
1345 else if (NdefMap->SendRecvBuf[6] == 0x12) in phFriNfc_MfUL_H_ChkCCBytes()
1353 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_BYTE2] == 0x06) in phFriNfc_MfUL_H_ChkCCBytes()
1357 else if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_BYTE2] == 0x12) in phFriNfc_MfUL_H_ChkCCBytes()
1375 Result = ((( NdefMap->SendRecvBuf[6] != in phFriNfc_MfUL_H_ChkCCBytes()
1377 Result = ((( NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_BYTE2] != in phFriNfc_MfUL_H_ChkCCBytes()
1389 (NdefMap->SendRecvBuf[6] * in phFriNfc_MfUL_H_ChkCCBytes()
1391 (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_BYTE2] * in phFriNfc_MfUL_H_ChkCCBytes()
1456 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] = in phFriNfc_MfUL_H_Rd16Bytes()
1473 NdefMap->SendRecvBuf, in phFriNfc_MfUL_H_Rd16Bytes()
1475 NdefMap->SendRecvBuf, in phFriNfc_MfUL_H_Rd16Bytes()
1508 NdefMap->SendRecvBuf, in phFriNfc_MfUL_H_Wr4bytes()
1510 NdefMap->SendRecvBuf, in phFriNfc_MfUL_H_Wr4bytes()
1527 if(NdefMap->SendRecvBuf[Temp16Bytes] == in phFriNfc_MfUL_H_findNDEFTLV()
1571 Result = ((NdefMap->SendRecvBuf[Temp16Bytes] == in phFriNfc_MfUL_H_findNDEFTLV()
1584 if ((NdefMap->SendRecvBuf[Temp16Bytes] == in phFriNfc_MfUL_H_findNDEFTLV()
1586 (NdefMap->SendRecvBuf[Temp16Bytes] == in phFriNfc_MfUL_H_findNDEFTLV()
1588 (NdefMap->SendRecvBuf[Temp16Bytes] == in phFriNfc_MfUL_H_findNDEFTLV()
1633 if((NdefMap->SendRecvBuf[Temp16Bytes] == in phFriNfc_MfUL_H_findNDEFTLV()
1635 ((NdefMap->SendRecvBuf[Temp16Bytes] == in phFriNfc_MfUL_H_findNDEFTLV()
1651 NdefMap->SendRecvBuf[Temp16Bytes]; in phFriNfc_MfUL_H_findNDEFTLV()
1654 NdefMap->SendRecvBuf[Temp16Bytes]; in phFriNfc_MfUL_H_findNDEFTLV()
1657 NdefMap->SendRecvBuf[Temp16Bytes]) || in phFriNfc_MfUL_H_findNDEFTLV()
1678 NdefMap->SendRecvBuf[Temp16Bytes]) % in phFriNfc_MfUL_H_findNDEFTLV()
1685 NdefMap->SendRecvBuf[Temp16Bytes] + 1)/ in phFriNfc_MfUL_H_findNDEFTLV()
1691 … + ((Temp16Bytes + NdefMap->SendRecvBuf[Temp16Bytes] + 1)/ in phFriNfc_MfUL_H_findNDEFTLV()
1696 NdefMap->SendRecvBuf[Temp16Bytes]); in phFriNfc_MfUL_H_findNDEFTLV()
1700 (NdefMap->SendRecvBuf[Temp16Bytes] in phFriNfc_MfUL_H_findNDEFTLV()
1731 (NdefMap->SendRecvBuf[Temp16Bytes + 1] in phFriNfc_MfUL_H_findNDEFTLV()
1737 NdefMap->SendRecvBuf[Temp16Bytes + 1] + 2)/ in phFriNfc_MfUL_H_findNDEFTLV()
1742 NdefMap->SendRecvBuf[Temp16Bytes + 1] + 2; in phFriNfc_MfUL_H_findNDEFTLV()
1750 ((NdefMap->SendRecvBuf[Temp16Bytes] == in phFriNfc_MfUL_H_findNDEFTLV()
1759 NdefMap->SendRecvBuf[Temp16Bytes]); in phFriNfc_MfUL_H_findNDEFTLV()
1850 if((NdefMap->SendRecvBuf[Temp16Bytes] == in phFriNfc_MfUL_H_findNDEFTLV()
1852 ((NdefMap->SendRecvBuf[Temp16Bytes] == in phFriNfc_MfUL_H_findNDEFTLV()
1880 ShiftLength = (uint16_t) NdefMap->SendRecvBuf[Temp16Bytes]; in phFriNfc_MfUL_H_findNDEFTLV()
1893 NdefMap->SendRecvBuf[Temp16Bytes - 1]; in phFriNfc_MfUL_H_findNDEFTLV()
1899 (uint16_t) (NdefMap->SendRecvBuf[Temp16Bytes] in phFriNfc_MfUL_H_findNDEFTLV()
1946 NdefMap->SendRecvBuf[Temp16Bytes]; in phFriNfc_MfUL_H_findNDEFTLV()
1949 NdefMap->SendRecvBuf[Temp16Bytes]; in phFriNfc_MfUL_H_findNDEFTLV()
1952 NdefMap->SendRecvBuf[Temp16Bytes]) || in phFriNfc_MfUL_H_findNDEFTLV()
1973 NdefMap->SendRecvBuf[Temp16Bytes]) % in phFriNfc_MfUL_H_findNDEFTLV()
1979 NdefMap->SendRecvBuf[Temp16Bytes] + 1)/ in phFriNfc_MfUL_H_findNDEFTLV()
1983 NdefMap->SendRecvBuf[Temp16Bytes]); in phFriNfc_MfUL_H_findNDEFTLV()
1987 (NdefMap->SendRecvBuf[Temp16Bytes] in phFriNfc_MfUL_H_findNDEFTLV()
2022 ShiftLength = NdefMap->SendRecvBuf[Temp16Bytes]; in phFriNfc_MfUL_H_findNDEFTLV()
2133 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] = 0x00; in phFriNfc_MfUL_H_SelectSector()
2134 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL1] = 0x00; in phFriNfc_MfUL_H_SelectSector()
2135 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL2] = 0xC2; in phFriNfc_MfUL_H_SelectSector()
2136 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL3] = 0xFF; in phFriNfc_MfUL_H_SelectSector()
2141 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] = 0x00; in phFriNfc_MfUL_H_SelectSector()
2142 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL1] = 0x00; in phFriNfc_MfUL_H_SelectSector()
2143 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL2] = SectorNo; in phFriNfc_MfUL_H_SelectSector()
2144 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL3] = 0; in phFriNfc_MfUL_H_SelectSector()
2145 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL4] = 0; in phFriNfc_MfUL_H_SelectSector()
2146 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL5] = 0; in phFriNfc_MfUL_H_SelectSector()
2152 phFriNfc_MfUL_H_ComputeCrc(CRC_A, &NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL2], in phFriNfc_MfUL_H_SelectSector()
2154 &NdefMap->SendRecvBuf[NdefMap->SendLength], in phFriNfc_MfUL_H_SelectSector()
2155 &NdefMap->SendRecvBuf[NdefMap->SendLength + 1]); in phFriNfc_MfUL_H_SelectSector()
2170 NdefMap->SendRecvBuf, in phFriNfc_MfUL_H_SelectSector()
2172 NdefMap->SendRecvBuf, in phFriNfc_MfUL_H_SelectSector()
2187 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] = in phFriNfc_MfUL_H_RdCardfindNdefTLV()
2204 NdefMap->SendRecvBuf, in phFriNfc_MfUL_H_RdCardfindNdefTLV()
2206 NdefMap->SendRecvBuf, in phFriNfc_MfUL_H_RdCardfindNdefTLV()
2225 NdefMap->SendRecvBuf[TempLength]); in phFriNfc_MfUL_H_ChkRemainTLV()
2228 (((uint16_t)(NdefMap->SendRecvBuf[TempLength]) << in phFriNfc_MfUL_H_ChkRemainTLV()
2231 (((uint16_t)(NdefMap->SendRecvBuf[(TempLength + in phFriNfc_MfUL_H_ChkRemainTLV()
2287 if((NdefMap->SendRecvBuf[TempLength] == in phFriNfc_MfUL_H_ChkRemainTLV()
2289 ((NdefMap->SendRecvBuf[TempLength] == in phFriNfc_MfUL_H_ChkRemainTLV()
2304 ShiftLength = NdefMap->SendRecvBuf[(TempLength + PH_FRINFC_NDEFMAP_MFUL_VAL1)]; in phFriNfc_MfUL_H_ChkRemainTLV()
2305 … ShiftLength = (((uint16_t)(NdefMap->SendRecvBuf[(TempLength + PH_FRINFC_NDEFMAP_MFUL_VAL2)]) in phFriNfc_MfUL_H_ChkRemainTLV()
2347 Result = ((NdefMap->SendRecvBuf[TempLength] > in phFriNfc_MfUL_H_ChkRemainTLV()
2355 NdefMap->SendRecvBuf[TempLength]; in phFriNfc_MfUL_H_ChkRemainTLV()
2363 (uint16_t)NdefMap->SendRecvBuf[TempLength]); in phFriNfc_MfUL_H_ChkRemainTLV()
2367 TempLength=TempLength+(NdefMap->SendRecvBuf[TempLength]); in phFriNfc_MfUL_H_ChkRemainTLV()
2510 (void *)(NdefMap->SendRecvBuf + v_field_byte), in phFriNfc_MfUL_H_CopyRdBytes()
2520 NdefMap->SendRecvBuf, in phFriNfc_MfUL_H_CopyRdBytes()
2617 NdefMap->SendRecvBuf[index] = in phFriNfc_MfUL_H_RdBeforeWrite()
2620 NdefMap->SendRecvBuf[index] = in phFriNfc_MfUL_H_RdBeforeWrite()
2625 NdefMap->SendRecvBuf[index] = 0xFF; in phFriNfc_MfUL_H_RdBeforeWrite()
2627 NdefMap->SendRecvBuf[index] = in phFriNfc_MfUL_H_RdBeforeWrite()
2630 NdefMap->SendRecvBuf[index] = in phFriNfc_MfUL_H_RdBeforeWrite()
2636 NdefMap->SendRecvBuf[index] = in phFriNfc_MfUL_H_RdBeforeWrite()
2662 NdefMap->SendRecvBuf[index] = in phFriNfc_MfUL_H_RdBeforeWrite()
2668 NdefMap->SendRecvBuf[index] = 0xFF; in phFriNfc_MfUL_H_RdBeforeWrite()
2670 NdefMap->SendRecvBuf[index] = in phFriNfc_MfUL_H_RdBeforeWrite()
2673 NdefMap->SendRecvBuf[index] = in phFriNfc_MfUL_H_RdBeforeWrite()
2679 NdefMap->SendRecvBuf[index] = in phFriNfc_MfUL_H_RdBeforeWrite()
2720 (void)memcpy(&(NdefMap->SendRecvBuf[ in phFriNfc_MfUL_H_RdBeforeWrite()
2744 (void)memcpy(&(NdefMap->SendRecvBuf[ in phFriNfc_MfUL_H_RdBeforeWrite()
2759 NdefMap->SendRecvBuf[i] = (uint8_t)((i == index)? in phFriNfc_MfUL_H_RdBeforeWrite()
2769 &(NdefMap->SendRecvBuf[ in phFriNfc_MfUL_H_RdBeforeWrite()
2796 (void)memcpy(&(NdefMap->SendRecvBuf[ in phFriNfc_MfUL_H_CallWrOp()
2798 NdefMap->SendRecvBuf, in phFriNfc_MfUL_H_CallWrOp()
2801 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] = in phFriNfc_MfUL_H_CallWrOp()
2806 NdefMap->SendRecvBuf[(NdefMap->TLVStruct.NdefTLVByte + in phFriNfc_MfUL_H_CallWrOp()
2813 NdefMap->SendRecvBuf[(NdefMap->TLVStruct.NdefTLVByte + in phFriNfc_MfUL_H_CallWrOp()
2828 NdefMap->SendRecvBuf[(NdefMap->TLVStruct.NdefTLVByte + in phFriNfc_MfUL_H_CallWrOp()
2836 (void)memcpy(&(NdefMap->SendRecvBuf[ in phFriNfc_MfUL_H_CallWrOp()
2847 &(NdefMap->SendRecvBuf[ in phFriNfc_MfUL_H_CallWrOp()
2972 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] = in phFriNfc_MfUL_H_fillSendBufToWr()
2990 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL1] = 0x00; in phFriNfc_MfUL_H_fillSendBufToWr()
2994 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL1] = 0x00; in phFriNfc_MfUL_H_fillSendBufToWr()
2995 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL2] = 0x00; in phFriNfc_MfUL_H_fillSendBufToWr()
3003 (void)memcpy(&(NdefMap->SendRecvBuf[ in phFriNfc_MfUL_H_fillSendBufToWr()
3011 (void)memcpy(&(NdefMap->SendRecvBuf[ in phFriNfc_MfUL_H_fillSendBufToWr()
3039 NdefMap->SendRecvBuf[index] = (uint8_t)((index == in phFriNfc_MfUL_H_fillSendBufToWr()
3053 &(NdefMap->SendRecvBuf[ in phFriNfc_MfUL_H_fillSendBufToWr()
3136 NdefMap->SendRecvBuf[index] = in phFriNfc_MfUL_H_WrTermTLV()
3140 NdefMap->SendRecvBuf[index] = PH_FRINFC_NDEFMAP_MFUL_TERMTLV; in phFriNfc_MfUL_H_WrTermTLV()
3145 NdefMap->SendRecvBuf[i] = PH_FRINFC_NDEFMAP_MFUL_NULLTLV; in phFriNfc_MfUL_H_WrTermTLV()
3183 (void)memcpy(&(NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL1]), in phFriNfc_MfUL_H_UpdateWrLen()
3190 NdefMap->SendRecvBuf[1] = (uint8_t) NdefMap->ApduBuffIndex; in phFriNfc_MfUL_H_UpdateWrLen()
3195 NdefMap->SendRecvBuf[1] = (uint8_t) ((NdefMap->ApduBuffIndex & 0xFF00) >> 8); in phFriNfc_MfUL_H_UpdateWrLen()
3196 NdefMap->SendRecvBuf[2]= (uint8_t) (NdefMap->ApduBuffIndex); in phFriNfc_MfUL_H_UpdateWrLen()
3208 (void)memcpy(&(NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL1]), in phFriNfc_MfUL_H_UpdateWrLen()
3218 … NdefMap->SendRecvBuf[ByteNo]= (uint8_t) ((NdefMap->ApduBuffIndex & 0xFF00) >> 8); in phFriNfc_MfUL_H_UpdateWrLen()
3220 NdefMap->SendRecvBuf[ByteNo] = (uint8_t) (NdefMap->ApduBuffIndex); in phFriNfc_MfUL_H_UpdateWrLen()
3227 NdefMap->SendRecvBuf[ByteNo]= (uint8_t) ((NdefMap->ApduBuffIndex & 0xFF00) >> 8); in phFriNfc_MfUL_H_UpdateWrLen()
3238 NdefMap->SendRecvBuf[ByteNo]= in phFriNfc_MfUL_H_UpdateWrLen()
3243 NdefMap->SendRecvBuf[ByteNo])); in phFriNfc_MfUL_H_UpdateWrLen()
3248 &(NdefMap->SendRecvBuf[ in phFriNfc_MfUL_H_UpdateWrLen()
3252 NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] = (uint8_t)BlockNo; in phFriNfc_MfUL_H_UpdateWrLen()
3305 pNdefMap->SendRecvBuf[0x00]= PH_FRINFC_NDEFMAP_MFUL_NULLTLV; in phFriNfc_MifareUL_UnitTest()
3309 pNdefMap->SendRecvBuf[0x00]= PH_FRINFC_NDEFMAP_MFUL_NULLTLV; in phFriNfc_MifareUL_UnitTest()