29 #include <sys/types.h>
30 #include <libplayercore/playercore.h>
49 int Connect (
int connect_speed);
52 int SetupSensor (
int transfer_speed);
57 int SendCommand (
const char* cmd);
64 int assemblecommand (
unsigned char* command,
int len);
70 struct termios initial_options;
79 unsigned char buffer[4096];
80 unsigned int bufferlength;
84 unsigned char command[BUF_SIZE];
#define PLAYER_WARN1(msg, a)
Error message macros.
Definition: error.h:89
char * guid
The Globally Unique IDentifier (GUID) of the tag.
Definition: player_interfaces.h:4323
player_rfid_tag_t * tags
The list of RFID tags.
Definition: player_interfaces.h:4334
#define PLAYER_MSG1(level, msg, a)
Error message macros.
Definition: error.h:105
Generic message header.
Definition: player.h:160
uint8_t subtype
Message subtype; interface specific.
Definition: player.h:167
#define PLAYER_MSGTYPE_DATA
A data message.
Definition: player.h:94
#define PLAYER_ERROR2(msg, a, b)
Error message macros.
Definition: error.h:82
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
Class for loading configuration file information.
Definition: configfile.h:195
virtual int Setup()
Initialize the driver.
Definition: driver.h:385
An autopointer for the message queue.
Definition: message.h:72
uint32_t tags_count
The number of RFID tags found.
Definition: player_interfaces.h:4332
#define PLAYER_ERROR1(msg, a)
Error message macros.
Definition: error.h:81
uint32_t type
Tag type.
Definition: player_interfaces.h:4319
Definition: rfi341_protocol.h:42
#define PLAYER_ERROR(msg)
Error message macros.
Definition: error.h:80
uint32_t size
Size in bytes of the payload to follow.
Definition: player.h:173
Structure describing a single RFID tag.
Definition: player_interfaces.h:4316
virtual int Shutdown()
Finalize the driver.
Definition: driver.h:392
Base class for all drivers.
Definition: driver.h:107
uint32_t guid_count
GUID count.
Definition: player_interfaces.h:4321
Data.
Definition: player_interfaces.h:4329
#define PLAYER_MSGQUEUE_DEFAULT_MAXLEN
Default maximum length for a message queue.
Definition: player.h:75