Services

<< Click to Display Table of Contents >>

Navigation:  Protocols > SOME/IP >

Services

All services inside SOME/IP Configuration are organized in 2 kinds:

Server Services: Services which can process requests, send events and execute methods.
CanEasy can simulate such services and provide access to them over network.

Client Service: CanEasy can be as client for such services which are somewhere in the network.

 

Every service must be configured before using.

Property

Example

Description

Active

True

(Readonly)

True – shows that service is activated and can handle requests.

AutoFindService

True

(Client Services only)

True – sending FIND requests is allowed.

AutoOfferMulticast

True

(Server Services only)

True – sending OFFER requests is allowed.

Cipher

PSK-NULL-SHA256

Type of chiper from openSSL for dTLS.

PSK-AES128-GCM-SHA256

PSK-NULL-SHA256

ClientIP

10.0.0.1

(Readonly, Server Services only)

Shows IP address of connected client.

ClientPort

40001

(Client Services)

Incoming port for receiving responses from remote services.  0 means port will be assigned automatically, recommended.

CycleTime

1000

Time period for sending FIND/OFFER in Main Phase, milliseconds

DTLS

False

True - use dTLS for secured service transmission.

InitialDelayMax

0

Maximum delay before sending FIND/OFFER in initial wait phase (in milliseconds).

InitialDelayMin

100

Minimum delay before sending FIND/OFFER in initial wait phase (in milliseconds).

InstanceId

0x1

Instance Id of service.

MajorVersion

0x0

Major version of service.

PSKFile

c:\mykey.psk

Path PSK key file, or key value

PSKIdentity

keyIdentity

Identity for PSK Key

MinorVersion

0x0

Minor version of service.

Protocol

UDP

Network protocol for this service.

RepetitionBaseDelay

0

Base delay for repetition phase (in milliseconds).

RepetitionsMax

0

Number of FIND/OFFER messages in repetition phase.

ServerIP

10.0.0.1

(Readonly, Client Services only)

Shows IP address of remote service.

ServerPort

35001

(Server Services)

Defines port for incoming connections.

 

(Client Services)

Shows the remote port of the server when the service discovery has found the service.

ServiceId

0x100

Identifier of the service.

SimulationActive

True

To enable/disable service. (Same feature is available in context menu.)

TTL

16777215

Service TTL for service discovery.

 

SomeIPService Events

 

Event

Description

OnServiceFound

The event occurs when the service found. The parameter contains information about the service.

OnServiceLost

The event occurs when the service gets lost. The parameter contains information about the service.