#include <fastboot.h>
Public Member Functions | |
int | each (FastBoot &fb, std::shared_ptr< DataBuffer > fbuff, size_t off) override |
FBCRC (char *p) | |
![]() | |
FBLoop (char *p) | |
int | run (CmdCtx *ctx) override |
std::string | build_cmd (std::string &cmd, size_t off, size_t sz) |
![]() | |
CmdBase ()=default | |
CmdBase (char *p) | |
virtual | ~CmdBase () |
virtual int | dump () |
const std::string & | get_cmd () const noexcept |
bool | get_lastcmd () const noexcept |
void | insert_param_info (const char *key, void *pD, Param::Type tp, bool ignore_case=true, const char *err=nullptr) |
virtual int | parser_protocol (char *p, size_t &pos) |
virtual int | parser (char *p=nullptr) |
Additional Inherited Members | |
![]() | |
std::string | m_uboot_cmd = "mmc read $loadaddr" |
size_t | m_blksize = 512 |
size_t | m_each = 0x4000000 |
size_t | m_seek = 0 |
size_t | m_skip = 0 |
bool | m_nostop = false |
std::string | m_filename |
![]() | |
bool | m_bCheckTotalParam = false |
std::string | m_cmd |
bool | m_lastcmd = false |
bool | m_NoKeyParam = false |
int | m_timeout = 10000 |
|
inline |
|
overridevirtual |
Implements FBLoop.