mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-09 01:57:21 +02:00
OTA + remote logging + profiling
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "LoopManager.h"
|
||||
#include "SensorMessageBuilder.h"
|
||||
#include "TopologyMessageBuilder.h"
|
||||
#include "esp_wifi.h"
|
||||
|
||||
#define ACTUATOR_CMD_TAG 5
|
||||
#define TOPOLOGY_CMD_TAG 6
|
||||
@@ -78,3 +79,7 @@ void LoopManager::send_sensor_reading(bool durable) const {
|
||||
m_messaging_interface->send((uint8_t *)ptr, size, PC_ADDR, SENSOR_TAG, durable);
|
||||
}
|
||||
}
|
||||
|
||||
MessagingInterface &LoopManager::get_messaging_interface() {
|
||||
return *m_messaging_interface;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user