uds.utilities.constants.other

Other constants used in the project.

Attributes

REPEATED_DATA_RECORDS_NUMBER

NO_YES_MAPPING

Generic no and yes values mapping.

COMPRESSION_METHOD_MAPPING

Values mapping for compressionMethod Data Record that is part of messages for multiple services.

ENCRYPTION_METHOD_MAPPING

Values mapping for encryptingMethod Data Record that is part of messages for multiple services.

POWER_DOWN_TIME_MAPPING

Values mapping for powerDownTime Data Record that is part of

EXPONENT_BIT_LENGTH

Number of bits used for constant's exponent value by

MANTISSA_BIT_LENGTH

Number of bits used for constant's mantissa value by

SCALING_BYTE_TYPE_MAPPING

Values mapping for (scalingByte) type Data Record that is part of

FORMULA_IDENTIFIER_MAPPING

Values mapping for formulaIdentifier Data Record that is part of

UNIT_OR_FORMAT_MAPPING

Values mapping for unit/format Data Record that is part of

STATE_AND_CONNECTION_TYPE_TYPE_MAPPING

Values mapping for (stateAndConnectionType) type Data Record that is part of

STATE_AND_CONNECTION_TYPE_DIRECTION_MAPPING

Values mapping for (stateAndConnectionType) direction Data Record that is part of

STATE_AND_CONNECTION_TYPE_LEVEL_MAPPING

Values mapping for (stateAndConnectionType) level Data Record that is part of

STATE_AND_CONNECTION_TYPE_STATE_MAPPING

Values mapping for (stateAndConnectionType) state Data Record that is part of

MESSAGE_TYPE_MAPPING

Values mapping for messagesType Data Record that is part of

NETWORKS_MAPPING

Values mapping for networks Data Record that is part of

NODE_IDENTIFICATION_NUMBER_MAPPING

Values mapping for nodeIdentificationNumber Data Record that is part of

AUTHENTICATION_RETURN_PARAMETER_MAPPING

Values mapping for authenticationReturnParameter Data Record that is part of

TRANSMISSION_MODE_MAPPING

Values mapping for transmissionMode Data Record that is part of

INPUT_OUTPUT_CONTROL_PARAMETER_MAPPING

Values mapping for inputOutputControlParameter Data Record that is part of

MODE_OF_OPERATION_MAPPING_2020

Values mapping for modeOfOperation Data Record (compatible with ISO 14229-1:2020) that is part of

MODE_OF_OPERATION_MAPPING_2013

Values mapping for modeOfOperation Data Record (compatible with ISO 14229-1:2013) that is part of

EVENT_WINDOW_TIME_MAPPING_2020

Values mapping for eventWindowTime Data Record (compatible with ISO 14229-1:2020) that is part of

EVENT_WINDOW_TIME_MAPPING_2013

Values mapping for eventWindowTime Data Record (compatible with ISO 14229-1:2013) that is part of

COMPARISON_LOGIC_MAPPING

Values mapping for Comparison logic Data Record that is part of

COMPARE_SIGN_MAPPING

Values mapping for Compare Sign Data Record that is part of

TIMER_SCHEDULE_MAPPING_2013

Values mapping for Timer schedule Data Record (compatible with ISO 14229-1:2013) that is part of

LINK_CONTROL_MODE_IDENTIFIER_MAPPING

Values mapping for linkControlModeIdentifier Data Record that is part of

Module Contents

uds.utilities.constants.other.REPEATED_DATA_RECORDS_NUMBER: int = 100
uds.utilities.constants.other.NO_YES_MAPPING: Dict[int, str]

Generic no and yes values mapping.

uds.utilities.constants.other.COMPRESSION_METHOD_MAPPING: Dict[int, str]

Values mapping for compressionMethod Data Record that is part of messages for multiple services.

uds.utilities.constants.other.ENCRYPTION_METHOD_MAPPING: Dict[int, str]

Values mapping for encryptingMethod Data Record that is part of messages for multiple services.

uds.utilities.constants.other.POWER_DOWN_TIME_MAPPING: Dict[int, str]

Values mapping for powerDownTime Data Record that is part of ECUReset message.

uds.utilities.constants.other.EXPONENT_BIT_LENGTH: int = 4

Number of bits used for constant’s exponent value by ReadScalingDataByIdentifier service

uds.utilities.constants.other.MANTISSA_BIT_LENGTH: int = 12

Number of bits used for constant’s mantissa value by ReadScalingDataByIdentifier service

uds.utilities.constants.other.SCALING_BYTE_TYPE_MAPPING: Dict[int, str]

Values mapping for (scalingByte) type Data Record that is part of ReadScalingDataByIdentifier message.

uds.utilities.constants.other.FORMULA_IDENTIFIER_MAPPING: Dict[int, str]

Values mapping for formulaIdentifier Data Record that is part of ReadScalingDataByIdentifier message.

uds.utilities.constants.other.UNIT_OR_FORMAT_MAPPING: Dict[int, str]

Values mapping for unit/format Data Record that is part of ReadScalingDataByIdentifier message.

uds.utilities.constants.other.STATE_AND_CONNECTION_TYPE_TYPE_MAPPING: Dict[int, str]

Values mapping for (stateAndConnectionType) type Data Record that is part of ReadScalingDataByIdentifier message.

uds.utilities.constants.other.STATE_AND_CONNECTION_TYPE_DIRECTION_MAPPING: Dict[int, str]

Values mapping for (stateAndConnectionType) direction Data Record that is part of ReadScalingDataByIdentifier message.

uds.utilities.constants.other.STATE_AND_CONNECTION_TYPE_LEVEL_MAPPING: Dict[int, str]

Values mapping for (stateAndConnectionType) level Data Record that is part of ReadScalingDataByIdentifier message.

uds.utilities.constants.other.STATE_AND_CONNECTION_TYPE_STATE_MAPPING: Dict[int, str]

Values mapping for (stateAndConnectionType) state Data Record that is part of ReadScalingDataByIdentifier message.

uds.utilities.constants.other.MESSAGE_TYPE_MAPPING: Dict[int, str]

Values mapping for messagesType Data Record that is part of CommunicationControl message.

uds.utilities.constants.other.NETWORKS_MAPPING: Dict[int, str]

Values mapping for networks Data Record that is part of CommunicationControl message.

uds.utilities.constants.other.NODE_IDENTIFICATION_NUMBER_MAPPING: Dict[int, str]

Values mapping for nodeIdentificationNumber Data Record that is part of CommunicationControl message.

uds.utilities.constants.other.AUTHENTICATION_RETURN_PARAMETER_MAPPING: Dict[int, str]

Values mapping for authenticationReturnParameter Data Record that is part of Authentication message.

uds.utilities.constants.other.TRANSMISSION_MODE_MAPPING: Dict[int, str]

Values mapping for transmissionMode Data Record that is part of ReadDataByPeriodicIdentifier message.

uds.utilities.constants.other.INPUT_OUTPUT_CONTROL_PARAMETER_MAPPING: Dict[int, str]

Values mapping for inputOutputControlParameter Data Record that is part of InputOutputControlByIdentifier message.

uds.utilities.constants.other.MODE_OF_OPERATION_MAPPING_2020: Dict[int, str]

Values mapping for modeOfOperation Data Record (compatible with ISO 14229-1:2020) that is part of RequestFileTransfer message.

uds.utilities.constants.other.MODE_OF_OPERATION_MAPPING_2013: Dict[int, str]

Values mapping for modeOfOperation Data Record (compatible with ISO 14229-1:2013) that is part of RequestFileTransfer message.

uds.utilities.constants.other.EVENT_WINDOW_TIME_MAPPING_2020: Dict[int, str]

Values mapping for eventWindowTime Data Record (compatible with ISO 14229-1:2020) that is part of ResponseOnEvent message.

uds.utilities.constants.other.EVENT_WINDOW_TIME_MAPPING_2013: Dict[int, str]

Values mapping for eventWindowTime Data Record (compatible with ISO 14229-1:2013) that is part of ResponseOnEvent message.

uds.utilities.constants.other.COMPARISON_LOGIC_MAPPING: Dict[int, str]

Values mapping for Comparison logic Data Record that is part of ResponseOnEvent message.

uds.utilities.constants.other.COMPARE_SIGN_MAPPING: Dict[int, str]

Values mapping for Compare Sign Data Record that is part of ResponseOnEvent message.

uds.utilities.constants.other.TIMER_SCHEDULE_MAPPING_2013: Dict[int, str]

Values mapping for Timer schedule Data Record (compatible with ISO 14229-1:2013) that is part of ResponseOnEvent message.

Values mapping for linkControlModeIdentifier Data Record that is part of LinkControl message.