Classes | |
class | asynch_serial |
An asynchronous serial object based on the boost::asio library utilizing asynch reads. This implementation is specifically intended for multi-threaded environments. More... | |
class | base_command |
A pure virtual abstraction which serves as the basis of the vet serial protocol command structure. This handles packet management, dissecting incoming packets or creating new ones as needed. How the packets are assembled is determined in the pure virtual function execute() which must be over-ridden by any class inheriting from base_command. More... | |
class | control_request |
Implements a control (or header-only) command. Provides the interface required for minimal functionality required to manipulate and generate a header. More... | |
class | status_request |
Implements a control command soliciting a status check from the remote machine. More... | |
class | status_response |
Implements a control command responding to another machine's request for a status check. This object can be used to create new responses or to receive responses. More... | |
class | mp3_play_request |
Implements a request to initiate the playing of an MP3 device on the remote device. More... | |
class | mp3_stop_request |
Implements a request to to stop the playing of a track that is currently in playback on the remote device. More... | |
class | pubsub_message |
For use with the messaging API. The command acts as a proxy, blindly (de)serializing messages to be transported across the wire. More... | |
class | cpr_compression_state |
device to pc : chest compression stat notification 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 } |
enum | COMMAND_ID { CMD_CNTRL = 0x00, CMD_REQSTAT = 0x01, CMD_RSPSTAT = 0x02, CMD_PLAY_MP3 = 0x03, CMD_STOP_MP3 = 0x04, CMD_MSG_PRXY = 0x05, CMD_CPR_CMPR = 0x06, CMD_MAXCMD = 0xFF } |
enum | ERROR_CODE { E_NOERROR = 0x00, E_DATAOOB = 0x01, E_NULLPTR = 0x02, E_CHKSUM = 0x03, E_NONPROTO = 0xFE, E_UNKNOWN = 0xFF } |
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 command identifiers
System error codes
System control flags (a bit field)