Change in osmo-trx[master]: transceiver: Log TRXCTRL 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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Dec 8 19:36:34 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/12122 )

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

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

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

Approvals:
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index 8b950f7..442853f 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -721,7 +721,7 @@
 
   /* Set command pointer */
   command = buffer + 4;
-  LOGC(DTRXCTRL, INFO) << "chan " << chan << ": command is " << command;
+  LOGC(DTRXCTRL, INFO) << "chan " << chan << ": command is '" << command << "'";
 
   if (match_cmd(command, "POWEROFF", NULL)) {
     stop();
@@ -852,6 +852,7 @@
     sprintf(response,"RSP ERR 1");
   }
 
+  LOGC(DTRXCTRL, 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: merged
Gerrit-Change-Id: I8128c42e63ab1fcd2a58812f3b7cf94435b5bbd8
Gerrit-Change-Number: 12122
Gerrit-PatchSet: 5
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181208/6fad4246/attachment.htm>


More information about the gerrit-log mailing list