Change in ...osmo-ttcn3-hacks[master]: library/TRXC_CodecPort.ttcn: add debug print on Rx / Tx of messages

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Tue Jun 4 15:00:05 UTC 2019


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14372


Change subject: library/TRXC_CodecPort.ttcn: add debug print on Rx / Tx of messages
......................................................................

library/TRXC_CodecPort.ttcn: add debug print on Rx / Tx of messages

Change-Id: I04af0043c67c5904d034b60b39ddce44aa4beba9
---
M library/TRXC_CodecPort.ttcn
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/72/14372/1

diff --git a/library/TRXC_CodecPort.ttcn b/library/TRXC_CodecPort.ttcn
index 09b2977..7dee369 100644
--- a/library/TRXC_CodecPort.ttcn
+++ b/library/TRXC_CodecPort.ttcn
@@ -28,6 +28,7 @@
 }
 
 private function IPL4_to_TRXC_RecvFrom(in ASP_RecvFrom pin, out TRXC_RecvFrom pout) {
+	log("Rx TRXC message: ", oct2char(pin.msg));
 	pout.connId := pin.connId;
 	pout.remName := pin.remName;
 	pout.remPort := pin.remPort;
@@ -73,6 +74,7 @@
 			}
 		};
 	}
+	log("Tx TRXC message: ", tx);
 	pt.send(ts_TRXC_Send(conn_id, tx));
 	T.start;
 	alt {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14372
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I04af0043c67c5904d034b60b39ddce44aa4beba9
Gerrit-Change-Number: 14372
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190604/847e54e4/attachment.htm>


More information about the gerrit-log mailing list