move audio enable/disable in ws connect/discconect

This commit is contained in:
Terrence
2024-11-05 16:50:29 +08:00
parent 8fccef2c52
commit bc4b0a0bb1
11 changed files with 30 additions and 16 deletions

View File

@@ -37,8 +37,10 @@ void Ml307Board::StartNetwork() {
int result = modem_.WaitForNetworkReady();
if (result == -1) {
application.Alert("Error", "PIN is not ready");
return;
} else if (result == -2) {
application.Alert("Error", "Registration denied");
return;
}
// Print the ML307 modem information