Common fields for building outbound SOME/IP messages from scripts.

  • channel: key of the SOME/IP device in the project devices map (same id used internally for someipMap). If your node has exactly one SOME/IP channel attached, you may omit channel and the runtime picks it.
  • service / instance / method: numeric IDs (typically parsed from hex in ARXML / FIDL; pass as numbers).
  • major / minor: used by request_service for request-style operations on the main side.
interface SomeipScriptSendBase {
    channel?: string;
    instance: number;
    interfaceVersion?: number;
    major?: number;
    method: number;
    minor?: number;
    payload?: SomeipScriptPayload;
    protocolVersion?: number;
    reliable?: boolean;
    returnCode?: number;
    service: number;
}

Properties

channel?: string

SOME/IP device id when multiple SOME/IP stacks are available to the script node.

instance: number

Service instance identifier.

interfaceVersion?: number

Interface major version byte; default 0 unless your service defines otherwise.

major?: number

Service major version for request_service (request / request-no-return paths).

method: number

Method or event id (SOME/IP “Method ID” field).

minor?: number

Service minor version for request_service.

Optional payload; normalized with toPayloadBuffer before send.

protocolVersion?: number

SOME/IP protocol version byte; default 1.

reliable?: boolean

Prefer reliable (TCP) vs unreliable (UDP) when the stack supports both.

returnCode?: number

Return code field on the SOME/IP header when applicable.

service: number

SOME/IP service identifier.