This API is used to execute multiple access operations (Read, Write, etc) at the same time.
- (SRFID_RESULT) srfidPerformAccessInSequence:(int)readerID aAccessCriteria:(srfidAccessCriteria*)accessCriteria aAccessParameters: (NSArray *)accessParameters aStatusMessage:(NSString**)statusMessage;
Parameters
(int)readerID
[in] Unique identifier of a particular RFID reader assigned by SDK.
(srfidAccessCriteria*) accessCriteria
[in] Access criteria to identify the tag on which the access operations are performed. Using the access criteria, a tag can be chosen with the data of one of its memory banks.
(NSArray)accessParameters
[Array]accessParameters is to identify the list of accesses (Read,Write,Lock,Kill) shall be performed, each array object is of type srfidAccessParameters.
(NSString**)statusMessage
[out] Pointer to NSString variable intended for storage of status message if an error has been reported by the RFID reader via ASCII interface.
Return Values
SRFID_RESULT_SUCCESS
The access sequence has been started successfully.
SRFID_RESULT_FAILURE
The SDK has failed to perform the access sequence.
SRFID_RESULT_READER_NOT_AVAILABLE
The request was not processed because the RFID reader specified by readerID parameter was not active or available.
SRFID_RESULT_INVALID_PARAMS
Invalid parameters (e.g. an identifier of memory bank is not specified).
SRFID_RESULT_RESPONSE_ERROR
An error has been reported by the RFID reader via ASCII interface.
SRFID_RESULT_RESPONSE_TIMEOUT
Timeout has occurred while waiting for a response from the RFID reader.
Notes - If an error has been reported by the RFID reader the received error message is stored in statusMessage parameter.