iec62056-21
iec62056-21 copied to clipboard
Transport improvements
-
BaseTransport.read()
has got better logging with regards to processing steps. Also, start and end chars now useconstants
instead of duplicated literals -
BaseTransport.read()
andBaseTransport.simple_read()
have been reworked to allow receiving end chars with no start chars previously seen - that might happen when ACK/NACK received - AnswerDataMessage.from_representation(): validate BCC only if data present, there might be cases when data is empty e.g. when ACK/NACK received