Field

Summary

Represents a SOME/IP Field.

Methods
Properties

Structure

class Field
get_bit_position() int32

Retrieves the bit position of the current parameter.

Returns

Bit position of the parameter.

Return type

int32

get_length() int32

Retrieves the length of the current parameter.

Returns

Length of the parameter.

Return type

int32

set_length(p0: int32)

Sets the length of the parameter data.

Parameters

p0 (int32) – Desired length.

set_payload_offset(payloadOffset: int32)

Sets the offset of the payload.

Parameters

payloadOffset (int32) – Payload offset.

application_cycle

represents the application cycle.

Type

decimal or None

arrays

List of arrays that are part of the parameter. A parameter can have a list of arrays, each o them defined by a dimension, a number of elements, the field_size (if it’s dynamic) and a type of elements. To determine the size of the array a length parameter, which counts the bytes of the array, added during the serialization process.

Type

Array[ArrayDefinition]

base_type
String used in the Fibex database to specify the basic data type.

It can be one of the following values: bool uint8 uint8 uint16 uint32 uint64 int8 int16 int32 int64 float32 float64 string struct union typedef

Type

str

basic_partial_network

Extract from the database a list of the basic partial network vehicle state

Type

Array[str]

bit_length

Static length of the declared data type. It represents the bit length used to encode the parameter. It could be, for example, a byte coded parameter but coded only on 2 bits.

Type

int32

compu_methods

Represent the method to calculate the transmitted value to the physical representation.

Type

List[ICompuMethod]

description

A description of the object.

Type

str

e2e

Configuration of End-to-End Communication Protection

Type

IE2EInformation

enumeration_elements

Dictionary containing enum values and keys if the parameter is an enumeration object.

Type

Dictionary[str, str]

functional_partial_network

Extract from the database a list of the functional partial network vehicle state on

Type

Array[str]

getter_id

Identifier of the getter associated with the field. A getter is a request/response call that allows read access to a field.

Type

uint16

getter_timing

Represents the timing manufacturer extension of the getter.

Type

IManufacturerMethodExtension

getter_tp

Configuation of SOMEIP-TP message of a getter field

Type

SomeIpTP

id_string

The id of the Field in string format.

Type

str

identifier

It is the first 16bits of the Sequence Identifier field. This file is used to help match echo requests with the associated reply. It identifies the first byte of the data that is stored in the data portion of the segment.

Type

uint16

is_array

True if the parameter is of type array. False otherwise.

Type

bool

is_complex

True if the parameter has a dynamic length. False otherwise.

Type

bool

is_enum

True if the parameter is an enumeration. False otherwise.

Type

bool

is_high_low_bit_order

True if the bytes are stored in big endian format. False if they are stored using little endian encoding.

Type

bool or None

length_field_size

The optional size of a leading length parameter of a data type.

Type

uint32 or None

mandatory

True if the parameter is mandatory, False if not.

Type

bool

manufacturer_extension

The manufacturer extensions.

Type

IManufacturerParameterExtension

max_bit_length

Dynamic length of the declared datatype in the datatype-declaration. It represents the maximum bit length used to encode the parameter.

Type

uint32 or None

members

List of members or parts of the parameter if its type is complex. Each member is a parameter and, as such, it contains the same properties the parameter objects have.

Type

Array[Parameter]

min_bit_length

Dynamic length of the declared datatype in the datatype-declaration. It represents the mininum bit length used to encode the parameter.

Type

uint32 or None

name

Name of the parameter object.

Type

str

notifier_id

Identifier of the notifier associated with the field. A notifier is an element in charge of sending out event messages every time the value of a field changes.

Type

uint16

notifier_timing

Represents the timing manufacturer extension of the notifier.

Type

IManufacturerMethodExtension

notifier_tp

Configuation of SOMEIP-TP message of a notifier field

Type

SomeIpTP

position

Position of the complex data type member within the complex datatype.

Type

int32

service_parent

Service to which the Field belongs.

Type

IServiceInterface

service_parent_identifier

The identifier of the service to which the Field belongs.

Type

uint16

setter_id

Identifier of the setter associated with the field. A setter is a request/response call that allows to write access to a field.

Type

uint16

setter_timing

Represents the timing manufacturer extension of the setter.

Type

IManufacturerMethodExtension

setter_tp

Configuation of SOMEIP-TP message of a setter field

Type

SomeIpTP

signal

Subordinated signal.

Type

ISignal

string_bom

Defines whether a BOM is present in a string (EXPLICIT) or not (NONE).

Type

bool

string_encoding
Specifying the data encoding if not defined by the data type.

It can be one of the following values: utf-8, utf-16, iso-8859-1, iso-8859-2, windows-1252.

Type

str

string_termination

Specifying the termination used. It can be one of the following value: NONE, ZERO

Type

char or None

tag_id

Identifier of the tag field.

Type

uint16 or None

type_field_size

The optional size of a type field of a data type. Applies for complex union data types.

Type

uint32 or None

uuid

The UUID of the parameter object.

Type

str