Data logging of USB Mass Storage on Raspberry Pi0

Job ID: 38409572

Budget: $250 – $750 USD

Background:
We are an embedded hardware, primarily Raspberry Pi0 & Linux software company working with manufacturing equipment.

We wish to monitor File Transfer from RPi0 under linux acting as USB mass storage to any dumb device which is a USB host.

The process follows:

A. Rpi0 Receiver (USB Host ) sends a command to the Sender (Rpi 0 acting as USB Mass Storage) to send a specified file to the Receiver. We send this using Mass Storage capability of Linux on Rpi0.
B. The Sender (USB Host) is ready to receive the requested file.

C. The Rpi0 selects the requested file from it's memory and begins to send the requested file to the Sender (USB Host).

Our offering does the above very well.

The Project:
Now we need

a. To log the requested file name on Rpi0.
b. We need to log the start time on Rpi0.
c. Once the file has been completely sent from Rpi0, we need to log the end time of communication on Rpi0.
In an ASCII file.
Related categories: C Programming Python Linux Microcontroller Shell Script