Merge "[Feature][T106]version update to T106-M42-FACTORY-P56U11.AP.19.03_CAP.19.03" into FACTORY-P56U11.19.01
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-at-factory/liblynq-at-factory.cpp b/cap/zx297520v3/src/lynq/lib/liblynq-at-factory/liblynq-at-factory.cpp
index fbd5a5c..bb3fd64 100755
--- a/cap/zx297520v3/src/lynq/lib/liblynq-at-factory/liblynq-at-factory.cpp
+++ b/cap/zx297520v3/src/lynq/lib/liblynq-at-factory/liblynq-at-factory.cpp
@@ -192,7 +192,7 @@
//write data
if (write(fd, write_buf, data_size) != data_size) {
ALOGE("Write failed");
- handle_output("Write failed", strlen("Write failed"), Response);
+ handle_output("+emmc: Write failed", strlen("+emmc: Write failed"), Response);
close(fd);
free(write_buf);
return -1;
@@ -223,7 +223,7 @@
if(read(fd, read_buf, data_size) != data_size)
{
ALOGE("Read failed");
- handle_output("Read failed", strlen("Read failed"), Response);
+ handle_output("+emmc: Read failed", strlen("+emmc: Read failed"), Response);
free(write_buf);
free(read_buf);
close(fd);
@@ -233,14 +233,14 @@
//check data
if (memcmp(write_buf, read_buf, data_size) == 0) {
ALOGE("Data verification success!,");
- handle_output("emmc write/read success", strlen("emmc write/read success"), Response);
+ handle_output("+emmc: emmc write/read success", strlen("+emmc: emmc write/read success"), Response);
close(fd);
free(write_buf);
free(read_buf);
return 0;
} else {
ALOGE("Data verification failed!");
- handle_output("Data verification failed!", strlen("Data verification failed!"), Response);
+ handle_output("+emmc: Data verification failed!", strlen("+emmc: Data verification failed!"), Response);
close(fd);
free(write_buf);
free(read_buf);