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 <[email protected]>

Reply via email to