Since #318 became quite a bit too off topic, I figured it was a good idea to spin off all changes not directly related to multiplexer coding, so this PR contains:
DiagLayer.decode() now re-raises encountered DecodeErrors if the binary data is also not decodable as a global negative response. The old behavior accidentally was to never raise DecodeError.
a DecodeError exception is raised if unknown DTC numbers are passed to DtcDop parameters.
the ODXLINK reference machinery is fixed for the case where multiple document fragments provided objects featuring the same local ID
The ._database object of diagnostic layers is removed again. (this became unnecessary because of SNREF context objects...)
Since #318 became quite a bit too off topic, I figured it was a good idea to spin off all changes not directly related to multiplexer coding, so this PR contains:
DiagLayer.decode()
now re-raises encounteredDecodeError
s if the binary data is also not decodable as a global negative response. The old behavior accidentally was to never raiseDecodeError
.DecodeError
exception is raised if unknown DTC numbers are passed to DtcDop parameters.._database
object of diagnostic layers is removed again. (this became unnecessary because of SNREF context objects...)Andreas Lauser <andreas.lauser@mercedes-benz.com>, on behalf of MBition GmbH. Provider Information