## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-#
# Panasonic PAN1321 Bluetooth module protocol decoder
-#
-# TODO
-#
import sigrokdecode as srd
# Annotation feed formats
ANN_ASCII = 0
-# UART 'data' packet type.
-T_DATA = 1
-
# ...
RX = 0
TX = 1
name = 'PAN1321'
longname = 'Panasonic PAN1321'
desc = 'TODO.'
- longdesc = 'TODO.'
license = 'gplv2+'
inputs = ['uart']
outputs = ['pan1321']
probes = []
- extra_probes = []
+ optional_probes = []
options = {}
annotations = [
['ASCII', 'TODO: description'],
ptype, rxtx, pdata = data
# For now, ignore all UART packets except the actual data packets.
- if ptype != T_DATA:
+ if ptype != 'DATA':
return
# Append a new (ASCII) byte to the currently built/parsed command.