We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 696786a commit 5cb31a5Copy full SHA for 5cb31a5
main/boards/common/ml307_board.cc
@@ -112,7 +112,8 @@ std::string Ml307Board::GetBoardJson() {
112
board_json += "\"carrier\":\"" + modem_.GetCarrierName() + "\",";
113
board_json += "\"csq\":\"" + std::to_string(modem_.GetCsq()) + "\",";
114
board_json += "\"imei\":\"" + modem_.GetImei() + "\",";
115
- board_json += "\"iccid\":\"" + modem_.GetIccid() + "\"}";
+ board_json += "\"iccid\":\"" + modem_.GetIccid() + "\",";
116
+ board_json += "\"cereg\":" + modem_.GetRegistrationState().ToString() + "}";
117
return board_json;
118
}
119
0 commit comments