am 9bf39efb
: Do not log AT command traffic by default.
Merge commit '9bf39efb1b8527d7c46b20538cbb75bd60900b44' into gingerbread-plus-aosp * commit '9bf39efb1b8527d7c46b20538cbb75bd60900b44': Do not log AT command traffic by default.
This commit is contained in:
@ -169,7 +169,7 @@ again:
|
||||
// never receive non-ASCII UTF-8).
|
||||
// This was added because of the BMW 2005 E46 which sends binary junk.
|
||||
if (is_ascii(buf)) {
|
||||
LOG(LOG_INFO, "Bluetooth AT recv", "%s", buf);
|
||||
IF_LOGV() LOG(LOG_VERBOSE, "Bluetooth AT recv", "%s", buf);
|
||||
} else {
|
||||
LOGW("Ignoring invalid AT command: %s", buf);
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user