#include <EthUpdater.h>
|
| EthUpdater () |
|
| ~EthUpdater () |
|
bool | create (ACE_UINT16 port, ACE_UINT32 address) |
|
bool | create (ACE_UINT16 port, std::string &address) |
|
BoardList & | getBoardList () |
|
bool | isCmdSupported (eOuprot_proc_capabilities_t capability, ACE_UINT32 address=0) |
|
int | cmdDiscover () |
|
std::string | cmdGetMoreInfo (bool refreshInfo=false, ACE_UINT32 address=0) |
|
bool | cmdInfo32Clear (ACE_UINT32 address=0) |
|
bool | cmdInfo32Set (const string &info32, ACE_UINT32 address=0) |
|
vector< string > | cmdInfo32Get (ACE_UINT32 address=0) |
|
bool | cmdRestart (ACE_UINT32 address=0) |
|
bool | cmdSetDEF2RUN (eOuprot_process_t process, ACE_UINT32 address=0) |
|
bool | cmdJumpUpd (ACE_UINT32 address=0) |
|
bool | cmdJump2ROMaddress (uint32_t romaddress, ACE_UINT32 address=0) |
|
bool | cmdBlink (ACE_UINT32 address=0) |
|
bool | cmdEraseEEPROM (ACE_UINT32 address=0) |
|
bool | cmdReadEEPROM (uint16_t from, uint16_t size, ACE_UINT32 address, uint8_t **value) |
|
bool | cmdChangeAddress (ACE_UINT32 newaddress, ACE_UINT32 address=0) |
|
std::string | cmdProgram (FILE *programFile, int partition, void(*updateProgressBar)(float), ACE_UINT32 address=0) |
|
Definition at line 21 of file EthUpdater.h.
◆ EthUpdater()
EthUpdater::EthUpdater |
( |
| ) |
|
|
inline |
◆ ~EthUpdater()
EthUpdater::~EthUpdater |
( |
| ) |
|
|
inline |
◆ cmdBlink()
bool EthUpdater::cmdBlink |
( |
ACE_UINT32 |
address = 0 | ) |
|
◆ cmdChangeAddress()
bool EthUpdater::cmdChangeAddress |
( |
ACE_UINT32 |
newaddress, |
|
|
ACE_UINT32 |
address = 0 |
|
) |
| |
◆ cmdDiscover()
int EthUpdater::cmdDiscover |
( |
| ) |
|
◆ cmdEraseEEPROM()
bool EthUpdater::cmdEraseEEPROM |
( |
ACE_UINT32 |
address = 0 | ) |
|
◆ cmdGetMoreInfo()
std::string EthUpdater::cmdGetMoreInfo |
( |
bool |
refreshInfo = false , |
|
|
ACE_UINT32 |
address = 0 |
|
) |
| |
◆ cmdInfo32Clear()
bool EthUpdater::cmdInfo32Clear |
( |
ACE_UINT32 |
address = 0 | ) |
|
◆ cmdInfo32Get()
vector< string > EthUpdater::cmdInfo32Get |
( |
ACE_UINT32 |
address = 0 | ) |
|
◆ cmdInfo32Set()
bool EthUpdater::cmdInfo32Set |
( |
const string & |
info32, |
|
|
ACE_UINT32 |
address = 0 |
|
) |
| |
◆ cmdJump2ROMaddress()
bool EthUpdater::cmdJump2ROMaddress |
( |
uint32_t |
romaddress, |
|
|
ACE_UINT32 |
address = 0 |
|
) |
| |
◆ cmdJumpUpd()
bool EthUpdater::cmdJumpUpd |
( |
ACE_UINT32 |
address = 0 | ) |
|
◆ cmdProgram()
std::string EthUpdater::cmdProgram |
( |
FILE * |
programFile, |
|
|
int |
partition, |
|
|
void(*)(float) |
updateProgressBar, |
|
|
ACE_UINT32 |
address = 0 |
|
) |
| |
◆ cmdReadEEPROM()
bool EthUpdater::cmdReadEEPROM |
( |
uint16_t |
from, |
|
|
uint16_t |
size, |
|
|
ACE_UINT32 |
address, |
|
|
uint8_t ** |
value |
|
) |
| |
◆ cmdRestart()
bool EthUpdater::cmdRestart |
( |
ACE_UINT32 |
address = 0 | ) |
|
◆ cmdSetDEF2RUN()
bool EthUpdater::cmdSetDEF2RUN |
( |
eOuprot_process_t |
process, |
|
|
ACE_UINT32 |
address = 0 |
|
) |
| |
◆ create() [1/2]
bool EthUpdater::create |
( |
ACE_UINT16 |
port, |
|
|
ACE_UINT32 |
address |
|
) |
| |
|
inline |
◆ create() [2/2]
bool EthUpdater::create |
( |
ACE_UINT16 |
port, |
|
|
std::string & |
address |
|
) |
| |
|
inline |
◆ getBoardList()
◆ isCmdSupported()
bool EthUpdater::isCmdSupported |
( |
eOuprot_proc_capabilities_t |
capability, |
|
|
ACE_UINT32 |
address = 0 |
|
) |
| |
◆ sendCommandSelected()
void EthUpdater::sendCommandSelected |
( |
void * |
cmd, |
|
|
uint16_t |
len |
|
) |
| |
|
protected |
◆ sendPROG()
int EthUpdater::sendPROG |
( |
const uint8_t |
opc, |
|
|
void * |
data, |
|
|
int |
size, |
|
|
int |
answers, |
|
|
int |
retry |
|
) |
| |
|
protected |
◆ mBoard2Prog
◆ mBoardList
◆ mBroadcast
ACE_UINT32 EthUpdater::mBroadcast |
|
protected |
◆ mMyAddress
ACE_UINT32 EthUpdater::mMyAddress |
|
protected |
◆ mN2Prog
◆ mNChunks
◆ mNProgSteps
int EthUpdater::mNProgSteps |
|
protected |
◆ mPort
ACE_UINT16 EthUpdater::mPort |
|
protected |
◆ mRxBuffer
unsigned char EthUpdater::mRxBuffer[uprot_UDPmaxsize] |
|
protected |
◆ mSocket
◆ mTxBuffer
unsigned char EthUpdater::mTxBuffer[uprot_UDPmaxsize] |
|
protected |
◆ partition_APPLICATION
const int EthUpdater::partition_APPLICATION = uprot_partitionAPPLICATION |
|
static |
◆ partition_LOADER
const int EthUpdater::partition_LOADER = uprot_partitionLOADER |
|
static |
◆ partition_UPDATER
const int EthUpdater::partition_UPDATER = uprot_partitionUPDATER |
|
static |
The documentation for this class was generated from the following files: