Change in simtrace2[master]: cardem (minor): trace tx data send over USB

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

Kévin Redon gerrit-no-reply at lists.osmocom.org
Thu Aug 2 15:54:47 UTC 2018


Kévin Redon has uploaded this change for review. ( https://gerrit.osmocom.org/10318


Change subject: cardem (minor): trace tx data send over USB
......................................................................

cardem (minor): trace tx data send over USB

Change-Id: I69cef43dd5a78e9f82cc045cdb90c326b03d1f68
---
M firmware/libcommon/source/card_emu.c
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/18/10318/1

diff --git a/firmware/libcommon/source/card_emu.c b/firmware/libcommon/source/card_emu.c
index fac6aef..625e880 100644
--- a/firmware/libcommon/source/card_emu.c
+++ b/firmware/libcommon/source/card_emu.c
@@ -247,6 +247,9 @@
 	rd = (struct cardemu_usb_msg_rx_data *) msg->l2h;
 	rd->data_len = msgb_l2len(msg) - sizeof(*rd);
 
+	TRACE_INFO("%u: %s: %s\n\r",
+			ch->num, __func__, osmo_hexdump(msg->l2h, rd->data_len));
+
 	usb_buf_upd_len_and_submit(msg);
 }
 

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

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I69cef43dd5a78e9f82cc045cdb90c326b03d1f68
Gerrit-Change-Number: 10318
Gerrit-PatchSet: 1
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180802/99157a9d/attachment.htm>


More information about the gerrit-log mailing list