diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py index 038a2f8e8..d3e2b514c 100644 --- a/decoders/uart/pd.py +++ b/decoders/uart/pd.py @@ -44,6 +44,7 @@ value of the UART data, and a boolean which reflects the validity of the UART frame. - 'IDLE': The data is always 0. + - 'PACKET': data is entire packet, as array of integer values The field is 0 for RX packets, 1 for TX packets. ''' @@ -307,6 +308,7 @@ def handle_packet(self, rxtx): if self.options['format'] != 'ascii' and s[-1] == ' ': s = s[:-1] # Drop trailing space. self.putx_packet(rxtx, [Ann.RX_PACKET + rxtx, [s]]) + self.put(self.ss_packet[rxtx], self.es_packet[rxtx], self.out_python, ('PACKET', rxtx, self.packet_cache[rxtx])) self.packet_cache[rxtx] = [] def get_data_bits(self, rxtx, signal):