codebutler/farebot — pull request #23 by tbonang (2012-08-12 15:33:35+00:00)
Title: Read full transaction log from CEPAS cards

Read purse Lc=01 for transaction log with start offset of 0x00 only returns last 15 transactions. Added a second read starting with offset 0x10 to read the rest, combining the results.
Also modified wrapMessage to not set parameters.length after Lc field. Looks like parameters were not actually used in the code so far, but adding the offset for the 2nd read in the data field won't work if this length field is added before it, and I can't find this length field in the CEPAS spec.