Search Results for

    Show / Hide Table of Contents

    Class LibraryOptions

    Configurable Library settings for compatibility with non-standard configurations.

    Inheritance
    System.Object
    LibraryOptions
    Namespace: PTIRelianceLib
    Assembly: PTIRelianceLib.dll
    Syntax
    public class LibraryOptions : object

    Properties

    | Improve this Doc View Source

    Default

    Returns the default library options for this library.

    Declaration
    public static LibraryOptions Default { get; }
    Property Value
    Type Description
    LibraryOptions

    Default library options

    | Improve this Doc View Source

    DockerLinuxStretch

    Returns the library options that work well for Debian Stretch Docker images

    Declaration
    public static LibraryOptions DockerLinuxStretch { get; }
    Property Value
    Type Description
    LibraryOptions

    Options comptaible with Linux Stretch Docker containers

    | Improve this Doc View Source

    HidCleanupDelayMs

    Gets or Sets the delay in milliseconds to block for after closing and cleaning up after an HID port. This primarily affects reboot calls during the flash update process. Default: 0 ms

    Declaration
    public int HidCleanupDelayMs { get; set; }
    Property Value
    Type Description
    System.Int32

    Integer delay in milliseconds

    | Improve this Doc View Source

    HidFlushStructuresOnEnumError

    When true, if HID enumeration returns no results, flush the HID data structures (effectively forcing a device event loop poll) and delay HidCleanupDelayMs ms before returning. This does not fix the current enumeration but the next call to enumeration will have fresh device data. This primarily affects reboot calls during the flash update process. Default: false

    Declaration
    public bool HidFlushStructuresOnEnumError { get; set; }
    Property Value
    Type Description
    System.Boolean

    Flag controls if Hid structures are cleaned on error

    | Improve this Doc View Source

    HidReconnectDelayMs

    Gets or Sets the delay in millisecond that is used during Hid reconnection attempts. For devices with slow/no device event loops this has no effect. Instead, set HidFlushStructuresOnEnumError to make sure that fresh HID devices are getting discovered on enumeration. Default: 1000

    Declaration
    public int HidReconnectDelayMs { get; set; }
    Property Value
    Type Description
    System.Int32

    Hid reconnect delay is ms

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 Pyramid Technologies
    Generated by DocFX