Manage MediaMesh forwarding region with saved radio2 profiles

This commit is contained in:
mikecarper committed 2026-10-26 22:15:37 -07:00
1 parent a301820be3
commit 71e42b2e62
21 files changed
+831 -7

No files matched your search

+2 -1
View File
@@ -4039,7 +4039,8 @@ void MyMesh::begin(FILESYSTEM *fs) {
if (!guest_login.enabled()) acl.removeGuestClients();
mesh::hilStartupTrace("mesh_acl_ready");
// TODO: key_store.begin();
region_map.load(_fs);
const bool regions_loaded = region_map.load(_fs);
_cli.onRegionsLoaded(_fs, regions_loaded);
mesh::hilStartupTrace("mesh_regions_ready");
#if !defined(PORTABLE_MQTT_OBSERVER)
#if MESH_ENABLE_FLOOD_RULE_ENGINE
+2 -1
View File
@@ -2795,7 +2795,8 @@ void MyMesh::begin(FILESYSTEM *fs) {
getRNG()->random((uint8_t*)&room_web_boot_id, sizeof(room_web_boot_id));
if (room_web_boot_id == 0) room_web_boot_id = 1;
#endif
region_map.load(_fs);
const bool regions_loaded = region_map.load(_fs);
_cli.onRegionsLoaded(_fs, regions_loaded);
_clock_sync.begin(_fs);
if (mesh::loadRoomTopic(_fs, room_topic)) {
if (room_topic[0] != 0) activateRoomTopic();
+2 -1
View File
@@ -1357,7 +1357,8 @@ void SensorMesh::begin(FILESYSTEM* fs) {
_cli.beginManagement(*this, _fs);
acl.load(_fs, self_id);
region_map.load(_fs);
const bool regions_loaded = region_map.load(_fs);
_cli.onRegionsLoaded(_fs, regions_loaded);
_clock_sync.begin(_fs);
updateGpsTelemetryPolicy();