Skip to content

Commit 1935d31

Browse files
feature(ios): added method propert and events for 15693 tag
1 parent 88baf81 commit 1935d31

File tree

3 files changed

+693
-0
lines changed

3 files changed

+693
-0
lines changed

ios/Classes/TiNfcModule.m

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ - (void)startup
4141
NSLog(@"[DEBUG] %@ loaded", self);
4242
}
4343

44+
MAKE_SYSTEM_PROP(NFC_ISO15693_REQUEST_FLAG_ADDRESS, NFCISO15693RequestFlagAddress);
45+
MAKE_SYSTEM_PROP(NFC_ISO15693_REQUEST_FLAG_COMMAND_SPECIFIC_BIT8, NFCISO15693RequestFlagCommandSpecificBit8);
46+
MAKE_SYSTEM_PROP(NFC_ISO15693_REQUEST_FLAG_DUAL_SUB_CARRIERS, NFCISO15693RequestFlagDualSubCarriers);
47+
MAKE_SYSTEM_PROP(NFC_ISO15693_REQUEST_FLAG_HIGH_DATA_RATE, NFCISO15693RequestFlagHighDataRate);
48+
MAKE_SYSTEM_PROP(NFC_ISO15693_REQUEST_FLAG_OPTION, NFCISO15693RequestFlagOption);
49+
MAKE_SYSTEM_PROP(NFC_ISO15693_REQUEST_FLAG_PROTOCOL_EXTENSION, NFCISO15693RequestFlagProtocolExtension);
50+
MAKE_SYSTEM_PROP(NFC_ISO15693_REQUEST_FLAG_SELECT, NFCISO15693RequestFlagSelect);
51+
4452
MAKE_SYSTEM_STR(READER_SESSION_NFC_NDEF, @"NFCNDEFReaderSession");
4553
MAKE_SYSTEM_STR(READER_SESSION_NFC_TAG, @"NFCTagReaderSession");
4654
MAKE_SYSTEM_PROP(NFC_TAG_ISO14443, NFCPollingISO14443);

ios/Classes/TiNfcVTagTechnology.h

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,39 @@
1212
NS_ASSUME_NONNULL_BEGIN
1313

1414
@interface TiNfcVTagTechnology : TiNfcNativeTagTechnologyProxy
15+
16+
- (TiBuffer *)identifier;
17+
- (NSNumber *)icManufacturerCode;
18+
- (TiBuffer *)icSerialNumber;
19+
- (void)readSingleBlockWithRequestFlags:(id)args;
20+
- (void)writeSingleBlockWithRequestFlags:(id)args;
21+
- (void)lockBlockWithRequestFlags:(id)args;
22+
- (void)readMultipleBlocksWithRequestFlags:(id)args;
23+
- (void)writeMultipleBlocksWithRequestFlags:(id)args;
24+
- (void)getMultipleBlockSecurityStatusWithRequestFlag:(id)args;
25+
- (void)writeAFIWithRequestFlag:(id)args;
26+
- (void)lockAFIWithRequestFlag:(id)args;
27+
- (void)writeDSFIDWithRequestFlag:(id)args;
28+
- (void)resetToReadyWithRequestFlags:(id)args;
29+
- (void)selectWithRequestFlags:(id)args;
30+
- (void)stayQuiet:(id)args;
31+
- (void)customCommandWithRequestFlag:(id)args;
32+
- (void)extendedReadSingleBlockWithRequestFlags:(id)args;
33+
- (void)extendedWriteSingleBlockWithRequestFlags:(id)args;
34+
- (void)extendedLockBlockWithRequestFlags:(id)args;
35+
- (void)extendedReadMultipleBlocksWithRequestFlags:(id)args;
36+
- (void)lockDSFIDWithRequestFlag:(id)args;
37+
- (void)authenticateWithRequestFlags:(id)args;
38+
- (void)challengeWithRequestFlags:(id)args;
39+
- (void)extendedFastReadMultipleBlocksWithRequestFlag:(id)args;
40+
- (void)extendedGetMultipleBlockSecurityStatusWithRequestFlag:(id)args;
41+
- (void)extendedWriteMultipleBlocksWithRequestFlags:(id)args;
42+
- (void)fastReadMultipleBlocksWithRequestFlag:(id)args;
43+
- (void)getSystemInfoAndUIDWithRequestFlag:(id)args;
44+
- (void)keyUpdateWithRequestFlags:(id)args;
45+
- (void)readBufferWithRequestFlags:(id)args;
46+
- (void)sendRequestWithFlag:(id)args;
47+
1548
@end
1649

1750
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)