add Board::GetJson

This commit is contained in:
Terrence
2024-11-03 05:54:15 +08:00
parent 5006e5bda1
commit 92efdc9b64
16 changed files with 131 additions and 115 deletions

View File

@@ -94,7 +94,7 @@ bool Ml307Board::GetNetworkState(std::string& network_name, int& signal_quality,
return signal_quality != -1;
}
std::string Ml307Board::GetJson() {
std::string Ml307Board::GetBoardJson() {
// Set the board type for OTA
std::string board_type = BOARD_TYPE;
std::string module_name = modem_.GetModuleName();