Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceDB ¶
type DeviceDB interface { CheckDB() errors.Error Close() errors.Error GetProduct(deviceID string, fw *dto.FirmwareVersion) (*dto.Device, errors.Error) GetPeripheralProduct(peripheralID string, parentProductID int) (*dto.Device, errors.Error) GetConversionTable(productID int) (*dto.ConversionTable, errors.Error) GetCommandTree(productID int, mod Modified) (*dto.CommandNode, errors.Error) GetSettingsTable(productID int, mod Modified) (*dto.SettingsTable, errors.Error) GetBinarySettingsTable(productID int) (*dto.BinarySettingsTable, errors.Error) GetBinaryCommandsTable(productID int) (*dto.BinaryCommandsTable, errors.Error) GetBinaryRepliesTable(productID int) (*dto.BinaryRepliesTable, errors.Error) GetCapabilities(productID int, mod Modified) ([]string, errors.Error) GetSupportedPeripherals(productID int) ([]*dto.SupportedPeripheral, errors.Error) GetDefaultSettings(productID int) (map[string]string, errors.Error) GetServoTuningInfo(productID int) (*dto.ServoTuningInfo, errors.Error) GetSaveRestoreVersion(productID int) (int, errors.Error) GetFileChecksum() (string, errors.Error) SearchProduct(query *api.ProductSearchQuery) (*dto.FoundProducts, errors.Error) }
func NewDeviceDB ¶
Click to show internal directories.
Click to hide internal directories.