AMS_HEADER_FLAG: {
    AMS_TCP_PORT_AMS_CMD: number;
    AMS_TCP_PORT_CLOSE: number;
    AMS_TCP_PORT_CONNECT: number;
    AMS_TCP_PORT_ROUTER_NOTE: number;
    GET_LOCAL_NETID: number;
    toString: ((value: number) => string);
} = ...

AMS header flag (AMS command)

Type declaration

  • AMS_TCP_PORT_AMS_CMD: number

    0x0000 - Used for ADS commands

  • AMS_TCP_PORT_CLOSE: number

    0x0001 - Port close command

  • AMS_TCP_PORT_CONNECT: number

    0x1000 - Port connect command

  • AMS_TCP_PORT_ROUTER_NOTE: number

    0x1001 - Router notification

  • GET_LOCAL_NETID: number

    0x1002 - Requests local AmsNetId

  • toString: ((value: number) => string)

    Returns the corresponding key as string by given value (number)

      • (value): string
      • Parameters

        • value: number

        Returns string