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

General discussion • Control app on Raspberry from PC

$
0
0
Hello,
I'm going to start a new project and I'm thinking about the architecture and tools.

I'm wondering if it is possible to do a thing I have in mind and would like to ask your opinion.

I would like to set up a raspberry without GUI. Then I'll implement an app (written in C++, since this is the only language I know well), this app will be launched upon the startup of the RaspberryPi and will run until shutdown. And now there's the question: I would like to connect Raspberry to a PC for example with an ethernet cable and then launch another app on the PC with its own GUI and interact with the app on the RaspberryPi. Let's think about the most simple scenario: turn on a led when pressing an on/off button on the GUI on the PC.

Do you think something like this is possible? I've thought about using websockets to communicate between the Raspberry and the PC but this would require to install a web server on the Rapsberry and it is a quite complex mechanism, do you think the same thing could be achived in other ways?

Hope I was able to explain my self...

Statistics: Posted by gev_u — Tue Jun 11, 2024 11:22 pm — Replies 2 — Views 90



Viewing all articles
Browse latest Browse all 4467

Trending Articles