Target signed fleet commands by region and GPS radius
This commit is contained in:
1 parent
fdad79eaf7
commit
466eb008c7
24 files changed
+2447
-107
No files matched your search
@@ -12,6 +12,9 @@
|
||||
#include <helpers/ota/OtaContext.h>
|
||||
#endif
|
||||
#include <helpers/FileRead.h>
|
||||
#if MESH_ENABLE_FLEET_CONTROL
|
||||
#include <helpers/FleetLocation.h>
|
||||
#endif
|
||||
#include <helpers/radiolib/RxBoostedGainDefaults.h>
|
||||
#include <helpers/CLICommandUtils.h>
|
||||
#include <helpers/ClientACLCLI.h>
|
||||
@@ -1915,6 +1918,12 @@ void MyMesh::startRegionsLoad() {
|
||||
region_load_active = true;
|
||||
}
|
||||
|
||||
#if MESH_ENABLE_FLEET_CONTROL
|
||||
bool MyMesh::getFleetLocation(int32_t& latitude_e6, int32_t& longitude_e6) const {
|
||||
return mesh::readFleetLocation(_prefs, sensors, latitude_e6, longitude_e6);
|
||||
}
|
||||
#endif
|
||||
|
||||
bool MyMesh::saveRegions() {
|
||||
return region_map.save(_fs);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user