From 96a6958ec2242d1ff7bc0afa83e25044e61800e1 Mon Sep 17 00:00:00 2001 From: sdesai Date: Mon, 20 Mar 2023 15:19:05 -0500 Subject: Support Portal Case #5086148: use Cellular Radio timeas alternative to GPS or NTP --- src/MTS_IO_QuectelRadio.cpp | 4 ++-- src/MTS_IO_SequansRadio.cpp | 4 ++-- src/MTS_IO_TelitRadio.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/MTS_IO_QuectelRadio.cpp b/src/MTS_IO_QuectelRadio.cpp index 760cf6d..2bc4fb6 100644 --- a/src/MTS_IO_QuectelRadio.cpp +++ b/src/MTS_IO_QuectelRadio.cpp @@ -1684,7 +1684,7 @@ ICellularRadio::CODE QuectelRadio::setTimeFormat(void) { rc = sendBasicCommand(sCmdCSDF); if (rc != SUCCESS) { - printError("%s| Failed to set diversity for WCDMA network mode: [%d]", getName().c_str(), rc); + printError("%s| Unable to set year format for radio using command [%s]", getName().c_str(), sCmdCSDF.c_str()); return rc; } @@ -1693,7 +1693,7 @@ ICellularRadio::CODE QuectelRadio::setTimeFormat(void) { rc = sendBasicCommand(sCmdCTZU); if (rc != SUCCESS) { - printError("%s| Failed to set diversity for WCDMA network mode: [%d]", getName().c_str(), rc); + printError("%s| Unable to set automatic time zone update for radio using command [%s]", getName().c_str(), sCmdCTZU.c_str()); return rc; } return SUCCESS; diff --git a/src/MTS_IO_SequansRadio.cpp b/src/MTS_IO_SequansRadio.cpp index 31c736f..d2a2efb 100644 --- a/src/MTS_IO_SequansRadio.cpp +++ b/src/MTS_IO_SequansRadio.cpp @@ -577,7 +577,7 @@ ICellularRadio::CODE SequansRadio::setTimeFormat() { rc = sendBasicCommand(sCmdCSDF); if (rc != SUCCESS) { - printError("%s| Failed to set diversity for WCDMA network mode: [%d]", getName().c_str(), rc); + printError("%s| Unable to set year format for radio using command [%s]", getName().c_str(), sCmdCSDF.c_str()); return rc; } @@ -586,7 +586,7 @@ ICellularRadio::CODE SequansRadio::setTimeFormat() { rc = sendBasicCommand(sCmdCTZU); if (rc != SUCCESS) { - printError("%s| Failed to set diversity for WCDMA network mode: [%d]", getName().c_str(), rc); + printError("%s| Unable to set automatic time zone update for radio using command [%s]", getName().c_str(), sCmdCTZU.c_str()); return rc; } return SUCCESS; diff --git a/src/MTS_IO_TelitRadio.cpp b/src/MTS_IO_TelitRadio.cpp index 261fd34..d73dc0a 100644 --- a/src/MTS_IO_TelitRadio.cpp +++ b/src/MTS_IO_TelitRadio.cpp @@ -1221,7 +1221,7 @@ ICellularRadio::CODE TelitRadio::setTimeFormat(void) { rc = sendBasicCommand(sCmdCSDF); if (rc != SUCCESS) { - printError("%s| Failed to set diversity for WCDMA network mode: [%d]", getName().c_str(), rc); + printError("%s| Unable to set year format for radio using command [%s]", getName().c_str(), sCmdCSDF.c_str()); return rc; } @@ -1230,7 +1230,7 @@ ICellularRadio::CODE TelitRadio::setTimeFormat(void) { rc = sendBasicCommand(sCmdCTZU); if (rc != SUCCESS) { - printError("%s| Failed to set diversity for WCDMA network mode: [%d]", getName().c_str(), rc); + printError("%s| Unable to set automatic time zone update for radio using command [%s]", getName().c_str(), sCmdCTZU.c_str()); return rc; } return SUCCESS; -- cgit v1.2.3