iec62056-21 icon indicating copy to clipboard operation
iec62056-21 copied to clipboard

Transport improvements

Open hostcc opened this issue 2 years ago • 0 comments

  • BaseTransport.read() has got better logging with regards to processing steps. Also, start and end chars now use constants instead of duplicated literals
  • BaseTransport.read() and BaseTransport.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

hostcc avatar Apr 30 '22 20:04 hostcc