Allow multiple robots on the same network (#5)

* Support multiple bots on the same network

* Bulk OTa

* Bugfixes
This commit is contained in:
2026-03-11 01:41:30 -04:00
committed by GitHub
parent eca875a791
commit e30eb39187
13 changed files with 105 additions and 32 deletions

View File

@@ -61,7 +61,7 @@ class Module {
uint8_t m_device_id;
ModuleType m_module_type;
Messaging::ConnectionType m_connection_type;
uint8_t m_leader;
std::atomic<uint8_t> m_leader{0};
std::chrono::time_point<std::chrono::system_clock> m_last_updated;
std::vector<neighbour> m_neighbours;
std::shared_ptr<MessagingInterface> m_messaging_interface;