Interface IWizLightOptions

interface IWizLightOptions {
    port?: number;
    retryTimes?: number;
    statusCheckTimeout?: number;
}

Properties

port?: number

Port number; Default is 38899

retryTimes?: number

Number of times we should retry a request in case of a failure. Default is 5

statusCheckTimeout?: number

As all the communication happens over UDP, there is no direct response to the request. We have to wait for some time to receive a message from the device to know if the request was served or not, post that time the request is considered as failed and retry mechanism kicks in.

This represents the time that we should wait before retrying. Default is 1000ms