diff options
Diffstat (limited to 'src/MTS_IO_QuectelRadio.cpp')
-rw-r--r-- | src/MTS_IO_QuectelRadio.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/MTS_IO_QuectelRadio.cpp b/src/MTS_IO_QuectelRadio.cpp index 4f20627..7d96627 100644 --- a/src/MTS_IO_QuectelRadio.cpp +++ b/src/MTS_IO_QuectelRadio.cpp @@ -1223,6 +1223,8 @@ ICellularRadio::CODE QuectelRadio::abortFileUpload() { } ICellularRadio::CODE QuectelRadio::setUeModeOfOperation(UE_MODES_OF_OPERATION mode) { + printTrace("%s| Set UE Mode Of Operation", getName().c_str()); + std::string sDomain, sPreference; switch (mode) { @@ -1251,7 +1253,7 @@ ICellularRadio::CODE QuectelRadio::setUeModeOfOperation(UE_MODES_OF_OPERATION mo sPreference = "01"; break; default: - printTrace("Set UE Mode Of Operation: invalid argument"); + printError("%s| Set UE Mode Of Operation: invalid argument", getName().c_str()); return INVALID_ARGS; } @@ -1261,7 +1263,7 @@ ICellularRadio::CODE QuectelRadio::setUeModeOfOperation(UE_MODES_OF_OPERATION mo rc = sendBasicCommand(sCommand, dTimeout); if (rc != SUCCESS) { - printError("Voice/data preference configuration failed with code [%d]", rc); + printError("%s| Voice/data preference configuration failed with code [%d]", getName().c_str(), rc); return rc; } @@ -1269,7 +1271,7 @@ ICellularRadio::CODE QuectelRadio::setUeModeOfOperation(UE_MODES_OF_OPERATION mo rc = sendBasicCommand(sCommand, dTimeout); if (rc != SUCCESS) { - printError("Service domain configuration failed with code [%d]", rc); + printError("%s| Service domain configuration failed with code [%d]", getName().c_str(), rc); return rc; } |