irrigation_system/software/include/lib
Eduard Iten 9325fa20c8 feat(valve): Add current measurement callbacks and shell commands
This commit introduces several enhancements to the valve library.

- New weak callback functions `valve_current_open_callback` and `valve_current_close_callback` are added to allow the application to monitor the current during valve opening and closing operations.
- The `movement_timeout_handler` now correctly sets the valve state to `VALVE_STATE_OPEN` and movement to `VALVE_MOVEMENT_IDLE` upon timeout.
- New shell commands `valve open`, `valve close`, and `valve stop` are added for direct control of the valve.
- The existing setting commands are reorganized under a `valve set` subcommand, and their names are shortened (e.g., `set_open_t` to `open_t`).
- The default configuration for `LIB_MODBUS_SERVER` and `LIB_VALVE` is changed to `n`.
Signed-off-by: Eduard Iten <eduard@iten.pro>
2025-07-22 10:53:24 +02:00
..
fwu.h style: Apply clang-format to C/C++ source files 2025-07-10 23:33:50 +02:00
hw_shared.h feat: Integrate VND7050AJ driver and enhance gateway settings 2025-07-17 15:18:22 +02:00
modbus_server.h refactor: Integrate Modbus register defines into enums in modbus_server.h 2025-07-11 09:58:51 +02:00
valve.h feat(valve): Add current measurement callbacks and shell commands 2025-07-22 10:53:24 +02:00
vnd7050aj.h feat: Integrate VND7050AJ driver and enhance gateway settings 2025-07-17 15:18:22 +02:00