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

Public Member Functions

 FirmwareSegment (const uint16_t &idx, const uint32_t &addr, const uint32_t &size, const std::vector< uint8_t >::const_iterator &begin, const std::vector< uint8_t >::const_iterator &end)
 

Public Attributes

const uint16_t index
 
const uint32_t address
 
const uint32_t size
 
const std::vector< uint8_t > data
 

Detailed Description

Definition at line 26 of file fw.hpp.

Constructor & Destructor Documentation

◆ FirmwareSegment()

radio_tool::fw::FirmwareSegment::FirmwareSegment ( const uint16_t &  idx,
const uint32_t &  addr,
const uint32_t &  size,
const std::vector< uint8_t >::const_iterator &  begin,
const std::vector< uint8_t >::const_iterator &  end 
)
inline

Definition at line 29 of file fw.hpp.

Member Data Documentation

◆ address

const uint32_t radio_tool::fw::FirmwareSegment::address

The address the segment should be written to on the device

Definition at line 42 of file fw.hpp.

◆ data

const std::vector<uint8_t> radio_tool::fw::FirmwareSegment::data

A copy of the data from the firwmare file

Definition at line 52 of file fw.hpp.

◆ index

const uint16_t radio_tool::fw::FirmwareSegment::index

Index of the segment

Definition at line 37 of file fw.hpp.

◆ size

const uint32_t radio_tool::fw::FirmwareSegment::size

The size of the data segment

Definition at line 47 of file fw.hpp.


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