|
OpenHantek
|
Describes a device This is the central class to describe a hantek compatible DSO. It contains all usb information to find the device on the bus, references to the firmware as well as the user visible name and device specification. More...
#include <dsomodel.h>
Public Member Functions | |
| virtual void | applyRequirements (HantekDsoControl *) const =0 |
| This model may need to modify the HantekDsoControl class to work correctly. | |
| DSOModel (int id, long vendorID, long productID, long vendorIDnoFirmware, long productIDnoFirmware, const std::string &firmwareToken, const std::string &name, const Dso::ControlSpecification &&specification) | |
| const Dso::ControlSpecification * | spec () const |
| Return the device specifications. | |
Data Fields | |
| const int | ID |
| const long | vendorID |
| The USB vendor ID. | |
| const long | productID |
| The USB product ID. | |
| const long | vendorIDnoFirmware |
| The USB vendor ID if no firmware is flashed yet. | |
| const long | productIDnoFirmware |
| std::string | firmwareToken |
| std::string | name |
| User visible name. Does not need internationalisation/translation. | |
Protected Attributes | |
| Dso::ControlSpecification | specification |
Describes a device This is the central class to describe a hantek compatible DSO. It contains all usb information to find the device on the bus, references to the firmware as well as the user visible name and device specification.
| std::string DSOModel::firmwareToken |
Firmwares are compiled into the executable with a filename pattern of devicename-firmware.hex and devicename-loader.hex. The firmwareToken is the "devicename" of the pattern above.
| const long DSOModel::productIDnoFirmware |
The USB product ID if no firmware is flashed yet
1.8.14