Add gps command

This commit is contained in:
Just Call Me Koko
2023-09-08 14:42:19 -04:00
parent 10fce15bb9
commit 7eb7ae4a0d
4 changed files with 46 additions and 5 deletions

View File

@@ -94,6 +94,13 @@ bool GpsInterface::getFixStatus() {
return this->good_fix;
}
String GpsInterface::getFixStatusAsString() {
if (this->getFixStatus())
return "Yes";
else
return "No";
}
bool GpsInterface::getGpsModuleStatus() {
return this->gps_enabled;
}