tool/CommandUpload.h
author Florian Pose <fp@igh-essen.com>
Fri, 25 Jul 2008 08:52:45 +0000
changeset 1146 f18d124d7fbc
parent 1142 59be91dfcbe1
child 1184 75cd6681eb08
permissions -rw-r--r--
Moved slaveState() to Command::alStateString().
/*****************************************************************************
 *
 * $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