ref: 53fe82ee861967f0c02dbec7901660470da79098
parent: c8d87b22d50a17b8832019a93b9293fef19fbd02
author: Igor Böhm <igor@9lab.org>
date: Sun Jan 14 20:11:18 EST 2024
nusb/ptp: transaction IDs are sequences of numbers starting with 0 (thanks unobe) According to 'Digital Camera connectivity solutions using the picture transfer protocol' [1] Section 2.3: "the PTP is specified using the transaction model. A transaction is composed of a request operation, followed by an optional data transfer and a response. Each transaction has an identifier (TransactionID) that is session unique and comprise of a 32 bit unsigned number. The transaction IDs are a sequence of numbers starting with 0x00000000 (for the SessionOpen transaction) and increasing with every following operation." [1] https://people.ece.cornell.edu/land/courses/ece4760/FinalProjects/f2012/jmv87/site/files/PTP%20Protocol.pdf