radio_tool 0.2.1
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
radio_tool::h8sx::H8SX Class Reference
Collaboration diagram for radio_tool::h8sx::H8SX:
Collaboration graph

Public Member Functions

 H8SX (libusb_device_handle *device)
 
auto Init () const -> void
 
auto IdentifyDevice () const -> std::string
 
auto Download (const std::vector< uint8_t > &) const -> void
 

Protected Member Functions

auto CheckDevice () const -> void
 
auto InitDownload () const -> void
 
auto InitUpload () const -> void
 

Protected Attributes

const uint16_t timeout
 
libusb_device_handle * device
 
struct dev_inq_hdr_t * dir
 

Detailed Description

Definition at line 150 of file h8sx.hpp.

Constructor & Destructor Documentation

◆ H8SX()

radio_tool::h8sx::H8SX::H8SX ( libusb_device_handle *  device)
inline

Definition at line 153 of file h8sx.hpp.

Member Function Documentation

◆ CheckDevice()

auto H8SX::CheckDevice ( ) const -> void
protected

Definition at line 403 of file h8sx.cpp.

◆ Download()

auto H8SX::Download ( const std::vector< uint8_t > &  data) const -> void

Definition at line 102 of file h8sx.cpp.

◆ IdentifyDevice()

auto H8SX::IdentifyDevice ( ) const -> std::string

Definition at line 34 of file h8sx.cpp.

◆ Init()

auto H8SX::Init ( ) const -> void

Definition at line 375 of file h8sx.cpp.

◆ InitDownload()

auto H8SX::InitDownload ( ) const -> void
protected

Ensures the state is H8SX_IDLE or H8SX_DNLOAD_IDLE

Definition at line 188 of file h8sx.cpp.

◆ InitUpload()

auto radio_tool::h8sx::H8SX::InitUpload ( ) const -> void
protected

Ensures the state is H8SX_IDLE or H8SX_DPLOAD_IDLE

Member Data Documentation

◆ device

libusb_device_handle* radio_tool::h8sx::H8SX::device
protected

Definition at line 168 of file h8sx.hpp.

◆ dir

struct dev_inq_hdr_t* radio_tool::h8sx::H8SX::dir
protected

Definition at line 169 of file h8sx.hpp.

◆ timeout

const uint16_t radio_tool::h8sx::H8SX::timeout
protected

Definition at line 167 of file h8sx.hpp.


The documentation for this class was generated from the following files: