DeviceMethodParams interface

Describes the parameters that are available for use with direct methods (also called device methods)

Properties

connectTimeoutInSeconds

The maximum time the service should try to connect to the device before declaring the device is unreachable.

methodName

The name of the method to call on the device.

payload

The method payload that will be sent to the device.

responseTimeoutInSeconds

The maximum time a device should take to respond to the method.

Property Details

connectTimeoutInSeconds

The maximum time the service should try to connect to the device before declaring the device is unreachable.

connectTimeoutInSeconds?: number

Property Value

number

methodName

The name of the method to call on the device.

methodName: string

Property Value

string

payload

The method payload that will be sent to the device.

payload?: any

Property Value

any

responseTimeoutInSeconds

The maximum time a device should take to respond to the method.

responseTimeoutInSeconds?: number

Property Value

number