CPU卡片激活之后查询卡片状态问题?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CPU卡片激活之后查询卡片状态问题?

1,715 Views
haopeng
Contributor I

       非接触式CPU卡,在RC663芯片读卡器上面激活成功之后,怎么在不改变卡片状态的情况下(不改变片状态是指卡片激活之后进行卡片状态检测不能改变卡片保持的APDU通信状态),检测卡片是否保持在阅读器上面没有移走,检测完状态之后还直接可以再进行APDU通信 ?

0 Kudos
4 Replies

1,242 Views
haopeng
Contributor I

phStatus_t phpalI14443p4_PresCheck(
void * pDataParams
)

该函数主要作用是什么,在文档中未看到相关注释,请帮忙解释一下用法和返回码意思?

0 Kudos

1,242 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Which version of NFC reader library are you referring to? Please kindly specify.

Thanks for your patience!


Have a great day,
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,242 Views
haopeng
Contributor I

/**
* \brief Check if received R-Block is valid.
* \return Status code
* \retval #PH_ERR_SUCCESS Operation successful.
* \retval #PH_ERR_PROTOCOL_ERROR Block invalid.
*/
phStatus_t phpalI14443p4_Sw_IsValidRBlock(
uint8_t bCheckCid, /**< [In] Set to != 0 to enable CID check */
uint8_t bCid, /**< [In] Current CID for comparison */
uint8_t * pRxBuffer, /**< [In] Received data */
uint16_t wRxLength /**< [In] Number of received data bytes */
);

0 Kudos

1,242 Views
haopeng
Contributor I

R-block
R-block is Receive ready block, example: BA0059C8
PCB (Protocol Control Byte), PCB is 0xBA (NAK, CID following, block number 0) CID is 0x00, The CID field is used to identify a specific PICC.
EDC (Error Detection Code), as 59C8

0 Kudos