pn544 命令 手册

网上找不到pm544的芯片资料,从Android libnfc-nxp原码分析出来的,pn544与pn532完全不一样,按标准走了HCP协议。

 
  
/* Commands from ETSI HCI Specification */
#define WR_XCHGDATA 0x10U
/* NXP Additional Commands apart from ETSI HCI Specification */
/* Command to Check the presence of the card */
#define NXP_WR_PRESCHECK 0x30U
/* Command to Activate the next card present in the field */
#define NXP_WR_ACTIVATE_NEXT 0x31U
/* Command to Activate a card with its UID */
#define NXP_WR_ACTIVATE_ID 0x32U
/* Command to Dispatch the card to UICC */
#define NXP_WR_DISPATCH_TO_UICC 0x33U
/* NXP Additional Events apart from ETSI HCI Specification */
/* Event to Release the Target and Restart The Wheel */
#define NXP_EVT_RELEASE_TARGET 0x35U


 
  
#define NXP_WRA_CONTINUE_ACTIVATION 0x12U
#define NXP_MIFARE_RAW 0x20U
#define NXP_MIFARE_CMD 0x21U
 
  
/* Felica read write commands */
#define NXP_FELICA_RAW 0x20U
#define NXP_FELICA_CMD 0x21U

#define NXP_ISO15693_CMD 0x20U


 
  
/* Jewel read write commands */
#define NXP_JEWEL_RAW 0x23U

你可能感兴趣的:(NFC,Android)