IoT电池状态读取

This commit is contained in:
Terrence
2025-03-04 07:56:07 +08:00
parent 1a808962e2
commit 6318dd1793
3 changed files with 43 additions and 6 deletions

View File

@@ -207,6 +207,7 @@ private:
void InitializeIot() {
auto& thing_manager = iot::ThingManager::GetInstance();
thing_manager.AddThing(iot::CreateThing("Speaker"));
thing_manager.AddThing(iot::CreateThing("Battery"));
}
public: