Options for someipNotify.

SOME/IP notification carries event id in the header "Method ID" field. Use eventId for clarity; method is kept as a backward-compatible alias.

interface SomeipNotifyOpts {
    channel?: string;
    eventId: number;
    instance: number;
    interfaceVersion?: number;
    major?: number;
    minor?: number;
    payload?: SomeipScriptPayload;
    protocolVersion?: number;
    reliable?: boolean;
    returnCode?: number;
    service: number;
}

Hierarchy

Properties

channel?: string

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

eventId: number

Event id to publish (mapped to SOME/IP Method ID field).

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).

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.