Added outflow sensor (I2C) and random setpoint noise.

This commit is contained in:
2025-12-10 14:36:45 +01:00
parent 0bfdd059a8
commit 5be36a5df8

View File

@@ -11,15 +11,18 @@ use defmt::Format;
endpoints! { endpoints! {
list = ENDPOINT_LIST; list = ENDPOINT_LIST;
omit_std = true; omit_std = true;
| EndpointTy | RequestTy | ResponseTy | Path | | EndpointTy | RequestTy | ResponseTy | Path |
| ---------- | --------- | ---------- | ---- | | ---------- | --------- | ---------- | ---- |
| PingEndpoint | u32 | u32 | "ping" | | PingEndpoint | u32 | u32 | "ping" |
| GetUniqueIdEndpoint | () | [u8; 12] | "get_id" | | GetUniqueIdEndpoint | () | [u8; 12] | "get_id" |
| StartDataEndpoint | () | () | "data/start" | | StartDataEndpoint | () | () | "data/start" |
| StopDataEndpoint | () | bool | "data/stop" | | StopDataEndpoint | () | bool | "data/stop" |
| SetAlgorithmEndpoint | SetAlgorithm | () | "algorithm/start" | | SetAlgorithmEndpoint | SetAlgorithm | () | "algorithm/start" |
| PressureEndpoint | () | f32 | "data/pressure" | | SetSetpointEndpoint | f32 | () | "setpoint/set" |
| SetValvesEndpoint | SetValves | () | "valve/set" | | PressureEndpoint | () | f32 | "data/pressure" |
| OutFlowEndpoint | () | f32 | "data/out_flow" |
| SetpointPressureEndpoint | () | (f32, f32) | "data/setpoint_pressure" |
| SetValvesEndpoint | SetValves | () | "valve/set" |
} }
topics! { topics! {