Fields

<< Click to Display Table of Contents >>

Navigation:  Protocols > SOME/IP >

Fields

 

Service can have unlimited number of fields. Fields can have as simple type (e.g integer/string/…) as nested structures/arrays.  

Client Services:  fields contain data which was received from remote services.

Server Services: fields contain data which can be requested by clients.

 

 

During simulation, field can be requested/sent in context menu.

Field properties:

 

Property

Example

Description

CycleTime

1000

(TransmissionMode is Cyclic or CyclicSpontan)

 

Client Services:

Period of time to request field periodically. (calling getter)

 

Server Services:

Period of time to fire event periodically.

SetterId

0x101

Id of setter.

GetterId

0x102

Id of getter.

Reference

Events/MyEvent1

Relative reference to event.

TransmissionMode

Cyclic

Mode of requesting/sending field.

Data

00 22 33

Data of the field.

 

SomeIPField Events

 

Event

Description

OnChanged

The event occurs when the field is changed.

OnLocalReading

Occurs when a local field has been reading.

OnLocalWriting

Occurs when a local field has been writing.

 

Methods

 

Name

Description

ReadAsync

Calling Getter for the remote field

WriteAsync

Calling Setter for the remote field