添加打印

This commit is contained in:
cxh 2026-01-22 15:54:23 +08:00
parent 2672620780
commit 40c8521a8b

View File

@ -294,6 +294,8 @@ static void handle_serial_at_data(const std::string& data)
line.erase(0, line.find_first_not_of(" \t\r\n"));
line.erase(line.find_last_not_of(" \t\r\n") + 1);
LOG_INFO("[serial_at][RAW] " + line);
// IMEI14~17 位纯数字
if (line.size() >= 14 && line.size() <= 17 && std::all_of(line.begin(), line.end(), ::isdigit))
{