fix(esp_modem): Update the test to exersise CBC parser

This commit is contained in:
David Cermak
2021-12-06 11:16:38 +01:00
parent 4f1d31f9b7
commit d879e82a42
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ int LoopbackTerm::write(uint8_t *data, size_t len)
} else if (command.find("AT+CGMM\r") != std::string::npos) {
response = "0G Dummy Model\n\r\nOK\r\n";
} else if (command.find("AT+CBC\r") != std::string::npos) {
response = is_bg96 ? "+CBC: 1,2,123456V\r\r\n\r\nOK\r\n\n\r\n" :
response = is_bg96 ? "+CBC: 1,20,123456\r\r\n\r\nOK\r\n\n\r\n" :
"+CBC: 123.456V\r\r\n\r\nOK\r\n\n\r\n";
} else if (command.find("AT+CPIN=1234\r") != std::string::npos) {
response = "OK\r\n";