Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8a86f07 authored by Nick Pelly's avatar Nick Pelly Committed by Android Git Automerger
Browse files

am db1bae9a: am 9bf39efb: Do not log AT command traffic by default.

Merge commit 'db1bae9a'

* commit 'db1bae9a':
  Do not log AT command traffic by default.
parents b207c687 db1bae9a
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -169,7 +169,7 @@ again:
    // never receive non-ASCII UTF-8).
    // never receive non-ASCII UTF-8).
    // This was added because of the BMW 2005 E46 which sends binary junk.
    // This was added because of the BMW 2005 E46 which sends binary junk.
    if (is_ascii(buf)) {
    if (is_ascii(buf)) {
        LOG(LOG_INFO, "Bluetooth AT recv", "%s", buf);
        IF_LOGV() LOG(LOG_VERBOSE, "Bluetooth AT recv", "%s", buf);
    } else {
    } else {
        LOGW("Ignoring invalid AT command: %s", buf);
        LOGW("Ignoring invalid AT command: %s", buf);
        buf[0] = NULL;
        buf[0] = NULL;
@@ -494,7 +494,7 @@ static void pretty_log_urc(const char *urc) {
            }
            }
        }
        }
    }
    }
    LOG(LOG_INFO, "Bluetooth AT sent", "%s", buf);
    IF_LOGV() LOG(LOG_VERBOSE, "Bluetooth AT sent", "%s", buf);


    free(buf);
    free(buf);
}
}