Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5273

Other projects • Re: Communication with python between pi and computer via usb

$
0
0
@ame thankyou, first of all i carnt use a serial port adapter that plugs onto gpio, it has to be fully through usb, second of all i carnt use sockets because it has to be done all offline because the computer will be on a diffrent network then the pi.

Do you have a guide? i was able to setup gadget but couldnt get python to comunicate to recive and send messages between each device.

thank you
If you are OP you forgot to log in with the other account.

If you decide to go for USB serial gadget mode then you'll need to get something on the Pi to run at startup and listen to the serial port on the Pi end, so that you have something to talk to from the PC end. Usually people run getty to start a login service over the serial link, but that's not what you want. You're going to have to do some research and do some experiments.

Statistics: Posted by ame — Sun May 26, 2024 10:00 pm



Viewing all articles
Browse latest Browse all 5273

Trending Articles