For sending TCP commands using DeviceManager.send API.

Implements

Implemented by

Index

Properties

Optional bytesToRead

bytesToRead: undefined | number

For read requests, number of expected bytes

data

data: string

Payload sent to the target device

deviceId

deviceId: string

Device ID of the target device.

Optional hostname

hostname: undefined | string

Hostname on the target device

isSecure

isSecure: boolean

True to enable TLS for this request

operation

operation: TcpOperation

TCP operation to perform

port

port: number

Port number on the target device

protocol

protocol: Protocol

Protocol to use when sending this command

requestId

requestId: string

Request ID from the associated EXECUTE intent.