feat: Implement OTA status API with partition information, define ESP32 partition layout, add ArrayCount utility, and include agent interaction rules.

This commit is contained in:
2026-03-03 21:38:52 -05:00
parent ad65bf520b
commit 849d126ce0
4 changed files with 28 additions and 7 deletions

8
Provider/main/utils.hpp Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
#include <types.hpp>
template <typename T, size_t N> constexpr size_t ArrayCount(T (&)[N])
{
return N;
}