##
-## This file is part of the sigrok project.
+## This file is part of the libsigrokdecode project.
##
## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
##
else:
return open(filename, 'w')
- def start(self, metadata):
+ def start(self):
# The user can specify 'filename' (gets both RX and TX data), and/or
# 'filename_rx' (for RX data only), and/or 'filename_tx', respectively.
self.f_rx = self.file_open(self.options['filename_rx'])
self.f_tx = self.file_open(self.options['filename_tx'])
- def report(self):
- pass
-
def decode(self, ss, es, data):
ptype, rxtx, pdata = data