uds.diagnostic_configuration.state ================================== .. py:module:: uds.diagnostic_configuration.state .. autoapi-nested-parse:: Implementation for diagnostic communication state. Classes ------- .. autoapisummary:: uds.diagnostic_configuration.state.State Module Contents --------------- .. py:class:: State(name, possible_values) States relevant for diagnostic communication. Typical states: - diagnostic session - unlocked Security Access level - Authentication status - vehicle speed - engine status (ON/OFF) Define a state. :param name: Name of the state. :param possible_values: All potential values that can be assigned to a state. .. py:property:: name :type: str Get state name. .. py:property:: possible_values :type: FrozenSet[Any] Get set with all values that can be assigned to this state. .. py:attribute:: __current_value :type: Optional[Any] :value: None .. py:property:: current_value :type: Optional[Any] Get currently assigned value.