Baud rate

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/simtrace@lists.osmocom.org/.

Vishal Vaidhyanathan Vishal.Vaidhyanathan at privoro.com
Fri Jul 14 17:13:52 UTC 2017


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?

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?

Thanks,
Vishal
> On Jul 14, 2017, at 9:54 AM, Holger Freyther <holger at freyther.de> wrote:
> 
> 
>> On 14. Jul 2017, at 18:50, Vishal Vaidhyanathan <Vishal.Vaidhyanathan at privoro.com> wrote:
>> 
>> Hi Holger,
> 
> Hi!
> 
> please don't take a public discussion private. It is considered rude in the FOSS community. But I (and others) offer consulting services too.
> 
> 
>> So I receive the ATR at 9600 Baud rate. After that I send the APDU commands in the exact order I see in Wireshark. One SIM card responds exactly as I see in Wireshark. Few other SIM cards don’t respond after ATR. So I want to know how the phone does it and want to verify that Wireshark is not missing something after ATR. This is the reason I want to know the baud rate of the phone clock.
>> 
>> Where exactly should I look at the source to figure out the Baud rate of the phone?
> 
> 
> http://git.osmocom.org/openpcd/tree/firmware/src/simtrace/iso7816_uart.c#n117
> 
> follow the usage of the fi_table and di_table

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.osmocom.org/pipermail/simtrace/attachments/20170714/51347248/attachment.bin>


More information about the simtrace mailing list