You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param communication_type: Indicates what section of the network and the type of message that should be affected by the command. Refer to :ref:`CommunicationType<CommunicationType>` for more details. If an `integer` or a `bytes` is given, the value will be decoded to create the required :ref:`CommunicationType<CommunicationType>` object
827
828
:type communication_type: :ref:`CommunicationType<CommunicationType>`, bytes, int
828
829
830
+
:param node_id: DTC memory identifier (nodeIdentificationNumber). This value is user defined and introduced in 2013 version of ISO-14229-1.
831
+
Possible only when control type is ``enableRxAndDisableTxWithEnhancedAddressInformation`` or ``enableRxAndTxWithEnhancedAddressInformation``
832
+
Only added to the request payload when different from None. Default : None
833
+
:type node_id: int
834
+
829
835
:return: The server response parsed by :meth:`CommunicationControl.interpret_response<udsoncan.services.CommunicationControl.interpret_response>`
self.logger.info('%s - ControlType=0x%02x (%s) - Sending request with a CommunicationType byte of 0x%02x (%s)'% (self.service_log_prefix(services.CommunicationControl),
:param node_id: DTC memory identifier. This value is user defined and introduced in 2013 version of ISO-14229-1.
73
+
Possible and required only when ``control_type`` is ``enableRxAndDisableTxWithEnhancedAddressInformation`` or ``enableRxAndTxWithEnhancedAddressInformation``
74
+
Default : ``None``
75
+
:type node_id: int
76
+
77
+
:param standard_version: The version of the ISO-14229 (the year). eg. 2006, 2013, 2020
78
+
:type standard_version: int
79
+
68
80
:raises ValueError: If parameters are out of range, missing or wrong type
"node_id is required when the standard version is 2013 (or more recent) and when control_type is enableRxAndDisableTxWithEnhancedAddressInformation or enableRxAndTxWithEnhancedAddressInformation ")
92
+
elifnotrequire_node_idandnode_idisnotNone:
93
+
raiseValueError(
94
+
"node_id is only possible when the standard version is 2013 (or more recent) and when control_type is enableRxAndDisableTxWithEnhancedAddressInformation or enableRxAndTxWithEnhancedAddressInformation ")
0 commit comments