Hello I received two Pi 4 for Christmas. It is the first time I use RPI, I have succeeded to turn them on and to connect them to my local wifi !
I am a a beginner and I wanted to start with a simple project : connecting 2 RPI together and send data( file of 60 Mo) through Wi-fi between them.
After startup, an automatic connection is set up between the RPI[1] and the RPI[2], RPI[1] sends a set of data to the RPI[2].
The idea would be that RPI [1] should send a "presence" signal only every 30 min approximatively (configurable)
The RPI[2] would be in permanent listening, and as soon as it receives the signal of presence of the RPI[1], it opens a communication protocol with the RPI[2] of the type : "I know that RPI[1] is there, RPI[1] confirms that it is sending me data, I receive the data, I check the integrity of the data (how ..?), I confirm receipt to RPI[1], I close the communication". "If the integrity of the data is not good, I ask for the data to be sent back from RPI[1] following the same process as before".
I was wondering :
- the simpliest way to send file through Wi-fi ?
- Which protocol to choose ? TCP or MQTT ( seemed better than http)
- which languages to choose ? Python or C ?
- Any good ressources to help me started or similar projects ?
- This is a good "scenario" ?
Thank you in advance for your help,
Antoine