IDBLUE logo
Public Member Functions
RfidTag Class Reference
Inheritance diagram for RfidTag:
CByteArray

Public Member Functions

(id) - initFromString:withByteOrder:
(id) - initFromByteArray:withIndex:withByteOrder:
(int) - tagIdLength
(Endianness) - byteOrder
(void) - setByteOrder:

Detailed Description

RfidTag is a class that represents an RfidTag as an array of bytes.


Member Function Documentation

- (id) initFromByteArray: (CByteArray*)  data
withIndex: (int)  index
withByteOrder: (Endianness)  byteOrder 

Initialize an RfidTag object from the given byte array

Parameters:
dataa byte array where the first byte contains the number of bytes in the tag id, followed by the tag id.
indexthe index of the tag id length byte
byteOrder
Returns:
The RfidTag object if successful, nil otherwise
- (id) initFromString: (NSString*)  tagId
withByteOrder: (Endianness)  byteOrder 

Initialize an RfidTag object from the given tag id as a string.

Parameters:
tagIdthe string containing the tag id
byteOrder
Returns:
the RfidTag if successful, nil otherwise.
Remarks:
The given tag id contains the bytes of the RFID tag, stored as 2 character hex bytes in reverse order.
- (int) tagIdLength

Get the length of the tag id

Returns:
the length of the tag id, in bytes

The documentation for this class was generated from the following files:

 

Generated on Mon Jan 19 2015 15:47:41
Copyright © 2015 Cathexis Innovations Inc. All Rights Reserved.