I have a device which has a USB port for connecting a pendrive and computer. The device transmits data every 10s which I want to have immediate access to. This data can be accepted by a computer only using official software. The same data is being saved to a file on a flash pendrive if such is inserted to the device’s USB port. I wanted to access this data by means of Raspberry Pi board acting as a flash drive which I described in [this](https://www.reddit.com/r/linuxquestions/comments/eq0nzl/problem_with_creating_mass_storage_partition_on/?utm_source=share&utm_medium=web2x) post. It turns out it probably can damage the device. The question is is there a better way of accessing the data? Does it make sense to sniff on the USB bus, recognize data patterns and simply read from the bus? Or the solution with fake flash drive is better?