gccDppConsole Test C++ SDK  20170920
DPP C++ Console Demonstration
Public Member Functions | Public Attributes
CSendCommand Class Reference

#include <SendCommand.h>

Collaboration diagram for CSendCommand:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 4 of file SendCommand.cpp.

Definition at line 8 of file SendCommand.cpp.


Member Function Documentation

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the caller graph for this function:

bool CSendCommand::TestPacketCkSumOK ( unsigned char  Data[])

Packet checksum test for commands with data.

Definition at line 12 of file SendCommand.cpp.

Here is the caller graph for this function:


Member Data Documentation

Definition at line 28 of file SendCommand.h.


The documentation for this class was generated from the following files: