dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Uploader Plugin

Low level bootloader protocol structures. More...

Namespaces

 tl_dfu
 
 Ui
 
 uploader
 
 Core
 The Core namespace contains all classes that make up the Core plugin which constitute the basic functionality of the GCS.
 

Classes

struct  msg_capabilities_req
 
struct  msg_capabilities_rep_all
 
struct  msg_capabilities_rep_specific
 
struct  msg_enter_dfu
 
struct  msg_jump_fw
 
struct  msg_reset
 
struct  msg_op_abort
 
struct  msg_op_end
 
struct  msg_xfer_cont
 
struct  msg_status_req
 
struct  msg_status_rep
 
struct  msg_wipe_partition
 
struct  tl_dfu::device
 
class  tl_dfu::DFUObject
 
class  UpgradeAssistantDialog
 
class  uploader::UploaderGadget
 
class  uploader::UploaderGadgetFactory
 
class  uploader::UploaderGadgetWidget
 
class  UploaderPlugin
 

Enumerations

enum  tl_dfu::bl_commands {
  tl_dfu::BL_MSG_RESERVED = 0, tl_dfu::BL_MSG_CAP_REQ, tl_dfu::BL_MSG_CAP_REP, tl_dfu::BL_MSG_ENTER_DFU,
  tl_dfu::BL_MSG_JUMP_FW, tl_dfu::BL_MSG_RESET, tl_dfu::BL_MSG_OP_ABORT, tl_dfu::BL_MSG_WRITE_CONT,
  tl_dfu::BL_MSG_OP_END, tl_dfu::BL_MSG_READ_START, tl_dfu::BL_MSG_READ_CONT, tl_dfu::BL_MSG_STATUS_REQ,
  tl_dfu::BL_MSG_STATUS_REP, tl_dfu::BL_MSG_WIPE_PARTITION, tl_dfu::BL_MSG_WRITE_START
}
 
enum  tl_dfu::dfu_partition_label {
  tl_dfu::DFU_PARTITION_FW, tl_dfu::DFU_PARTITION_DESC, tl_dfu::DFU_PARTITION_BL, tl_dfu::DFU_PARTITION_SETTINGS,
  tl_dfu::DFU_PARTITION_AUTOTUNE, tl_dfu::DFU_PARTITION_LOG, tl_dfu::DFU_PARTITION_LOADABLE_EXTENSION
}
 
enum  tl_dfu::Status {
  tl_dfu::DFUidle, tl_dfu::uploading, tl_dfu::wrong_packet_received, tl_dfu::too_many_packets,
  tl_dfu::too_few_packets, tl_dfu::Last_operation_Success, tl_dfu::downloading, tl_dfu::idle,
  tl_dfu::Last_operation_failed, tl_dfu::uploadingStarting, tl_dfu::outsideDevCapabilities, tl_dfu::CRC_Fail,
  tl_dfu::failed_jump, tl_dfu::abort, tl_dfu::not_in_dfu
}
 
enum  tl_dfu::DFUObject::ThreadJobStruc::Actions { tl_dfu::DFUObject::ThreadJobStruc::Download, tl_dfu::DFUObject::ThreadJobStruc::Upload }
 
enum  UpgradeAssistantDialog::UpgradeAssistantStep {
  UpgradeAssistantDialog::STEP_FIRST = 0, UpgradeAssistantDialog::STEP_ENTERLOADER = 0, UpgradeAssistantDialog::STEP_CHECKCLOUD, UpgradeAssistantDialog::STEP_UPGRADEBOOTLOADER,
  UpgradeAssistantDialog::STEP_DOWNLOADSETTINGS, UpgradeAssistantDialog::STEP_TRANSLATESETTINGS, UpgradeAssistantDialog::STEP_ERASESETTINGS, UpgradeAssistantDialog::STEP_FLASHFIRMWARE,
  UpgradeAssistantDialog::STEP_BOOT, UpgradeAssistantDialog::STEP_IMPORT, UpgradeAssistantDialog::STEP_DONE, UpgradeAssistantDialog::STEP_NUM = STEP_DONE
}
 
enum  uploader::StatusIcon { uploader::STATUSICON_OK, uploader::STATUSICON_RUNNING, uploader::STATUSICON_FAIL, uploader::STATUSICON_INFO }
 

Functions

 __attribute__ ((packed))
 
 PACK (struct msg_xfer_start{uint32_t packets_in_transfer;uint8_t label;uint8_t words_in_last_packet;uint32_t expected_crc;})
 
 PACK (union msg_contents{struct msg_capabilities_req cap_req;struct msg_capabilities_rep_all cap_rep_all;struct msg_capabilities_rep_specific cap_rep_specific;struct msg_enter_dfu enter_dfu;struct msg_jump_fw jump_fw;struct msg_reset reset;struct msg_op_abort op_abort;struct msg_op_end op_end;struct msg_xfer_start xfer_start;struct msg_xfer_cont xfer_cont;struct msg_status_req status_req;struct msg_status_rep status_rep;struct msg_wipe_partition wipe_partition;uint8_t pad[62];})
 
 PACK (struct bl_messages{uint8_t flags_command;union msg_contents v;})
 
static quint32 tl_dfu::DFUObject::CRCFromQBArray (QByteArray array, quint32 Size)
 
 tl_dfu::DFUObject::DFUObject ()
 
 tl_dfu::DFUObject::~DFUObject ()
 
int tl_dfu::DFUObject::JumpToApp (bool)
 
int tl_dfu::DFUObject::ResetDevice (void)
 
bool tl_dfu::DFUObject::OpenBootloaderComs (USBPortInfo port)
 
void tl_dfu::DFUObject::CloseBootloaderComs ()
 
bool tl_dfu::DFUObject::UploadPartitionThreaded (QByteArray &sourceArray, dfu_partition_label partition, int size)
 
bool tl_dfu::DFUObject::DownloadPartitionThreaded (QByteArray *firmwareArray, dfu_partition_label partition, int size)
 
bool tl_dfu::DFUObject::WipePartition (dfu_partition_label partition)
 
QByteArray tl_dfu::DFUObject::DownloadDescriptionAsByteArray (int const &numberOfChars)
 
void tl_dfu::DFUObject::run ()
 
 UpgradeAssistantDialog::UpgradeAssistantDialog (QWidget *parent=nullptr)
 
 UpgradeAssistantDialog::~UpgradeAssistantDialog ()
 
void UpgradeAssistantDialog::setOperatingMode (bool upgradingBootloader, bool blankFC)
 
int UpgradeAssistantDialog::PromptUser (QString promptText, QString detailText, QStringList buttonText)
 
void UpgradeAssistantDialog::onStepChanged (UpgradeAssistantStep step)
 
void UpgradeAssistantDialog::closeEvent (QCloseEvent *event)
 
 uploader::UploaderGadget::UploaderGadget (QString classId, UploaderGadgetWidget *widget, QWidget *parent=nullptr)
 
 uploader::UploaderGadget::~UploaderGadget ()
 
QWidget * uploader::UploaderGadget::widget ()
 
void uploader::UploaderGadget::loadConfiguration (IUAVGadgetConfiguration *config)
 
 uploader::UploaderGadgetFactory::UploaderGadgetFactory (QObject *parent=nullptr)
 
 uploader::UploaderGadgetFactory::~UploaderGadgetFactory ()
 
Core::IUAVGadgetuploader::UploaderGadgetFactory::createGadget (QWidget *parent)
 
IUAVGadgetConfiguration * uploader::UploaderGadgetFactory::createConfiguration (QSettings *qSettings)
 
 uploader::UploaderGadgetWidget::UploaderGadgetWidget (QWidget *parent=nullptr)
 Class constructor, sets signal to slot connections, creates actions, creates utility classes instances, etc. More...
 
 uploader::UploaderGadgetWidget::~UploaderGadgetWidget ()
 Class destructor, nothing needs to be destructed ATM. More...
 
bool uploader::UploaderGadgetWidget::active () const
 active More...
 

Variables

uint8_t msg_capabilities_req::unused [4]
 
uint8_t msg_capabilities_req::device_number
 
uint8_t msg_capabilities_rep_all::unused [4]
 
uint16_t msg_capabilities_rep_all::number_of_devices
 
uint16_t msg_capabilities_rep_all::wrflags
 
uint32_t msg_capabilities_rep_specific::fw_size
 
uint8_t msg_capabilities_rep_specific::device_number
 
uint8_t msg_capabilities_rep_specific::bl_version
 
uint8_t msg_capabilities_rep_specific::desc_size
 
uint8_t msg_capabilities_rep_specific::board_rev
 
uint32_t msg_capabilities_rep_specific::fw_crc
 
uint16_t msg_capabilities_rep_specific::device_id
 
uint16_t msg_capabilities_rep_specific::cap_extension_magic
 
uint32_t msg_capabilities_rep_specific::partition_sizes [10]
 
uint8_t msg_enter_dfu::unused [4]
 
uint8_t msg_enter_dfu::device_number
 
uint8_t msg_jump_fw::unused [4]
 
uint8_t msg_jump_fw::unused2 [2]
 
uint16_t msg_jump_fw::safe_word
 
uint32_t msg_xfer_cont::current_packet_number
 
uint8_t msg_xfer_cont::data [XFER_BYTES_PER_PACKET]
 
uint32_t msg_status_rep::additional_state
 
uint8_t msg_status_rep::current_state
 
uint8_t msg_wipe_partition::label
 
quint16 tl_dfu::device::ID
 
quint32 tl_dfu::device::FW_CRC
 
quint8 tl_dfu::device::BL_Version
 
int tl_dfu::device::SizeOfDesc
 
quint32 tl_dfu::device::SizeOfCode
 
bool tl_dfu::device::Readable
 
bool tl_dfu::device::Writable
 
QVector< quint32 > tl_dfu::device::PartitionSizes
 
int tl_dfu::device::HW_Rev
 
bool tl_dfu::device::CapExt
 
quint32 tl_dfu::DFUObject::messagePackets::numberOfPackets
 
quint8 tl_dfu::DFUObject::messagePackets::lastPacketCount
 
int tl_dfu::DFUObject::messagePackets::pad
 
quint32 tl_dfu::DFUObject::statusReport::additional
 
tl_dfu::Status tl_dfu::DFUObject::statusReport::status
 
qint32 tl_dfu::DFUObject::ThreadJobStruc::requestSize
 
dfu_partition_label tl_dfu::DFUObject::ThreadJobStruc::requestTransferType
 
QByteArray * tl_dfu::DFUObject::ThreadJobStruc::requestStorage
 
quint32 tl_dfu::DFUObject::ThreadJobStruc::partition_size
 
Actions tl_dfu::DFUObject::ThreadJobStruc::requestedOperation
 

Signals

void tl_dfu::DFUObject::downloadFinished (bool)
 
void tl_dfu::DFUObject::uploadFinished (tl_dfu::Status)
 
void tl_dfu::DFUObject::operationProgress (QString status, int progress)
 
void uploader::UploaderGadgetFactory::newBoardSeen (deviceInfo board, deviceDescriptorStruct device)
 
void uploader::UploaderGadgetWidget::newBoardSeen (deviceInfo board, deviceDescriptorStruct device)
 
void uploader::UploaderGadgetWidget::enteredLoader ()
 

Public Slots

device tl_dfu::DFUObject::findCapabilities ()
 
QString tl_dfu::DFUObject::partitionStringFromLabel (dfu_partition_label label)
 

Detailed Description

Low level bootloader protocol structures.

The Tau Labs uploader plugin.

The Tau Labs uploader plugin main widget.

The Tau Labs uploader plugin factory.

The Tau Labs uploader plugin gadget.

The upgrade assistant dialog box.

Low level bootloader protocol functions.

Enumeration Type Documentation

Enumerator
Download 
Upload 

Definition at line 147 of file tl_dfu.h.

Enumerator
BL_MSG_RESERVED 
BL_MSG_CAP_REQ 
BL_MSG_CAP_REP 
BL_MSG_ENTER_DFU 
BL_MSG_JUMP_FW 
BL_MSG_RESET 
BL_MSG_OP_ABORT 
BL_MSG_WRITE_CONT 
BL_MSG_OP_END 
BL_MSG_READ_START 
BL_MSG_READ_CONT 
BL_MSG_STATUS_REQ 
BL_MSG_STATUS_REP 
BL_MSG_WIPE_PARTITION 
BL_MSG_WRITE_START 

Definition at line 50 of file bl_messages.h.

Enumerator
DFU_PARTITION_FW 
DFU_PARTITION_DESC 
DFU_PARTITION_BL 
DFU_PARTITION_SETTINGS 
DFU_PARTITION_AUTOTUNE 
DFU_PARTITION_LOG 
DFU_PARTITION_LOADABLE_EXTENSION 

Definition at line 96 of file bl_messages.h.

Enumerator
DFUidle 
uploading 
wrong_packet_received 
too_many_packets 
too_few_packets 
Last_operation_Success 
downloading 
idle 
Last_operation_failed 
uploadingStarting 
outsideDevCapabilities 
CRC_Fail 
failed_jump 
abort 
not_in_dfu 

Definition at line 44 of file tl_dfu.h.

Enumerator
STATUSICON_OK 
STATUSICON_RUNNING 
STATUSICON_FAIL 
STATUSICON_INFO 

Definition at line 53 of file uploadergadgetwidget.h.

Enumerator
STEP_FIRST 
STEP_ENTERLOADER 
STEP_CHECKCLOUD 
STEP_UPGRADEBOOTLOADER 
STEP_DOWNLOADSETTINGS 
STEP_TRANSLATESETTINGS 
STEP_ERASESETTINGS 
STEP_FLASHFIRMWARE 
STEP_BOOT 
STEP_IMPORT 
STEP_DONE 
STEP_NUM 

Definition at line 46 of file upgradeassistantdialog.h.

Function Documentation

__attribute__ ( (packed)  )
bool UploaderGadgetWidget::active ( ) const

active

Returns
true if the uploader is currently doing something (e.g. upgrader)

Definition at line 2024 of file uploadergadgetwidget.cpp.

void DFUObject::CloseBootloaderComs ( )

Close bootloader coms

Definition at line 512 of file tl_dfu.cpp.

void UpgradeAssistantDialog::closeEvent ( QCloseEvent *  event)
protected

Definition at line 168 of file upgradeassistantdialog.cpp.

quint32 DFUObject::CRCFromQBArray ( QByteArray  array,
quint32  Size 
)
static

Utility function Calculates the CRC value of an array after padding it to the format used with the bootloader

Definition at line 698 of file tl_dfu.cpp.

IUAVGadgetConfiguration * UploaderGadgetFactory::createConfiguration ( QSettings *  qSettings)
virtual

Reimplemented from Core::IUAVGadgetFactory.

Definition at line 55 of file uploadergadgetfactory.cpp.

Core::IUAVGadget * UploaderGadgetFactory::createGadget ( QWidget *  parent)
virtual

Implements Core::IUAVGadgetFactory.

Definition at line 45 of file uploadergadgetfactory.cpp.

DFUObject::DFUObject ( )

Definition at line 46 of file tl_dfu.cpp.

QByteArray DFUObject::DownloadDescriptionAsByteArray ( int const &  numberOfChars)

Downloads the description string for the current device. You have to call enterDFU before calling this function.

Definition at line 146 of file tl_dfu.cpp.

bool DFUObject::DownloadPartitionThreaded ( QByteArray *  firmwareArray,
dfu_partition_label  partition,
int  size 
)

Starts a partition download

Parameters
firmwareArraypointer to the location where we should store the firmware
partitionthe partition to download
sizethe number of bytes to transfer

Definition at line 159 of file tl_dfu.cpp.

int DFUObject::JumpToApp ( bool  safeboot)

Starts the firmware (leaves bootloader and boots the main software)

Definition at line 353 of file tl_dfu.cpp.

void uploader::UploaderGadget::loadConfiguration ( IUAVGadgetConfiguration *  config)
virtual

Loads a configuration.

Reimplemented from Core::IUAVGadget.

Definition at line 45 of file uploadergadget.cpp.

void UpgradeAssistantDialog::onStepChanged ( UpgradeAssistantStep  step)

Definition at line 123 of file upgradeassistantdialog.cpp.

bool DFUObject::OpenBootloaderComs ( USBPortInfo  port)

Opens bootloader coms to a given USB port

Parameters
portUSB port to use
Returns
operation success

Definition at line 459 of file tl_dfu.cpp.

PACK ( struct msg_xfer_start{uint32_t packets_in_transfer;uint8_t label;uint8_t words_in_last_packet;uint32_t expected_crc;}  )
PACK ( union msg_contents{struct msg_capabilities_req cap_req;struct msg_capabilities_rep_all cap_rep_all;struct msg_capabilities_rep_specific cap_rep_specific;struct msg_enter_dfu enter_dfu;struct msg_jump_fw jump_fw;struct msg_reset reset;struct msg_op_abort op_abort;struct msg_op_end op_end;struct msg_xfer_start xfer_start;struct msg_xfer_cont xfer_cont;struct msg_status_req status_req;struct msg_status_rep status_rep;struct msg_wipe_partition wipe_partition;uint8_t pad[62];}  )
PACK ( struct bl_messages{uint8_t flags_command;union msg_contents v;}  )
int UpgradeAssistantDialog::PromptUser ( QString  promptText,
QString  detailText,
QStringList  buttonText 
)

Definition at line 78 of file upgradeassistantdialog.cpp.

int DFUObject::ResetDevice ( void  )

Resets the device

Definition at line 309 of file tl_dfu.cpp.

void DFUObject::run ( )
protected

Runs the upload or download operations.

Definition at line 191 of file tl_dfu.cpp.

void UpgradeAssistantDialog::setOperatingMode ( bool  upgradingBootloader,
bool  blankFC 
)

Definition at line 67 of file upgradeassistantdialog.cpp.

UpgradeAssistantDialog::UpgradeAssistantDialog ( QWidget *  parent = nullptr)
explicit

Definition at line 37 of file upgradeassistantdialog.cpp.

uploader::UploaderGadget::UploaderGadget ( QString  classId,
UploaderGadgetWidget widget,
QWidget *  parent = nullptr 
)

Definition at line 31 of file uploadergadget.cpp.

UploaderGadgetFactory::UploaderGadgetFactory ( QObject *  parent = nullptr)

Definition at line 35 of file uploadergadgetfactory.cpp.

UploaderGadgetWidget::UploaderGadgetWidget ( QWidget *  parent = nullptr)

Class constructor, sets signal to slot connections, creates actions, creates utility classes instances, etc.

Definition at line 58 of file uploadergadgetwidget.cpp.

bool DFUObject::UploadPartitionThreaded ( QByteArray &  sourceArray,
dfu_partition_label  partition,
int  size 
)

Asynchronously uploads a partition to the board

Parameters
sourceArrayarray containing the data to upload
partitiondestination partition
sizesize of the data to upload
Returns
status of the board after upload

Definition at line 542 of file tl_dfu.cpp.

QWidget* uploader::UploaderGadget::widget ( )
inlinevirtual

Implements Core::IUAVGadget.

Definition at line 50 of file uploadergadget.h.

bool DFUObject::WipePartition ( dfu_partition_label  partition)

Wipes a partition

Parameters
partitionnumber of the partition to wipe

Definition at line 179 of file tl_dfu.cpp.

DFUObject::~DFUObject ( )

Definition at line 52 of file tl_dfu.cpp.

UpgradeAssistantDialog::~UpgradeAssistantDialog ( )

Definition at line 62 of file upgradeassistantdialog.cpp.

uploader::UploaderGadget::~UploaderGadget ( )

Definition at line 37 of file uploadergadget.cpp.

UploaderGadgetFactory::~UploaderGadgetFactory ( )

Definition at line 41 of file uploadergadgetfactory.cpp.

UploaderGadgetWidget::~UploaderGadgetWidget ( )

Class destructor, nothing needs to be destructed ATM.

Definition at line 170 of file uploadergadgetwidget.cpp.

Variable Documentation

quint32 tl_dfu::DFUObject::statusReport::additional

Definition at line 89 of file tl_dfu.h.

uint32_t msg_status_rep::additional_state

Definition at line 190 of file bl_messages.h.

quint8 tl_dfu::device::BL_Version

Definition at line 66 of file tl_dfu.h.

uint8_t msg_capabilities_rep_specific::bl_version

Definition at line 128 of file bl_messages.h.

uint8_t msg_capabilities_rep_specific::board_rev

Definition at line 130 of file bl_messages.h.

uint16_t msg_capabilities_rep_specific::cap_extension_magic

Definition at line 136 of file bl_messages.h.

bool tl_dfu::device::CapExt

Definition at line 73 of file tl_dfu.h.

uint32_t msg_xfer_cont::current_packet_number

Definition at line 179 of file bl_messages.h.

uint8_t msg_status_rep::current_state

Definition at line 191 of file bl_messages.h.

uint8_t msg_xfer_cont::data[XFER_BYTES_PER_PACKET]

Definition at line 180 of file bl_messages.h.

uint8_t msg_capabilities_rep_specific::desc_size

Definition at line 129 of file bl_messages.h.

uint16_t msg_capabilities_rep_specific::device_id

Definition at line 132 of file bl_messages.h.

uint8_t msg_capabilities_req::device_number

Definition at line 114 of file bl_messages.h.

uint8_t msg_capabilities_rep_specific::device_number

Definition at line 127 of file bl_messages.h.

uint8_t msg_enter_dfu::device_number

Definition at line 144 of file bl_messages.h.

quint32 tl_dfu::device::FW_CRC

Definition at line 65 of file tl_dfu.h.

uint32_t msg_capabilities_rep_specific::fw_crc

Definition at line 131 of file bl_messages.h.

uint32_t msg_capabilities_rep_specific::fw_size

Definition at line 126 of file bl_messages.h.

int tl_dfu::device::HW_Rev

Definition at line 72 of file tl_dfu.h.

quint16 tl_dfu::device::ID

Definition at line 64 of file tl_dfu.h.

uint8_t msg_wipe_partition::label

Definition at line 196 of file bl_messages.h.

quint8 tl_dfu::DFUObject::messagePackets::lastPacketCount

Definition at line 83 of file tl_dfu.h.

uint16_t msg_capabilities_rep_all::number_of_devices

Definition at line 120 of file bl_messages.h.

quint32 tl_dfu::DFUObject::messagePackets::numberOfPackets

Definition at line 82 of file tl_dfu.h.

int tl_dfu::DFUObject::messagePackets::pad

Definition at line 84 of file tl_dfu.h.

quint32 tl_dfu::DFUObject::ThreadJobStruc::partition_size

Definition at line 151 of file tl_dfu.h.

uint32_t msg_capabilities_rep_specific::partition_sizes[10]

Definition at line 137 of file bl_messages.h.

QVector<quint32> tl_dfu::device::PartitionSizes

Definition at line 71 of file tl_dfu.h.

bool tl_dfu::device::Readable

Definition at line 69 of file tl_dfu.h.

Actions tl_dfu::DFUObject::ThreadJobStruc::requestedOperation

Definition at line 152 of file tl_dfu.h.

qint32 tl_dfu::DFUObject::ThreadJobStruc::requestSize

Definition at line 148 of file tl_dfu.h.

QByteArray* tl_dfu::DFUObject::ThreadJobStruc::requestStorage

Definition at line 150 of file tl_dfu.h.

dfu_partition_label tl_dfu::DFUObject::ThreadJobStruc::requestTransferType

Definition at line 149 of file tl_dfu.h.

uint16_t msg_jump_fw::safe_word

Definition at line 151 of file bl_messages.h.

quint32 tl_dfu::device::SizeOfCode

Definition at line 68 of file tl_dfu.h.

int tl_dfu::device::SizeOfDesc

Definition at line 67 of file tl_dfu.h.

tl_dfu::Status tl_dfu::DFUObject::statusReport::status

Definition at line 90 of file tl_dfu.h.

uint8_t msg_capabilities_req::unused[4]

Definition at line 113 of file bl_messages.h.

uint8_t msg_capabilities_rep_all::unused[4]

Definition at line 119 of file bl_messages.h.

uint8_t msg_enter_dfu::unused[4]

Definition at line 143 of file bl_messages.h.

uint8_t msg_jump_fw::unused[4]

Definition at line 149 of file bl_messages.h.

uint8_t msg_jump_fw::unused2[2]

Definition at line 150 of file bl_messages.h.

uint16_t msg_capabilities_rep_all::wrflags

Definition at line 121 of file bl_messages.h.

bool tl_dfu::device::Writable

Definition at line 70 of file tl_dfu.h.

Signals

void tl_dfu::DFUObject::downloadFinished ( bool  )
signal
void uploader::UploaderGadgetWidget::enteredLoader ( )
signal
void uploader::UploaderGadgetFactory::newBoardSeen ( deviceInfo  board,
deviceDescriptorStruct  device 
)
signal
void uploader::UploaderGadgetWidget::newBoardSeen ( deviceInfo  board,
deviceDescriptorStruct  device 
)
signal
void tl_dfu::DFUObject::operationProgress ( QString  status,
int  progress 
)
signal
void tl_dfu::DFUObject::uploadFinished ( tl_dfu::Status  )
signal

Public Slots

device DFUObject::findCapabilities ( )
slot

Ask the bootloader for the current device characteristics

Definition at line 400 of file tl_dfu.cpp.

QString DFUObject::partitionStringFromLabel ( dfu_partition_label  label)
slot

Converts a partition enum label to string

Parameters
labelpartition label enum value
Returns
partition string representation

Definition at line 794 of file tl_dfu.cpp.