86 WUT_CHECK_OFFSET(
NFCUid, 0x00, uid);
87 WUT_CHECK_SIZE(
NFCUid, 0x07);
95 WUT_PADDING_BYTES(0x20);
99 WUT_CHECK_OFFSET(
NFCTagInfo, 0x0B, technology);
240 uint32_t responseSize,
268 uint8_t numCompleted,
269 uint32_t response0Size,
271 uint32_t response1Size,
312 uint32_t lockedDataSize,
576 uint32_t discoveryTimeout,
634 uint32_t discoveryTimeout,
673 uint32_t discoveryTimeout,
719 uint32_t discoveryTimeout,
720 uint32_t commandTimeout,
721 uint32_t commandSize,
722 uint32_t responseSize,
768 uint32_t discoveryTimeout,
769 uint32_t commandTimeout,
770 uint32_t commandSize,
771 uint32_t responseSize,
821 uint32_t discoveryTimeout,
822 uint32_t commandTimeout,
823 uint32_t commandSize,
824 uint32_t responseSize,
871 uint32_t discoveryTimeout,
872 uint32_t commandTimeout,
873 uint32_t commandSize,
874 uint32_t responseSize,
918 uint32_t discoveryTimeout,
919 uint32_t commandTimeout,
920 uint32_t commandSize,
921 uint32_t responseSize,
956 uint32_t command0Timeout,
957 uint32_t command0Size,
958 uint32_t response0Size,
960 uint32_t command1Timeout,
961 uint32_t command1Size,
962 uint32_t response1Size,
993 uint32_t discoveryTimeout,
1019 uint32_t discoveryTimeout,
1043 uint32_t discoveryTimeout,
1073 uint32_t discoveryTimeout,
1108 uint32_t discoveryTimeout,
1160 uint32_t discoveryTimeout,
1164 uint32_t commandTimeout,
1166 uint8_t read0Start, uint8_t read0End,
1167 uint8_t read1Start, uint8_t read1End,
1168 uint8_t read2Start, uint8_t read2End,
1169 uint8_t read3Start, uint8_t read3End,
1170 uint8_t authenticate,
1236 uint16_t discoveryTimeout,
1240 uint32_t commandTimeout,
1242 uint8_t write0Start, uint8_t write0Size,
void *write0Data,
1243 uint8_t write1Start, uint8_t write1Size,
void *write1Data,
1244 uint8_t write2Start, uint8_t write2Size,
void *write2Data,
1245 uint8_t write3Start, uint8_t write3Size,
void *write3Data,
1246 uint8_t activationStart, uint32_t *deactivationData, uint32_t *activationData,
1247 uint8_t authenticate, uint8_t activate,
1273 uint8_t *outUidSize,
uint8_t majorProductVersion
uint8_t minorProductversion
uint8_t data[0x3A0]
The data which has been read.
uint8_t numReads
The amount of reads which have been performed.
NFCError NFCSendRawDataWithPrePolling(VPADChan chan, BOOL startDiscovery, uint32_t discoveryTimeout, uint32_t commandTimeout, uint32_t commandSize, uint32_t responseSize, void *commandData, NFCRawDataCallbackFn callback, void *userContext)
Send a raw NFC command to a tag.
NFCError NFCWriteT2T(VPADChan chan, uint16_t discoveryTimeout, NFCUid *uid, NFCUid *uidMask, NFCNTAGVersion *version, uint32_t commandTimeout, uint8_t numWrites, uint8_t write0Start, uint8_t write0Size, void *write0Data, uint8_t write1Start, uint8_t write1Size, void *write1Data, uint8_t write2Start, uint8_t write2Size, void *write2Data, uint8_t write3Start, uint8_t write3Size, void *write3Data, uint8_t activationStart, uint32_t *deactivationData, uint32_t *activationData, uint8_t authenticate, uint8_t activate, NFCCallbackFn callback, void *userContext)
Write data to a Type 2 NTAG.
NFCError NFCSendRawData(VPADChan chan, BOOL startDiscovery, uint32_t discoveryTimeout, uint32_t commandTimeout, uint32_t commandSize, uint32_t responseSize, void *commandData, NFCRawDataCallbackFn callback, void *userContext)
Send a raw NFC command to a tag.
NFCError NFCIsTagPresent(VPADChan chan, uint32_t discoveryTimeout, NFCUid *uid, NFCUid *uidMask, NFCCallbackFn callback, void *userContext)
Check if a tag is still present.
void NFCSetTagDetectCallback(VPADChan chan, NFCTagDetectCallbackFn callback, void *userContext)
Set a callback which will be called once a tag is attached / removed.
void NFCProc(VPADChan chan)
Process NFC.
void(* NFCGetTagInfoMultiCallbackFn)(VPADChan chan, NFCError error, uint8_t numTagInfos, NFCTagInfo *tagInfo0, NFCTagInfo *tagInfo1, NFCTagInfo *tagInfo2, void *userContext)
Callback function for NFCGetTagInfoMulti.
NFCError NFCReadT2T(VPADChan chan, uint32_t discoveryTimeout, NFCUid *uid, NFCUid *uidMask, NFCNTAGVersion *version, uint32_t commandTimeout, uint8_t numReads, uint8_t read0Start, uint8_t read0End, uint8_t read1Start, uint8_t read1End, uint8_t read2Start, uint8_t read2End, uint8_t read3Start, uint8_t read3End, uint8_t authenticate, NFCReadT2TCallbackFn callback, void *userContext)
Read data from a Type 2 NTAG.
NFCError NFCWrite(VPADChan chan, uint32_t discoveryTimeout, NFCUid *uid, NFCUid *uidMask, uint32_t size, void *data, NFCCallbackFn callback, void *userContext)
Write to a tag.
void NFCGetUIDFromActivationEventData(void *data, NFCProtocol *outProtocol, NFCTechnology *outTechnology, uint8_t *outUidSize, uint8_t *outUid)
Get the UID and other parameters from activation event data.
void(* NFCRawDataTwiceCallbackFn)(VPADChan chan, NFCError error, uint8_t numCompleted, uint32_t response0Size, void *response0Data, uint32_t response1Size, void *response1Data, void *userContext)
Callback function for NFCSendRawDataTwice and variations.
void(* NFCRawDataCallbackFn)(VPADChan chan, NFCError error, uint32_t responseSize, void *responseData, void *userContext)
Callback function for NFCSendRawData and variations.
uint8_t NFCTechnologyMask
NFCError NFCGetTagInfoMulti(VPADChan chan, uint32_t discoveryTimeout, NFCGetTagInfoMultiCallbackFn callback, void *userContext)
Obtain info about multiple tags.
NFCError NFCRead(VPADChan chan, uint32_t discoveryTimeout, NFCUid *uid, NFCUid *uidMask, NFCReadCallbackFn callback, void *userContext)
Read from a tag.
NFCError NFCSendRawDataWithPrePollingEx(VPADChan chan, BOOL startDiscovery, uint32_t discoveryTimeout, uint32_t commandTimeout, uint32_t commandSize, uint32_t responseSize, void *commandData, NFCRawDataCallbackFn callback, void *userContext)
Send a raw NFC command to a tag.
void(* NFCReadT2TCallbackFn)(VPADChan chan, NFCError error, uint8_t rfDiscId, NFCProtocol protocol, NFCTechnology technology, uint8_t uidSize, uint8_t *uid, NFCNTAGVersion *version, NFCReadT2TResult *result, void *userContext)
Callback function for NFCReadT2T.
NFCError NFCSendRawDataEx(VPADChan chan, BOOL startDiscovery, uint32_t discoveryTimeout, uint32_t commandTimeout, uint32_t commandSize, uint32_t responseSize, void *commandData, BOOL disableCRC, NFCRawDataCallbackFn callback, void *userContext)
Send a raw NFC command to a tag.
void(* NFCReadCallbackFn)(VPADChan chan, NFCError error, NFCUid *uid, BOOL readOnly, uint32_t dataSize, void *data, uint32_t lockedDataSize, void *lockedData, void *userContext)
Callback function for NFCRead.
void(* NFCTagDetectCallbackFn)(VPADChan chan, BOOL hasTag, void *userContext)
Callback function for NFCSetTagDetectCallback.
void(* NFCDetectCallbackFn)(VPADChan chan, NFCError error, NFCUid *uid, BOOL readOnly, BOOL hasLockedData, NFCNDEFFlags flags, void *userContext)
Callback function for NFCDetect.
NFCError NFCInitEx(VPADChan chan, uint32_t powerMode)
Initializes the NFC library.
NFCError NFCSendRawDataEx2(VPADChan chan, BOOL startDiscovery, uint32_t discoveryTimeout, uint32_t commandTimeout, uint32_t commandSize, uint32_t responseSize, void *commandData, BOOL disableCRC, NFCTechnologyMask techMask, NFCRawDataCallbackFn callback, void *userContext)
Send a raw NFC command to a tag.
NFCMode NFCGetMode(VPADChan chan)
Get the current NFC mode.
void(* NFCCallbackFn)(VPADChan chan, NFCError error, void *userContext)
Generic callback function.
NFCError NFCAntennaCheck(VPADChan chan, NFCCallbackFn callback, void *userContext)
Check the NFC antenna.
NFCError NFCFormat(VPADChan chan, uint32_t discoveryTimeout, NFCUid *uid, NFCUid *uidMask, NFCCallbackFn callback, void *userContext)
Check if the tag is NDEF Formatable.
NFCError NFCSetMode(VPADChan chan, NFCMode mode)
Set the current NFC mode.
NFCError NFCAbort(VPADChan chan, NFCCallbackFn callback, void *userContext)
Abort pending NFC operations.
NFCError NFCSetLockBitsForT1T(VPADChan chan, uint8_t numBlocks, NFCRawDataCallbackFn callback, void *userContext)
This will lock an area of blocks at the end of a 512-byte Type 1 Tag.
NFCError NFCDetect(VPADChan chan, uint32_t discoveryTimeout, NFCDetectCallbackFn callback, void *userContext)
Start tag discovery and provide info about the first detected tag.
NFCError NFCSetReadOnly(VPADChan chan, uint32_t discoveryTimeout, NFCUid *uid, NFCUid *uidMask, BOOL readOnly, NFCCallbackFn callback, void *userContext)
Make a Type 1 Tag read only by setting the RWA byte.
NFCError __NFCSystemAbort(VPADChan chan)
Abort and call pending callbacks.
NFCError NFCShutdown(VPADChan chan)
Shutdown the NFC library.
void(* NFCGetTagInfoCallbackFn)(VPADChan chan, NFCError error, NFCTagInfo *tagInfo, void *userContext)
Callback function for NFCGetTagInfo.
NFCError NFCInit(VPADChan chan)
Initializes the NFC library.
NFCError NFCSendRawDataTwice(VPADChan chan, uint32_t command0Timeout, uint32_t command0Size, uint32_t response0Size, void *command0Data, uint32_t command1Timeout, uint32_t command1Size, uint32_t response1Size, void *command1Data, NFCRawDataTwiceCallbackFn callback, void *userContext)
Send two raw NFC commands to an activated tag.
NFCError NFCGetTagInfo(VPADChan chan, uint32_t discoveryTimeout, NFCGetTagInfoCallbackFn callback, void *userContext)
Obtain info about tags.
BOOL NFCIsInit(VPADChan chan)
Check if NFC is initialized.
@ NFC_TECHNOLOGY_MASK_ISO15693
@ NFC_TECHNOLOGY_MASK_ALL
@ NFC_NDEF_FLAG_SUPPORTED
NDEF supported by the tag.
@ NFC_NDEF_FLAG_OTP
Tag is one time programmable.
@ NFC_NDEF_FLAG_UNKNOWN
Unable to find if tag is ndef capable/formated/read only.
@ NFC_NDEF_FLAG_READ_ONLY
Tag is read only.
@ NFC_NDEF_FLAG_FORMATED
Tag formated for NDEF.
@ NFC_NDEF_FLAG_FORMATABLE
Tag supports format operation.
@ NFC_NDEF_FLAG_HARD_LOCKABLE
Tag can be hard locked.
@ NFC_NDEF_FLAG_SOFT_LOCKABLE
Tag can be soft locked.
@ NFC_MODE_ACTIVE
NFC is discovering / has an active tag.
@ NFC_MODE_IDLE
NFC is idle.
@ NFC_TECHNOLOGY_ISO15693
VPADChan
Wii U GamePad channel.