20#include <radio_tool/radio/radio.hpp>
21#include <radio_tool/hid/tyt_hid.hpp>
33 auto ToString()
const ->
const std::string
override;
35 static auto SupportsDevice(
const libusb_device_descriptor& dev) ->
bool
37 if (dev.idVendor == hid::TYTHID::VID && dev.idProduct == hid::TYTHID::PID)
44 static auto Create(libusb_device_handle* h) ->
TYTSGLRadio*
50 auto checksum(std::vector<uint8_t>::const_iterator&& begin, std::vector<uint8_t>::const_iterator&& end)
const -> uint32_t;