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