optris::sdk::pif::PifIdentity
Who the attached PIF is -- the PIF's answer to DeviceIdentity.
Deliberately separate from PifHardwareInfo, which is what it can do. Identity is the half an application can set; capability is derived from it and from the device.
Public attributes
kind
PifDeviceKind kind = PifDeviceKind::kNone
device_count
uint8_t device_count = 1
How many physical devices the flat channel space spans. Only a stackable PIF has more than one.
serial
std::string serial
firmware_version
uint16_t firmware_version = 0
The PIF's own firmware revision, or 0 when it is not reported.
Zero means "not reported", never "revision zero".
The number is asked for, on every camera -- an autonomous one (Xi 80, Xi 410, Xi 410MT, Xi 1M) and the rest of the family alike, because the PIF EEPROM those cameras read carries no firmware field and there is nowhere else for the number to come from. A camera whose firmware does not answer, or answers about a different PIF than the one the EEPROM describes, leaves this at 0.
Unverified on a PI camera. No PIF has been attached to one since the probe was written, so whether a PI's firmware answers the command at all is not yet known from hardware.
detection
PifDetection detection = PifDetection::kUnknown