ADS response for Read command

interface AdsReadResponse {
    error: boolean;
    errorCode: number;
    errorStr?: string;
    length: number;
    payload: Buffer;
}

Hierarchy (view full)

Properties

error: boolean

True if response has error (ADS or our own customer error)

errorCode: number

ADS error code (0 = no error, -1 = other than ADS error)

errorStr?: string

ADS error string

length: number

Data length

payload: Buffer

Response data