This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:iot-open:practical:software:admins [2024/01/27 21:39] – [Admin] pczekalski | en:iot-open:practical:software:admins [2025/03/11 11:24] (current) – [Admins's Guide] pczekalski | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Admins' | ====== Admins' | ||
- | <todo @pczekalski> | + | The system has two kinds of administrators: |
- | The system has two kinds of administrators: | + | To understand activities and relations, it is essential to recognise system-building components (figure {ref> |
+ | <figure vrelsoftware2> | ||
+ | {{ : | ||
+ | < | ||
+ | </ | ||
===== Super Admin ===== | ===== Super Admin ===== | ||
Line 33: | Line 37: | ||
- Laboratory compiled and temporary files can be cleaned up in the Devices' | - Laboratory compiled and temporary files can be cleaned up in the Devices' | ||
- Compiler service uses a single source file on the input, which is PlatformIO-based. Thus, all source codes constituting a project are single cpp (or other) files + platformio.ini files. | - Compiler service uses a single source file on the input, which is PlatformIO-based. Thus, all source codes constituting a project are single cpp (or other) files + platformio.ini files. | ||
+ | |||
+ | ==== Admin: device configuration ==== | ||
+ | Device configuration is the most complex part of the administration process. It requires the correct configuration of the end node proxy service regarding the specification of the target IoT device it manages. It is a compilation service (figure {{ref> | ||
+ | The device configuration supports several configuration parameters, many of which may be redundant or unnecessary, | ||
+ | Commands to compile and upload firmware (or configuration) are Admin-defined. Besides common configuration parts such as name, location, and description, | ||
+ | * Device reset (reboot, restart) | ||
+ | * Commands copying from the frontend/ | ||
+ | * copies '' | ||
+ | * copies '' | ||
+ | * Code compilation, | ||
+ | * remember to remove previous compilation results before subsequent compilation so that if compilation fails, the existing compiled code won't be mistaken for the new one. | ||
+ | * Verification of the successful compilation - enables Upload button - the command should check if compilation was successful and return 1 otherwise 0. | ||
+ | * Code execution (i.e. firmware upload) | ||
+ | <note tip> The Aforementioned actions can have more than one command, and each command can be an SSH or CMD (bash) command.</ | ||
+ | <note tip> | ||
+ | |||