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:90
char * guid
The Globally Unique IDentifier (GUID) of the tag.
Definition: player_interfaces.h:4318
player_rfid_tag_t * tags
The list of RFID tags.
Definition: player_interfaces.h:4329
#define PLAYER_MSG1(level, msg, a)
Error message macros.
Definition: error.h:106
Generic message header.
Definition: player.h:161
uint8_t subtype
Message subtype; interface specific.
Definition: player.h:168
#define PLAYER_MSGTYPE_DATA
A data message.
Definition: player.h:95
#define PLAYER_ERROR2(msg, a, b)
Error message macros.
Definition: error.h:83
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
Class for loading configuration file information.
Definition: configfile.h:196
virtual int Setup()
Initialize the driver.
Definition: driver.h:386
An autopointer for the message queue.
Definition: message.h:73
uint32_t tags_count
The number of RFID tags found.
Definition: player_interfaces.h:4327
#define PLAYER_ERROR1(msg, a)
Error message macros.
Definition: error.h:82
uint32_t type
Tag type.
Definition: player_interfaces.h:4314
Definition: rfi341_protocol.h:42
#define PLAYER_ERROR(msg)
Error message macros.
Definition: error.h:81
uint32_t size
Size in bytes of the payload to follow.
Definition: player.h:174
Structure describing a single RFID tag.
Definition: player_interfaces.h:4311
virtual int Shutdown()
Finalize the driver.
Definition: driver.h:393
Base class for all drivers.
Definition: driver.h:108
uint32_t guid_count
GUID count.
Definition: player_interfaces.h:4316
Data.
Definition: player_interfaces.h:4324
#define PLAYER_MSGQUEUE_DEFAULT_MAXLEN
Default maximum length for a message queue.
Definition: player.h:76