|
| DFU (libusb_device_handle *device) |
|
auto | SetAddress (const uint32_t &) const -> void |
|
auto | Erase (const uint32_t &) const -> void |
|
auto | Download (const std::vector< uint8_t > &, const uint16_t &wValue=0) const -> void |
|
auto | Upload (const uint16_t &, const uint8_t &wValue=0) const -> std::vector< uint8_t > |
|
auto | Get () const -> std::vector< uint8_t > |
|
auto | ReadUnprotected () const -> void |
|
auto | GetState () const -> DFUState |
|
auto | GetStatus () const -> const DFUStatusReport |
|
auto | Abort () const -> void |
|
auto | Detach () const -> void |
|
Definition at line 231 of file dfu.hpp.
◆ DFU()
radio_tool::dfu::DFU::DFU |
( |
libusb_device_handle * |
device | ) |
|
|
inline |
◆ Abort()
auto DFU::Abort |
( |
| ) |
const -> void |
◆ CheckDevice()
auto DFU::CheckDevice |
( |
| ) |
const -> void |
|
protected |
◆ Detach()
auto DFU::Detach |
( |
| ) |
const -> void |
◆ Download()
auto DFU::Download |
( |
const std::vector< uint8_t > & |
data, |
|
|
const uint16_t & |
wValue = 0 |
|
) |
| const -> void |
◆ Erase()
auto DFU::Erase |
( |
const uint32_t & |
addr | ) |
const -> void |
◆ GetState()
auto DFU::GetState |
( |
| ) |
const -> DFUState |
◆ GetStatus()
◆ InitDownload()
auto DFU::InitDownload |
( |
| ) |
const -> void |
|
protected |
Ensures the state is DFU_IDLE or DFU_DNLOAD_IDLE
Definition at line 157 of file dfu.cpp.
◆ InitUpload()
auto DFU::InitUpload |
( |
| ) |
const -> void |
|
protected |
Ensures the state is DFU_IDLE or DFU_DPLOAD_IDLE
Definition at line 177 of file dfu.cpp.
◆ SetAddress()
auto DFU::SetAddress |
( |
const uint32_t & |
addr | ) |
const -> void |
◆ Upload()
auto DFU::Upload |
( |
const uint16_t & |
size, |
|
|
const uint8_t & |
wValue = 0 |
|
) |
| const -> std::vector<uint8_t> |
◆ device
libusb_device_handle* radio_tool::dfu::DFU::device |
|
protected |
◆ timeout
const uint16_t radio_tool::dfu::DFU::timeout |
|
protected |
The documentation for this class was generated from the following files: