On 14. Jul 2017, at 19:13, Vishal Vaidhyanathan <Vishal.Vaidhyanathan@privoro.com> wrote:
Hi,
Hi!
Sorry about that. Didn’t realize I was taking it private. I’ve a couple more questions. If the ATR comes back at 9600, doesn’t it stay the same until we send PPS?
Right.
So I went through that link, according to that, after ATR, we use the Fi and Di values to calculate UART Baud rate and send commands in that rate? But I want to know what baud rate the phone uses? Does it change using PPS? Wireshark doesn’t show any PPS after ATR. Does that mean the phone read the ATR and adjusted the clock accordingly? Basically I’m trying to sniff the entire phone communication to SIM in a file and I need the correct Baud rate to do that?
You are right. If you look at process_byte it will not forward PTS related bytes (goto out_silent). At least in the debug output of the SIMtrace you should be able to see fi/di changes.
holger