mirror of
https://gitea.osmocom.org/sim-card/simtrace.git
synced 2026-03-16 21:28:36 +03:00
simtrace: Add print-out of PPS (Fi/Di change).
simtrace firmware 4f7ca20bf40b911c035264d86ef0359d20e7ac88 and later includes an indication of PPS-induced Fi/Di changes. We now print the such indications to the user.
This commit is contained in:
@@ -97,6 +97,10 @@ static int process_usb_msg(uint8_t *buf, int len)
|
||||
apdu_out_cb(payload, payload_len, NULL);
|
||||
break;
|
||||
}
|
||||
if (sh->flags & SIMTRACE_FLAG_PPS_FIDI) {
|
||||
printf("PPS(Fi=%u/Di=%u) ",
|
||||
sh->res[0], sh->res[1]);
|
||||
}
|
||||
/* everything else goes into APDU splitter */
|
||||
apdu_split_in(as, payload, payload_len);
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user