mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Device: Add get_pcb_serial() & get_mac_address()
This commit is contained in:
committed by
Kyle Schwarz
parent
87e2a65b71
commit
6f2ad54adc
@@ -178,6 +178,8 @@ public:
|
||||
DeviceType getType() const { return DeviceType(data.type); }
|
||||
std::string getSerial() const { return data.serial; }
|
||||
uint32_t getSerialNumber() const { return Device::SerialStringToNum(getSerial()); }
|
||||
std::optional<std::vector<uint8_t>> getPCBSerial();
|
||||
std::optional<std::vector<uint8_t>> getMACAddress();
|
||||
const neodevice_t& getNeoDevice() const { return data; }
|
||||
virtual std::string getProductName() const { return getType().getGenericProductName(); }
|
||||
std::string describe() const;
|
||||
|
||||
Reference in New Issue
Block a user