EasyManua.ls Logo

IDTECH NEO2 - Page 123

Default Icon
153 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
13.7 IDT_NEO2 Class Reference 113
Parameters
response Response as explained in FeliCA Lite-S User's Manual
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
13.7.2.66 - (RETURN_CODE) felica_read: (NSData ) serviceCode numBlocks:(int) numBlocks blockList:(NSData ) blockList
blocks:(NSData ∗∗) blocks
FeliCa Read
Reads up to 4 blocks.
NOTE: The reader must be in Pass Through Mode for FeliCa commands to work.
Parameters
serviceCode Service Code List. Each service code in Service Code List = 2 bytes of data
numBlocks Number of blocks
blockList Blocks to read. Maximum 4 block requests
blocks Blocks read. Each block 16 bytes.
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
13.7.2.67 - (RETURN_CODE) felica_readWithMac: (int) numBlocks blockList:(NSData ) blockList blocks:(NSData ∗∗) blocks
FeliCa Read with MAC Generation
Reads up to 3 blocks with MAC Generation. FeliCa Authentication must be performed first
NOTE: The reader must be in Pass Through Mode for FeliCa commands to work.
Parameters
numBlocks Number of blocks
blockList Block to read. Each block in blockList Maximum 3 block requests
blocks Blocks read. Each block 16 bytes.
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
13.7.2.68 - (RETURN_CODE) felica_write: (NSData ) serviceCode blockList:(NSData ) blockList data:(NSData ) data
statusFlag:(NSData ∗∗) statusFlag
FeliCa Write
Writes a block
NOTE: The reader must be in Pass Through Mode for FeliCa commands to work.
IDTech iOS SDK Guide for NEO2 #80152802-001

Table of Contents

Related product manuals