Creating users with different access levels to set parameters on my ESP32
Posted: Thu Feb 25, 2021 12:33 am
1. I have a general question about a project that I am working on. I want to create a configurable application that can be parameterized to communicate with the outside world using a physical layer proprietary communication interface. This configurable application will have different parameters (say Level 1 parameters /Level 2 parameters / Level 3 parameters) that will affect the behavior of the application software. It is clarified that the application software is sitting on one of the cores of the ESP32.
2. Now, I envisage that I will have different kinds of users (Level 1 Priority Users (Highest Priority) that will be able to set all of the parameters / Level 2 Priority Users (Middle Priority) that will only be able set Level 2 & Level 3 parameters / Level 3 Priority Users (Low Priority) that will only be able to set Level 3 parameters / Simple Users (who are the lowest priority) and can only read parameters. These users are supposed to access and configure these parameters that will be stored in the memory of the ESP32 by connecting to it via WiFi (either using a Client - Server like architecture / or maybe via a REST API like functionality [Can any comment on these two contrasting methods]). Note that some of the L1 parameters can comprise of boot parameters.
2. Now, I envisage that I will have different kinds of users (Level 1 Priority Users (Highest Priority) that will be able to set all of the parameters / Level 2 Priority Users (Middle Priority) that will only be able set Level 2 & Level 3 parameters / Level 3 Priority Users (Low Priority) that will only be able to set Level 3 parameters / Simple Users (who are the lowest priority) and can only read parameters. These users are supposed to access and configure these parameters that will be stored in the memory of the ESP32 by connecting to it via WiFi (either using a Client - Server like architecture / or maybe via a REST API like functionality [Can any comment on these two contrasting methods]). Note that some of the L1 parameters can comprise of boot parameters.