#include "../common/consts.h"
#include "../msg/msg.h"
#include "../utils/utils.h"
#include "../utils/HexFile.h"
#include "../utils/FormatableString.h"
#include "../utils/BootloaderInterface.h"
#include <dashel/dashel.h>
#include "../transport/dashel_plugins/dashel-plugins.h"
#include <iostream>
#include <fstream>
#include <vector>
#include <iterator>
#include <cassert>
#include <cstring>
#include <memory>
Go to the source code of this file.
Classes | |
class | Aseba::CmdBootloaderInterface |
Namespaces | |
namespace | Aseba |
Functions | |
void | Aseba::dumpCommandList (ostream &stream) |
Show list of known commands. | |
void | Aseba::dumpHelp (ostream &stream, const char *programName) |
Show usage. | |
void | Aseba::dumpVersion (std::ostream &stream) |
Show version. | |
void | Aseba::errorBootloader (const string &message) |
Produce an error message and quit. | |
void | Aseba::errorHexFile (const string &message) |
Produce an error message and quit. | |
void | Aseba::errorMissingArgument (const char *programName) |
Produce an error message and dump help and quit. | |
void | Aseba::errorOpenFile (const char *fileName) |
Produce an error message and quit. | |
void | Aseba::errorReadPage (int pageNumber) |
Produce an error message and quit. | |
void | Aseba::errorServerDisconnected () |
Produce an error message and quit. | |
void | Aseba::errorUnknownCommand (const char *cmd) |
Produce an error message and dump help and quit. | |
int | main (int argc, char *argv[]) |
int | Aseba::processCommand (Stream *stream, int argc, char *argv[]) |
Process a command, return the number of arguments eaten (not counting the command itself) |