tool/CommandUpload.h
author Florian Pose <fp@igh-essen.com>
Mon, 28 Jul 2008 14:06:03 +0000
changeset 1165 c5d6e28eec91
parent 1142 59be91dfcbe1
child 1184 75cd6681eb08
permissions -rw-r--r--
Added 'ethercat version' command.
/*****************************************************************************
 *
 * $Id$
 *
 ****************************************************************************/

#ifndef __COMMANDUPLOAD_H__
#define __COMMANDUPLOAD_H__

#include "Command.h"

/****************************************************************************/

class CommandUpload:
    public Command
{
    public:
        CommandUpload();

        string helpString() const;
        void execute(MasterDevice &, const StringVector &);

    protected:
		enum {DefaultBufferSize = 1024};

        static void printRawData(const uint8_t *, unsigned int);
};

/****************************************************************************/

#endif