Sentinel
AgriSensor FCIS firmware with pure C++ screening rules and an ESP32 hardware shell — field assay preflight, quant flags, and trend classification without a cloud dependency.
Problem
Field agronomy screens need deterministic rules that survive flaky connectivity. Sentinel (mapped to agrisensor / sentinel repos) implements FCIS-style assay logic in portable C++ with an ESP32 shell for sensor IO, OLED feedback, and serial diagnostics.
What it covers
- Preflight and assay decision core with operating limits
- Signal-to-ppb conversion with temperature, pH, and turbidity compensation
- QC freshness checks and quant/trend classification enums
- ESP32 hardware shell with PlatformIO build and board profiles
namespace agri::core {
PreflightDecision preflightAssay(
const AssayRequest &request,
const AssayStateSnapshot &state,
const OperatingLimits &limits,
std::uint32_t nowUnix,
bool rtcOk);
AssayDecision evaluateAssay(
const AssayRequest &request,
const SensorReadings &readings,
const AssayStateSnapshot &state,
const OperatingLimits &limits);
} // namespace agri::core