Hi.
I'm planning to create an android app that will send commands and receive some results to/from a raspberry pi 3 module. For example one such co...
For further actions, you may consider blocking this person and/or reporting abuse
I'm going to assume you have Arduino setup on the board? Assuming this, you can build an API server in Python that exposes some methods (see mock below), and the Android application will call it. Alternatively, bluetooth can work, but you're limited by the surrounding area (be within X distance of bluetooth device).
Let's assume you have four tasks:
I would personally sketch the UI with giant buttons for each (Turn on Fan w/ selector, turn off, etc...), next I would mock the API as follows:
Throughout the POST route, I would create an individual controller for each module, and have three action, for example:
I appreciate your answer but I strictly have to use Bluetooth protocol for the communication and not WiFi. Also, my problem and lack of knowledge is more in the android app side and not on how to design the python API.