annotate uicc/efstruct.h @ 99:97ba63d9361a

scripts/fcsim1-sst: turn off STK & OTA services In the initial unprogrammed state of the cards from Grcard, SST has services 25 through 29 set to allocated and activated. However, these cards appear to not actually support OTA, ENVELOPE commands do nothing (just return SW 9000), and they were never observed issuing any proactive SIM commands, even after a feature-generous TERMINAL PROFILE. Therefore, let's list these STK & OTA services as allocated, but not activated in our FCSIM1 SST.
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 05 May 2021 04:26:07 +0000
parents 0e46bbb801e0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
87
0e46bbb801e0 fc-uicc-tool: internal code in preparation for porting
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
0e46bbb801e0 fc-uicc-tool: internal code in preparation for porting
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * This header file defines a simple internal struct that represents
0e46bbb801e0 fc-uicc-tool: internal code in preparation for porting
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * EF structure decoded from the messy TLV-based SELECT response.
0e46bbb801e0 fc-uicc-tool: internal code in preparation for porting
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 */
0e46bbb801e0 fc-uicc-tool: internal code in preparation for porting
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
0e46bbb801e0 fc-uicc-tool: internal code in preparation for porting
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 struct ef_struct {
0e46bbb801e0 fc-uicc-tool: internal code in preparation for porting
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 unsigned structure;
0e46bbb801e0 fc-uicc-tool: internal code in preparation for porting
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 unsigned total_size;
0e46bbb801e0 fc-uicc-tool: internal code in preparation for porting
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 unsigned record_len;
0e46bbb801e0 fc-uicc-tool: internal code in preparation for porting
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 unsigned record_count;
0e46bbb801e0 fc-uicc-tool: internal code in preparation for porting
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 };