Can someone describe how it might be possible to connect a raspberry pi to a PC running mac os or windows 10 via a USB cable which would allow for the computer to send commands to the raspberry pi?
I am being intentionally vague about the "commands" that the raspi would receive, just curious about the options here. Could the PC/Mac send a bash command as in an SSH session? Could it hit an HTTP endpoint / webhook running in a webserver on the PI?
What sort of software would be needed on the non-pi end of the equation. What sort of hardware peripherals or hats could facilitate this on the pi end.
Assuming this is possible, would it also be possible to send large amounts of data along the same cable? Such as delivering a video file from the PI to the PC/Mac?