I have a digital camera which I can plug into the USB connector on my
computer. There is corresponding software which came with the camera. I can
take a picture with the camera, the camera sends the picture to the computer,
and the software displays the picture on the screen (and saves it to the hard
drive). This would be used primarily in a studio environment for portraiture,
etc.
How can I inspect the exact stream of bytes which the camera outputs over
the wire? Basically, I want to know how to detect the particular USB
connection, and look at the bytes flowing through that particular connection.
I would be using C# (Visual Studio .NET).
In case anyone is interested, I am thinking about how I could develop a
wireless transmitter for the camera (the transmitter's wire would plug in
where the USB cable currently plugs in to the camera and the transmitter
would attach to the bottom of the camera where the tripod connector or a
vertical grip would normally attach) which would beam bytes to a wireless DSL
router or any wireless network using 802.11g, and I would write software
which would see what the camera is sending (some combination of a JPEG and
RAW file--i.e., JPEG, RAW, or JPEG & RAW) and save the file(s) to a directory
on the hard drive.
My first step is to try and see what's coming over the wire through the USB
connection and decode it into a file or files.
Thanks,
Jay