Classes | |
class | asynch_serial |
An asynchronous serial object based on the boost::asio library utilizing asynch reads. More... | |
class | base_command |
A pure virtual abstraction which serves as the basis of the vet serial protocol command structure. More... | |
class | control_request |
base_command Implements a control (or header-only) command. More... | |
class | status_request |
base_command Implements a control command soliciting a status check from the remote machine. More... | |
class | status_response |
base_command Implements a control command responding to another machine's request for a status check. More... | |
class | mp3_play_request |
base_command Implements a request to initiate the playing of an MP3 device on the remote device. More... | |
class | mp3_stop_request |
base_command Implements a request to to stop the playing of a track that is currently in playback on the remote device. More... | |
Typedefs | |
typedef enum cornelluniversity::vetserial::STATUS_TYPE | status_t |
typedef enum cornelluniversity::vetserial::COMMAND_ID | cmnd_id |
typedef enum cornelluniversity::vetserial::ERROR_CODE | err_code |
typedef enum cornelluniversity::vetserial::FLAG_TYPE | flag_t |
Enumerations | |
enum | STATUS_TYPE { STATUS_ERROR = 0x10, STATUS_READY = 0x20, STATUS_BUSY = 0x40 } |
System status flags. More... | |
enum | COMMAND_ID { CMD_CNTRL = 0x00, CMD_REQSTAT = 0x01, CMD_RSPSTAT = 0x02, CMD_PLAY_MP3 = 0x03, CMD_STOP_MP3 = 0x04, CMD_MAXCMD = 0xFF } |
System command identifiers. More... | |
enum | ERROR_CODE { E_NOERROR = 0x00, E_DATAOOB = 0x01, E_NULLPTR = 0x02, E_CHKSUM = 0x03, E_NONPROTO = 0xFE, E_UNKNOWN = 0xFF } |
System error codes. More... | |
enum | FLAG_TYPE { FLAG_REQ = 0x01, FLAG_ACK = 0x02, FLAG_NAK = 0x04, FLAG_DATA = 0x08, FLAG_ERR = 0x10, FLAG_RDY = 0x20, FLAG_BUSY = 0x40, FLAG_RESRVD = 0x80 } |
System control flags (a bit field). More... |
System command identifiers.
System error codes.
System control flags (a bit field).