Methods

<< Click to Display Table of Contents >>

Navigation:  Protocols > SOME/IP >

Methods

 

CanEasy allows to describe input/output arguments (request/response) for every method.

Input/Output arguments can have as difficult/deep structure as fields.  

 

Client Services:

The request contains data which will be sent when the method will be executed.

The response shows return value after execution.

 

Server Services:  

The request shows data from received requests.

The response shows the last response.

Method can be executed during simulation by context menu.

 

Property

Example

Description

ClientId

0x1

(Readonly)

Shows Client Id of the last request or response

CycleTime

1000

(Client Services only)

Method can be execution periodically with CycleTime, milliseconds

LastResponse

 

Unused

MethodId

0x456

Unique Id of the method

ResponseCode

45

Shows the last response code from request or response

SessionId

0x2

(Readonly)

Client Services: shows the last incoming session id

Server Services: shows the last outgoing

 

 

SomeIPMethod Events

 

Event

Description

OnLocalExecuting

(Server services only)

Occurs when a local method is executing. You can do something and return the result in response.

OnRemoteExecuted

(Client services only)

Occurs when a remote method is executing.

 

 

SomeIPMethod Methods

 

Method

Description

ReadAsync

Calling Getter for the remote field.

WriteAsync

Calling Setter for the remote field.