gccDppConsole Test C++ SDK
20170920
DPP C++ Console Demonstration
|
#include <SendCommand.h>
Public Member Functions | |
CSendCommand (void) | |
~CSendCommand (void) | |
bool | TestPacketCkSumOK (unsigned char Data[]) |
Packet checksum test for commands with data. | |
bool | DP5_CMD (unsigned char Buffer[], TRANSMIT_PACKET_TYPE XmtCmd) |
Creates a DPP command that does not require additional processing. | |
bool | DP5_CMD_Config (unsigned char Buffer[], TRANSMIT_PACKET_TYPE XmtCmd, CONFIG_OPTIONS CfgOptions) |
Creates a DPP command that requires configuration data options processing. | |
bool | DP5_CMD_Data (unsigned char Buffer[], TRANSMIT_PACKET_TYPE XmtCmd, unsigned char DataOut[]) |
Creates a DPP command that requires data. | |
bool | POUT_Buffer (Packet_Out POUT, unsigned char Buffer[]) |
Creates a packet output buffer from a command byte data array. | |
Public Attributes | |
CAsciiCmdUtilities | AsciiCmdUtil |
CSendCommand prepares all command packets to be sent. Call CSendCommand::DP5_CMD, CSendCommand::DP5_CMD_Config or CSendCommand::DP5_CMD_Data along with the TRANSMIT_PACKET_TYPE and any additional data or options.
A command array of 8-bit bytes is generated.
Definition at line 23 of file SendCommand.h.
CSendCommand::CSendCommand | ( | void | ) |
Definition at line 4 of file SendCommand.cpp.
CSendCommand::~CSendCommand | ( | void | ) |
Definition at line 8 of file SendCommand.cpp.
bool CSendCommand::DP5_CMD | ( | unsigned char | Buffer[], |
TRANSMIT_PACKET_TYPE | XmtCmd | ||
) |
Creates a DPP command that does not require additional processing.
Definition at line 42 of file SendCommand.cpp.
bool CSendCommand::DP5_CMD_Config | ( | unsigned char | Buffer[], |
TRANSMIT_PACKET_TYPE | XmtCmd, | ||
CONFIG_OPTIONS | CfgOptions | ||
) |
Creates a DPP command that requires configuration data options processing.
Definition at line 273 of file SendCommand.cpp.
bool CSendCommand::DP5_CMD_Data | ( | unsigned char | Buffer[], |
TRANSMIT_PACKET_TYPE | XmtCmd, | ||
unsigned char | DataOut[] | ||
) |
Creates a DPP command that requires data.
Definition at line 404 of file SendCommand.cpp.
bool CSendCommand::POUT_Buffer | ( | Packet_Out | POUT, |
unsigned char | Buffer[] | ||
) |
Creates a packet output buffer from a command byte data array.
Definition at line 446 of file SendCommand.cpp.
bool CSendCommand::TestPacketCkSumOK | ( | unsigned char | Data[] | ) |
Packet checksum test for commands with data.
Definition at line 12 of file SendCommand.cpp.
Definition at line 28 of file SendCommand.h.