rfid
[Interface specifications]
Detailed Description
RFID reader.The RFID interface provides access to a RFID reader (driver implementations include RFID readers such as Skyetek M1 and Inside M300).
#define | PLAYER_RFID_MAX_TAGS 30 |
The maximum nr of tags that can be detected in the RF field in total. | |
#define | PLAYER_RFID_MAX_GUID 8 |
The maximum number of digits one RFID tag can have. | |
#define | PLAYER_RFID_DATA 1 |
Data subtype. | |
#define | PLAYER_RFID_REQ_POWER 1 |
Request/reply: put the reader in sleep mode (0) or wake it up (1). | |
#define | PLAYER_RFID_REQ_READTAG 2 |
Request/reply: read data from the RFID tag - to be implemented. | |
#define | PLAYER_RFID_REQ_WRITETAG 3 |
Request/reply: write data to the RFID tag - to be implemented. | |
#define | PLAYER_RFID_REQ_LOCKTAG 4 |
Request/reply: lock data blocks of a RFID tag - to be implemented. | |
typedef struct player_rfid_tag | player_rfid_tag_t |
Structure describing a single RFID tag. | |
typedef struct player_rfid_data | player_rfid_data_t |
Data. | |
typedef struct player_rfid_cmd | player_rfid_cmd_t |
Command. |
Define Documentation
#define PLAYER_RFID_MAX_GUID 8 |
The maximum number of digits one RFID tag can have.
#define PLAYER_RFID_MAX_TAGS 30 |
The maximum nr of tags that can be detected in the RF field in total.
#define PLAYER_RFID_REQ_LOCKTAG 4 |
Request/reply: lock data blocks of a RFID tag - to be implemented.
#define PLAYER_RFID_REQ_POWER 1 |
Request/reply: put the reader in sleep mode (0) or wake it up (1).
#define PLAYER_RFID_REQ_READTAG 2 |
Request/reply: read data from the RFID tag - to be implemented.
#define PLAYER_RFID_REQ_WRITETAG 3 |
Request/reply: write data to the RFID tag - to be implemented.
Typedef Documentation
typedef struct player_rfid_cmd player_rfid_cmd_t |
Command.
Just a placeholder for now; data will be added in future.
typedef struct player_rfid_data player_rfid_data_t |
Data.
The RFID data packet.
typedef struct player_rfid_tag player_rfid_tag_t |
Structure describing a single RFID tag.