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! {
list = ENDPOINT_LIST;
omit_std = true;
| EndpointTy | RequestTy | ResponseTy | Path |
| ---------- | --------- | ---------- | ---- |
| PingEndpoint | u32 | u32 | "ping" |
| GetUniqueIdEndpoint | () | [u8; 12] | "get_id" |
| StartDataEndpoint | () | () | "data/start" |
| StopDataEndpoint | () | bool | "data/stop" |
| SetAlgorithmEndpoint | SetAlgorithm | () | "algorithm/start" |
| PressureEndpoint | () | f32 | "data/pressure" |
| SetValvesEndpoint | SetValves | () | "valve/set" |
| EndpointTy | RequestTy | ResponseTy | Path |
| ---------- | --------- | ---------- | ---- |
| PingEndpoint | u32 | u32 | "ping" |
| GetUniqueIdEndpoint | () | [u8; 12] | "get_id" |
| StartDataEndpoint | () | () | "data/start" |
| StopDataEndpoint | () | bool | "data/stop" |
| SetAlgorithmEndpoint | SetAlgorithm | () | "algorithm/start" |
| SetSetpointEndpoint | f32 | () | "setpoint/set" |
| PressureEndpoint | () | f32 | "data/pressure" |
| OutFlowEndpoint | () | f32 | "data/out_flow" |
| SetpointPressureEndpoint | () | (f32, f32) | "data/setpoint_pressure" |
| SetValvesEndpoint | SetValves | () | "valve/set" |
}
topics! {