Send a REQUEST and await the matching RESPONSE or ERROR from the vSomeIP client in the main process.
Service / instance / method / payload and optional channel, versions, and request_service major/minor.
channel
request_service
Maximum wait time in milliseconds for the response (default 1000).
1000
The decoded SomeipMessage for the response (payload as Buffer).
Buffer
When the device is unknown, the service is unavailable, or the stack times out waiting for a reply.
Mirrors the UI / IPC path ipc-send-someip for REQUEST: performs request_service then sendRequestAndWaitResponse.
ipc-send-someip
REQUEST
sendRequestAndWaitResponse
const resp = await someipRequest( { service: 0x1234, instance: 1, method: 0x6001, payload: [0x01] }, 2000)console.log(resp.returnCode, resp.payload) Copy
const resp = await someipRequest( { service: 0x1234, instance: 1, method: 0x6001, payload: [0x01] }, 2000)console.log(resp.returnCode, resp.payload)
Send a REQUEST and await the matching RESPONSE or ERROR from the vSomeIP client in the main process.