Change in osmo-trx[master]: transceiver: Log CTRL iface responses towards osmo-bts-trx

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Dec 4 15:49:15 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/12122


Change subject: transceiver: Log CTRL iface responses towards osmo-bts-trx
......................................................................

transceiver: Log CTRL iface responses towards osmo-bts-trx

Change-Id: I8128c42e63ab1fcd2a58812f3b7cf94435b5bbd8
---
M Transceiver52M/Transceiver.cpp
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/22/12122/1

diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index 6dae66f..f9e38f2 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -721,7 +721,7 @@
 
   /* Set command pointer */
   command = buffer + 4;
-  LOGC(DCTRL, INFO) << "chan " << chan << ": command is " << command;
+  LOGC(DCTRL, INFO) << "chan " << chan << ": command is '" << command << "'";
 
   if (match_cmd(command, "POWEROFF", NULL)) {
     stop();
@@ -852,6 +852,7 @@
     sprintf(response,"RSP ERR 1");
   }
 
+  LOGC(DCTRL, INFO) << "chan " << chan << ": response is '" << response << "'";
   mCtrlSockets[chan]->write(response, strlen(response) + 1);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/12122
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8128c42e63ab1fcd2a58812f3b7cf94435b5bbd8
Gerrit-Change-Number: 12122
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181204/431f4056/attachment.htm>


More information about the gerrit-log mailing list