Lines Matching refs:psNdefSmtCrdFmt
125 phFriNfc_sNdefSmtCrdFmt_t *psNdefSmtCrdFmt);
130 phFriNfc_sNdefSmtCrdFmt_t *psNdefSmtCrdFmt,
137 phFriNfc_sNdefSmtCrdFmt_t *psNdefSmtCrdFmt,
148 phFriNfc_sNdefSmtCrdFmt_t *psNdefSmtCrdFmt,
157 psNdefSmtCrdFmt->psDepAdditionalInfo.DepFlags.MetaChaining = 0;
158 psNdefSmtCrdFmt->psDepAdditionalInfo.DepFlags.NADPresent = 0;
159 psNdefSmtCrdFmt->psDepAdditionalInfo.NAD = 0;
161 psNdefSmtCrdFmt->SmtCrdFmtCompletionInfo.CompletionRoutine =
163 psNdefSmtCrdFmt->SmtCrdFmtCompletionInfo.Context = psNdefSmtCrdFmt;
165 *psNdefSmtCrdFmt->SendRecvLength = PH_FRINFC_SMTCRDFMT_MAX_SEND_RECV_BUF_SIZE;
167 psNdefSmtCrdFmt->Cmd.Iso15693Cmd = phHal_eIso15693_Cmd;
169 *(psNdefSmtCrdFmt->SendRecvBuf + send_index) = (uint8_t)ISO15693_FMT_FLAGS;
172 *(psNdefSmtCrdFmt->SendRecvBuf + send_index) = (uint8_t)command;
175 (void)memcpy ((void *)(psNdefSmtCrdFmt->SendRecvBuf + send_index),
176 (void *)psNdefSmtCrdFmt->psRemoteDevInfo->RemoteDevInfo.Iso15693_Info.Uid,
177 psNdefSmtCrdFmt->psRemoteDevInfo->RemoteDevInfo.Iso15693_Info.UidLength);
179 psNdefSmtCrdFmt->psRemoteDevInfo->RemoteDevInfo.Iso15693_Info.UidLength);
186 *(psNdefSmtCrdFmt->SendRecvBuf + send_index) = (uint8_t)
187 psNdefSmtCrdFmt->AddInfo.s_iso15693_info.current_block;
192 (void)memcpy ((void *)(psNdefSmtCrdFmt->SendRecvBuf + send_index),
206 *(psNdefSmtCrdFmt->SendRecvBuf + send_index) = (uint8_t)
207 psNdefSmtCrdFmt->AddInfo.s_iso15693_info.current_block;
226 psNdefSmtCrdFmt->SendLength = send_index;
230 result = phFriNfc_OvrHal_Transceive(psNdefSmtCrdFmt->LowerDevice,
231 &psNdefSmtCrdFmt->SmtCrdFmtCompletionInfo,
232 psNdefSmtCrdFmt->psRemoteDevInfo,
233 psNdefSmtCrdFmt->Cmd,
234 &psNdefSmtCrdFmt->psDepAdditionalInfo,
235 psNdefSmtCrdFmt->SendRecvBuf,
236 psNdefSmtCrdFmt->SendLength,
237 psNdefSmtCrdFmt->SendRecvBuf,
238 psNdefSmtCrdFmt->SendRecvLength);
247 phFriNfc_sNdefSmtCrdFmt_t *psNdefSmtCrdFmt,
253 &(psNdefSmtCrdFmt->AddInfo.s_iso15693_info);
255 &(psNdefSmtCrdFmt->psRemoteDevInfo->RemoteDevInfo.Iso15693_Info);
329 phFriNfc_sNdefSmtCrdFmt_t *psNdefSmtCrdFmt)
333 &(psNdefSmtCrdFmt->AddInfo.s_iso15693_info);
349 if (!phFriNfc_ISO15693_H_GetMaxDataSize (psNdefSmtCrdFmt,
350 (psNdefSmtCrdFmt->SendRecvBuf + ISO15693_EXTRA_RESPONSE_FLAG),
351 (uint8_t)(*psNdefSmtCrdFmt->SendRecvLength -
359 psNdefSmtCrdFmt->AddInfo.s_iso15693_info.current_block = 0x00;
377 if ((psNdefSmtCrdFmt->AddInfo.s_iso15693_info.current_block == 0x00) &&
378 (psNdefSmtCrdFmt->SendRecvBuf[1] != 0x00 ||
379 psNdefSmtCrdFmt->SendRecvBuf[2] != 0x00 ||
380 psNdefSmtCrdFmt->SendRecvBuf[3] != 0x00 ||
381 psNdefSmtCrdFmt->SendRecvBuf[4] != 0x00))
486 result = phFriNfc_ISO15693_H_FmtReadWrite (psNdefSmtCrdFmt,
499 phFriNfc_sNdefSmtCrdFmt_t *psNdefSmtCrdFmt)
502 (void)memset((void *)&(psNdefSmtCrdFmt->AddInfo.s_iso15693_info),
504 psNdefSmtCrdFmt->FmtProcStatus = 0;
509 phFriNfc_sNdefSmtCrdFmt_t *psNdefSmtCrdFmt)
513 &(psNdefSmtCrdFmt->psRemoteDevInfo->RemoteDevInfo.Iso15693_Info);
525 psNdefSmtCrdFmt->State = ISO15693_FORMAT;
528 result = phFriNfc_ISO15693_H_FmtReadWrite (psNdefSmtCrdFmt,
545 phFriNfc_sNdefSmtCrdFmt_t *psNdefSmtCrdFmt =
548 &(psNdefSmtCrdFmt->AddInfo.s_iso15693_info);
552 if (ISO15693_FORMAT == psNdefSmtCrdFmt->State)
555 Status = phFriNfc_ISO15693_H_ProFormat (psNdefSmtCrdFmt);
573 phFriNfc_SmtCrdFmt_HCrHandler (psNdefSmtCrdFmt, Status);