ATBUpdateTool/commands_to_update_dc.h

25 lines
476 B
C
Raw Normal View History

2023-04-05 14:43:27 +02:00
#ifndef COMMANDS_TO_UPDATE_DC_H_INCLUDED
#define COMMANDS_TO_UPDATE_DC_H_INCLUDED
#include "serial.h"
class hwinf;
class Command {
hwinf const *m_hw;
Serial m_serial;
public:
Command(hwinf const *hw);
~Command();
bool startCmdSequence();
bool resetDeviceController();
bool enterBootloader();
bool isBootloaderRunning();
bool loadBinary();
bool sendBinary();
bool exitBootloader();
};
#endif // COMMANDS_TO_UPDATE_DC_H_INCLUDED