tool/CommandUpload.h
author Florian Pose <fp@igh-essen.com>
Mon, 28 Jul 2008 12:11:50 +0000
changeset 1159 25cc77cf3993
parent 1142 59be91dfcbe1
child 1184 75cd6681eb08
permissions -rw-r--r--
Improved alias/position addressing in case od duplicated aliases.
/*****************************************************************************
 *
 * $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