AMS header

interface AmsHeader {
    adsCommand: number;
    adsCommandStr: string;
    dataLength: number;
    error?: boolean;
    errorCode: number;
    errorStr?: string;
    invokeId: number;
    sourceAmsAddress: AmsAddress;
    stateFlags: number;
    stateFlagsStr: string;
    targetAmsAddress: AmsAddress;
}

Properties

adsCommand: number

ADS command as number

adsCommandStr: string

ADS command as enumerated string

dataLength: number

ADS data length

error?: boolean

True if error

errorCode: number

ADS error code

errorStr?: string

Error message as string

invokeId: number

Command invoke ID

sourceAmsAddress: AmsAddress

Source AmsNetId and port (sender)

stateFlags: number

ADS state flags as number (bits)

stateFlagsStr: string

ADS state flags as comma separated string

targetAmsAddress: AmsAddress

Target AmsNetId and port (receiver)