mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-07 04:11:50 +08:00
32 lines
721 B
C++
32 lines
721 B
C++
/*****************************************************************************
|
|
*
|
|
* $Id$
|
|
*
|
|
****************************************************************************/
|
|
|
|
#ifndef __COMMANDUPLOAD_H__
|
|
#define __COMMANDUPLOAD_H__
|
|
|
|
#include "SdoCommand.h"
|
|
|
|
/****************************************************************************/
|
|
|
|
class CommandUpload:
|
|
public SdoCommand
|
|
{
|
|
public:
|
|
CommandUpload();
|
|
|
|
string helpString() const;
|
|
void execute(MasterDevice &, const StringVector &);
|
|
|
|
protected:
|
|
enum {DefaultBufferSize = 1024};
|
|
|
|
static void printRawData(const uint8_t *, unsigned int);
|
|
};
|
|
|
|
/****************************************************************************/
|
|
|
|
#endif
|