Snapdragon® Telematics Application Framework (TelAF) Interface Specification
taf_sim_common.h
Go to the documentation of this file.
1 
2 /*
3  * ====================== WARNING ======================
4  *
5  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
6  * DO NOT MODIFY IN ANY WAY.
7  *
8  * ====================== WARNING ======================
9  */
10 #ifndef TAF_SIM_COMMON_H_INCLUDE_GUARD
11 #define TAF_SIM_COMMON_H_INCLUDE_GUARD
12 
13 
14 #include "legato.h"
15 
16 #define IFGEN_TAF_SIM_PROTOCOL_ID "1bf8e2e6d7dcd853d8db5a4aa2c228f4"
17 #define IFGEN_TAF_SIM_MSG_SIZE 276
18 
19 
20 
21 //--------------------------------------------------------------------------------------------------
25 //--------------------------------------------------------------------------------------------------
26 #define TAF_SIM_INSERTED 0
27 
28 //--------------------------------------------------------------------------------------------------
31 //--------------------------------------------------------------------------------------------------
32 #define TAF_SIM_BLOCKED 3
33 
34 //--------------------------------------------------------------------------------------------------
37 //--------------------------------------------------------------------------------------------------
38 #define TAF_SIM_POWER_DOWN 8
39 
40 //--------------------------------------------------------------------------------------------------
44 //--------------------------------------------------------------------------------------------------
45 #define TAF_SIM_EXTERNAL_SLOT_1 1
46 
47 //--------------------------------------------------------------------------------------------------
50 //--------------------------------------------------------------------------------------------------
51 #define TAF_SIM_EXTERNAL_SLOT_2 2
52 
53 //--------------------------------------------------------------------------------------------------
57 //--------------------------------------------------------------------------------------------------
58 #define TAF_SIM_PIN_MIN_LEN 4
59 
60 //--------------------------------------------------------------------------------------------------
63 //--------------------------------------------------------------------------------------------------
64 #define TAF_SIM_PIN_MAX_LEN 8
65 
66 //--------------------------------------------------------------------------------------------------
69 //--------------------------------------------------------------------------------------------------
70 #define TAF_SIM_PIN_MAX_BYTES 9
71 
72 //--------------------------------------------------------------------------------------------------
76 //--------------------------------------------------------------------------------------------------
77 #define TAF_SIM_PUK_MAX_LEN 8
78 
79 //--------------------------------------------------------------------------------------------------
82 //--------------------------------------------------------------------------------------------------
83 #define TAF_SIM_PUK_MAX_BYTES 9
84 
85 //--------------------------------------------------------------------------------------------------
88 //--------------------------------------------------------------------------------------------------
89 #define TAF_SIM_IMSI_LEN 15
90 
91 //--------------------------------------------------------------------------------------------------
94 //--------------------------------------------------------------------------------------------------
95 #define TAF_SIM_IMSI_BYTES 16
96 
97 //--------------------------------------------------------------------------------------------------
100 //--------------------------------------------------------------------------------------------------
101 #define TAF_SIM_RESPONSE_MAX_BYTES 256
102 
103 //--------------------------------------------------------------------------------------------------
106 //--------------------------------------------------------------------------------------------------
107 #define TAF_SIM_PHONE_NUM_MAX_LEN 17
108 
109 //--------------------------------------------------------------------------------------------------
112 //--------------------------------------------------------------------------------------------------
113 #define TAF_SIM_PHONE_NUM_MAX_BYTES 18
114 
115 //--------------------------------------------------------------------------------------------------
118 //--------------------------------------------------------------------------------------------------
119 #define TAF_SIM_ICCID_LEN 20
120 
121 //--------------------------------------------------------------------------------------------------
124 //--------------------------------------------------------------------------------------------------
125 #define TAF_SIM_ICCID_BYTES 21
126 
127 //--------------------------------------------------------------------------------------------------
130 //--------------------------------------------------------------------------------------------------
131 #define TAF_SIM_EID_LEN 32
132 
133 //--------------------------------------------------------------------------------------------------
136 //--------------------------------------------------------------------------------------------------
137 #define TAF_SIM_EID_BYTES 33
138 
139 //--------------------------------------------------------------------------------------------------
142 //--------------------------------------------------------------------------------------------------
143 #define TAF_SIM_APDU_MAX_BYTES 255
144 
145 //--------------------------------------------------------------------------------------------------
148 //--------------------------------------------------------------------------------------------------
149 #define TAF_SIM_FILE_ID_LEN 4
150 
151 //--------------------------------------------------------------------------------------------------
154 //--------------------------------------------------------------------------------------------------
155 #define TAF_SIM_FILE_ID_BYTES 5
156 
157 //--------------------------------------------------------------------------------------------------
160 //--------------------------------------------------------------------------------------------------
161 #define TAF_SIM_DATA_MAX_BYTES 100
162 
163 //--------------------------------------------------------------------------------------------------
166 //--------------------------------------------------------------------------------------------------
167 #define TAF_SIM_PATH_MAX_LEN 100
168 
169 //--------------------------------------------------------------------------------------------------
172 //--------------------------------------------------------------------------------------------------
173 #define TAF_SIM_PATH_MAX_BYTES 101
174 
175 //--------------------------------------------------------------------------------------------------
178 //--------------------------------------------------------------------------------------------------
179 #define TAF_SIM_AID_MAX_LEN 4
180 
181 //--------------------------------------------------------------------------------------------------
184 //--------------------------------------------------------------------------------------------------
185 #define TAF_SIM_FPLMN_MAX_LISTS 1
186 
187 //--------------------------------------------------------------------------------------------------
190 //--------------------------------------------------------------------------------------------------
191 #define TAF_SIM_FPLMN_MAX_OPERATORS_PER_LIST 5
192 
193 //--------------------------------------------------------------------------------------------------
409 //--------------------------------------------------------------------------------------------------
410 typedef struct taf_sim_FPLMNList* taf_sim_FPLMNListRef_t;
411 
412 
413 //--------------------------------------------------------------------------------------------------
417 //--------------------------------------------------------------------------------------------------
418 typedef enum
419 {
456 }
458 
459 
460 //--------------------------------------------------------------------------------------------------
464 //--------------------------------------------------------------------------------------------------
465 typedef enum
466 {
479 }
481 
482 
483 //--------------------------------------------------------------------------------------------------
487 //--------------------------------------------------------------------------------------------------
488 typedef enum
489 {
500 }
502 
503 
504 //--------------------------------------------------------------------------------------------------
507 //--------------------------------------------------------------------------------------------------
508 typedef enum
509 {
518 }
520 
521 
522 //--------------------------------------------------------------------------------------------------
526 //--------------------------------------------------------------------------------------------------
527 typedef enum
528 {
541 }
543 
544 
545 //--------------------------------------------------------------------------------------------------
550 //--------------------------------------------------------------------------------------------------
551 typedef enum
552 {
565 }
567 
568 
569 //--------------------------------------------------------------------------------------------------
573 //--------------------------------------------------------------------------------------------------
574 typedef enum
575 {
588 }
590 
591 
592 //--------------------------------------------------------------------------------------------------
596 //--------------------------------------------------------------------------------------------------
597 typedef struct taf_sim_NewStateHandler* taf_sim_NewStateHandlerRef_t;
598 
599 
600 //--------------------------------------------------------------------------------------------------
604 //--------------------------------------------------------------------------------------------------
605 typedef struct taf_sim_AuthenticationResponseHandler* taf_sim_AuthenticationResponseHandlerRef_t;
606 
607 
608 //--------------------------------------------------------------------------------------------------
612 //--------------------------------------------------------------------------------------------------
613 typedef struct taf_sim_IccidChangeHandler* taf_sim_IccidChangeHandlerRef_t;
614 
615 
616 //--------------------------------------------------------------------------------------------------
620 //--------------------------------------------------------------------------------------------------
621 typedef void (*taf_sim_NewStateHandlerFunc_t)
622 (
623  taf_sim_Id_t slotId,
625  taf_sim_States_t state,
627  void* contextPtr
629 );
630 
631 //--------------------------------------------------------------------------------------------------
636 //--------------------------------------------------------------------------------------------------
638 (
639  taf_sim_Id_t slotId,
641  taf_sim_LockResponse_t responsetype,
643  le_result_t result,
645  void* contextPtr
647 );
648 
649 //--------------------------------------------------------------------------------------------------
654 //--------------------------------------------------------------------------------------------------
655 typedef void (*taf_sim_IccidChangeHandlerFunc_t)
656 (
657  taf_sim_Id_t simId,
659  const char* LE_NONNULL iccid,
661  void* contextPtr
663 );
664 
665 
666 //--------------------------------------------------------------------------------------------------
670 //--------------------------------------------------------------------------------------------------
672 (
673  void
674 );
675 
676 
677 //--------------------------------------------------------------------------------------------------
681 //--------------------------------------------------------------------------------------------------
683 (
684  void
685 );
686 
687 
688 //--------------------------------------------------------------------------------------------------
692 //--------------------------------------------------------------------------------------------------
694 (
695  le_msg_SessionRef_t _ifgen_sessionRef
696 );
697 
698 
699 //--------------------------------------------------------------------------------------------------
703 //--------------------------------------------------------------------------------------------------
705 (
706  le_msg_SessionRef_t _ifgen_sessionRef,
707  bool isBlocking
708 );
709 
710 //--------------------------------------------------------------------------------------------------
716 //--------------------------------------------------------------------------------------------------
718 (
719  le_msg_SessionRef_t _ifgen_sessionRef,
722  void* contextPtr
724 );
725 
726 //--------------------------------------------------------------------------------------------------
730 //--------------------------------------------------------------------------------------------------
732 (
733  le_msg_SessionRef_t _ifgen_sessionRef,
736 );
737 
738 //--------------------------------------------------------------------------------------------------
745 //--------------------------------------------------------------------------------------------------
747 (
748  le_msg_SessionRef_t _ifgen_sessionRef,
751  void* contextPtr
753 );
754 
755 //--------------------------------------------------------------------------------------------------
759 //--------------------------------------------------------------------------------------------------
761 (
762  le_msg_SessionRef_t _ifgen_sessionRef,
765 );
766 
767 //--------------------------------------------------------------------------------------------------
775 //--------------------------------------------------------------------------------------------------
777 (
778  le_msg_SessionRef_t _ifgen_sessionRef,
779  taf_sim_Id_t slotId
781 );
782 
783 //--------------------------------------------------------------------------------------------------
789 //--------------------------------------------------------------------------------------------------
791 (
792  le_msg_SessionRef_t _ifgen_sessionRef,
793  taf_sim_Id_t slotId
795 );
796 
797 //--------------------------------------------------------------------------------------------------
805 //--------------------------------------------------------------------------------------------------
807 (
808  le_msg_SessionRef_t _ifgen_sessionRef,
809  taf_sim_Id_t slotId
811 );
812 
813 //--------------------------------------------------------------------------------------------------
824 //--------------------------------------------------------------------------------------------------
826 (
827  le_msg_SessionRef_t _ifgen_sessionRef,
828  taf_sim_Id_t slotId,
830  char* iccid,
832  size_t iccidSize
834 );
835 
836 //--------------------------------------------------------------------------------------------------
847 //--------------------------------------------------------------------------------------------------
849 (
850  le_msg_SessionRef_t _ifgen_sessionRef,
851  taf_sim_Id_t slotId,
853  char* imsi,
855  size_t imsiSize
857 );
858 
859 //--------------------------------------------------------------------------------------------------
870 //--------------------------------------------------------------------------------------------------
872 (
873  le_msg_SessionRef_t _ifgen_sessionRef,
874  taf_sim_Id_t slotId,
876  char* nameStr,
878  size_t nameStrSize
880 );
881 
882 //--------------------------------------------------------------------------------------------------
893 //--------------------------------------------------------------------------------------------------
895 (
896  le_msg_SessionRef_t _ifgen_sessionRef,
897  taf_sim_Id_t slotId,
899  char* phoneNumberStr,
901  size_t phoneNumberStrSize
903 );
904 
905 //--------------------------------------------------------------------------------------------------
916 //--------------------------------------------------------------------------------------------------
918 (
919  le_msg_SessionRef_t _ifgen_sessionRef,
920  taf_sim_Id_t slotId,
922  char* mccPtr,
924  size_t mccPtrSize,
926  char* mncPtr,
928  size_t mncPtrSize
930 );
931 
932 //--------------------------------------------------------------------------------------------------
938 //--------------------------------------------------------------------------------------------------
940 (
941  le_msg_SessionRef_t _ifgen_sessionRef
942 );
943 
944 //--------------------------------------------------------------------------------------------------
953 //--------------------------------------------------------------------------------------------------
955 (
956  le_msg_SessionRef_t _ifgen_sessionRef,
957  taf_sim_Id_t slotId
959 );
960 
961 //--------------------------------------------------------------------------------------------------
972 //--------------------------------------------------------------------------------------------------
974 (
975  le_msg_SessionRef_t _ifgen_sessionRef,
976  taf_sim_Id_t slotId,
978  taf_sim_LockType_t lockType,
980  const char* LE_NONNULL pin
982 );
983 
984 //--------------------------------------------------------------------------------------------------
994 //--------------------------------------------------------------------------------------------------
996 (
997  le_msg_SessionRef_t _ifgen_sessionRef,
998  taf_sim_Id_t slotId,
1000  taf_sim_LockType_t lockType,
1002  const char* LE_NONNULL oldpin,
1004  const char* LE_NONNULL newpin
1006 );
1007 
1008 //--------------------------------------------------------------------------------------------------
1018 //--------------------------------------------------------------------------------------------------
1020 (
1021  le_msg_SessionRef_t _ifgen_sessionRef,
1022  taf_sim_Id_t slotId
1024 );
1025 
1026 //--------------------------------------------------------------------------------------------------
1036 //--------------------------------------------------------------------------------------------------
1038 (
1039  le_msg_SessionRef_t _ifgen_sessionRef,
1040  taf_sim_Id_t slotId,
1042  uint32_t* remainingPukTriesPtrPtr
1044 );
1045 
1046 //--------------------------------------------------------------------------------------------------
1056 //--------------------------------------------------------------------------------------------------
1058 (
1059  le_msg_SessionRef_t _ifgen_sessionRef,
1060  taf_sim_Id_t slotId,
1062  taf_sim_LockType_t lockType,
1064  const char* LE_NONNULL pin
1066 );
1067 
1068 //--------------------------------------------------------------------------------------------------
1079 //--------------------------------------------------------------------------------------------------
1081 (
1082  le_msg_SessionRef_t _ifgen_sessionRef,
1083  taf_sim_Id_t slotId,
1085  taf_sim_LockType_t lockType,
1087  const char* LE_NONNULL pin
1089 );
1090 
1091 //--------------------------------------------------------------------------------------------------
1103 //--------------------------------------------------------------------------------------------------
1105 (
1106  le_msg_SessionRef_t _ifgen_sessionRef,
1107  taf_sim_Id_t slotId,
1109  taf_sim_LockType_t lockType,
1111  const char* LE_NONNULL puk,
1113  const char* LE_NONNULL newpin
1115 );
1116 
1117 //--------------------------------------------------------------------------------------------------
1125 //--------------------------------------------------------------------------------------------------
1127 (
1128  le_msg_SessionRef_t _ifgen_sessionRef,
1129  taf_sim_Id_t slotId,
1131  char* eid,
1133  size_t eidSize
1135 );
1136 
1137 //--------------------------------------------------------------------------------------------------
1145 //--------------------------------------------------------------------------------------------------
1147 (
1148  le_msg_SessionRef_t _ifgen_sessionRef,
1149  bool enable
1151 );
1152 
1153 //--------------------------------------------------------------------------------------------------
1161 //--------------------------------------------------------------------------------------------------
1163 (
1164  le_msg_SessionRef_t _ifgen_sessionRef,
1165  bool* enablePtr
1167 );
1168 
1169 //--------------------------------------------------------------------------------------------------
1178 //--------------------------------------------------------------------------------------------------
1180 (
1181  le_msg_SessionRef_t _ifgen_sessionRef,
1182  taf_sim_Id_t slotId,
1184  taf_sim_AppType_t apptype,
1186  uint8_t* channelPtrPtr
1188 );
1189 
1190 //--------------------------------------------------------------------------------------------------
1198 //--------------------------------------------------------------------------------------------------
1200 (
1201  le_msg_SessionRef_t _ifgen_sessionRef,
1202  taf_sim_Id_t slotId,
1204  uint8_t channel
1206 );
1207 
1208 //--------------------------------------------------------------------------------------------------
1218 //--------------------------------------------------------------------------------------------------
1220 (
1221  le_msg_SessionRef_t _ifgen_sessionRef,
1222  taf_sim_Id_t simId,
1224  uint8_t channel,
1226  const uint8_t* commandApduPtr,
1228  size_t commandApduSize,
1230  uint8_t* responseApduPtr,
1232  size_t* responseApduSizePtr
1234 );
1235 
1236 //--------------------------------------------------------------------------------------------------
1246 //--------------------------------------------------------------------------------------------------
1248 (
1249  le_msg_SessionRef_t _ifgen_sessionRef,
1250  taf_sim_Id_t simId,
1252  const uint8_t* commandApduPtr,
1254  size_t commandApduSize,
1256  uint8_t* responseApduPtr,
1258  size_t* responseApduSizePtr
1260 );
1261 
1262 //--------------------------------------------------------------------------------------------------
1275 //--------------------------------------------------------------------------------------------------
1277 (
1278  le_msg_SessionRef_t _ifgen_sessionRef,
1279  taf_sim_Id_t simId,
1281  taf_sim_Command_t command,
1283  const char* LE_NONNULL fileIdentifier,
1285  uint8_t p1,
1287  uint8_t p2,
1289  uint8_t p3,
1291  const uint8_t* dataPtr,
1293  size_t dataSize,
1295  const char* LE_NONNULL path,
1297  uint8_t* sw1Ptr,
1299  uint8_t* sw2Ptr,
1301  uint8_t* responsePtr,
1303  size_t* responseSizePtr
1305 );
1306 
1307 //--------------------------------------------------------------------------------------------------
1321 //--------------------------------------------------------------------------------------------------
1323 (
1324  le_msg_SessionRef_t _ifgen_sessionRef,
1325  taf_sim_Id_t simId,
1327  taf_sim_Manufacturer_t manufacturer
1329 );
1330 
1331 //--------------------------------------------------------------------------------------------------
1345 //--------------------------------------------------------------------------------------------------
1347 (
1348  le_msg_SessionRef_t _ifgen_sessionRef,
1349  taf_sim_Id_t simId,
1351  taf_sim_Manufacturer_t manufacturer
1353 );
1354 
1355 //--------------------------------------------------------------------------------------------------
1368 //--------------------------------------------------------------------------------------------------
1370 (
1371  le_msg_SessionRef_t _ifgen_sessionRef,
1372  taf_sim_Id_t simId,
1374  le_onoff_t power
1376 );
1377 
1378 //--------------------------------------------------------------------------------------------------
1386 //--------------------------------------------------------------------------------------------------
1388 (
1389  le_msg_SessionRef_t _ifgen_sessionRef,
1390  taf_sim_Id_t simId
1392 );
1393 
1394 //--------------------------------------------------------------------------------------------------
1405 //--------------------------------------------------------------------------------------------------
1407 (
1408  le_msg_SessionRef_t _ifgen_sessionRef,
1409  taf_sim_Id_t simId,
1411  bool* isEcsPtr
1413 );
1414 
1415 //--------------------------------------------------------------------------------------------------
1422 //--------------------------------------------------------------------------------------------------
1424 (
1425  le_msg_SessionRef_t _ifgen_sessionRef,
1428  void* contextPtr
1430 );
1431 
1432 //--------------------------------------------------------------------------------------------------
1436 //--------------------------------------------------------------------------------------------------
1438 (
1439  le_msg_SessionRef_t _ifgen_sessionRef,
1442 );
1443 
1444 //--------------------------------------------------------------------------------------------------
1452 //--------------------------------------------------------------------------------------------------
1454 (
1455  le_msg_SessionRef_t _ifgen_sessionRef
1456 );
1457 
1458 //--------------------------------------------------------------------------------------------------
1468 //--------------------------------------------------------------------------------------------------
1470 (
1471  le_msg_SessionRef_t _ifgen_sessionRef,
1472  taf_sim_FPLMNListRef_t fplmnListRef,
1474  const char* LE_NONNULL mcc,
1476  const char* LE_NONNULL mnc
1478 );
1479 
1480 //--------------------------------------------------------------------------------------------------
1493 //--------------------------------------------------------------------------------------------------
1495 (
1496  le_msg_SessionRef_t _ifgen_sessionRef,
1497  taf_sim_FPLMNListRef_t fplmnListRef,
1499  char* mccPtr,
1501  size_t mccPtrSize,
1503  char* mncPtr,
1505  size_t mncPtrSize
1507 );
1508 
1509 //--------------------------------------------------------------------------------------------------
1521 //--------------------------------------------------------------------------------------------------
1523 (
1524  le_msg_SessionRef_t _ifgen_sessionRef,
1525  taf_sim_FPLMNListRef_t fplmnListRef,
1527  char* mccPtr,
1529  size_t mccPtrSize,
1531  char* mncPtr,
1533  size_t mncPtrSize
1535 );
1536 
1537 //--------------------------------------------------------------------------------------------------
1545 //--------------------------------------------------------------------------------------------------
1547 (
1548  le_msg_SessionRef_t _ifgen_sessionRef,
1549  taf_sim_Id_t simId
1551 );
1552 
1553 //--------------------------------------------------------------------------------------------------
1562 //--------------------------------------------------------------------------------------------------
1564 (
1565  le_msg_SessionRef_t _ifgen_sessionRef,
1566  taf_sim_FPLMNListRef_t fplmnListRef
1568 );
1569 
1570 //--------------------------------------------------------------------------------------------------
1580 //--------------------------------------------------------------------------------------------------
1582 (
1583  le_msg_SessionRef_t _ifgen_sessionRef,
1584  taf_sim_Id_t simId,
1586  taf_sim_FPLMNListRef_t fplmnListRef
1588 );
1589 
1590 //--------------------------------------------------------------------------------------------------
1598 //--------------------------------------------------------------------------------------------------
1600 (
1601  le_msg_SessionRef_t _ifgen_sessionRef,
1602  int32_t* countPtr
1604 );
1605 
1606 #endif // TAF_SIM_COMMON_H_INCLUDE_GUARD
Unknown error; not supported.
Definition: taf_sim_common.h:434
LE_SHARED le_result_t ifgen_taf_sim_SendCommand(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t simId, taf_sim_Command_t command, const char *LE_NONNULL fileIdentifier, uint8_t p1, uint8_t p2, uint8_t p3, const uint8_t *dataPtr, size_t dataSize, const char *LE_NONNULL path, uint8_t *sw1Ptr, uint8_t *sw2Ptr, uint8_t *responsePtr, size_t *responseSizePtr)
LE_SHARED void ifgen_taf_sim_CleanupCommonData(le_msg_SessionRef_t _ifgen_sessionRef)
Unlock PIN.
Definition: taf_sim_common.h:512
taf_sim_LockType_t
Definition: taf_sim_common.h:488
LE_SHARED le_result_t ifgen_taf_sim_SelectCard(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId)
Indicates the last item.
Definition: taf_sim_common.h:586
LE_SHARED le_result_t ifgen_taf_sim_EnterPIN(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, taf_sim_LockType_t lockType, const char *LE_NONNULL pin)
LE_SHARED le_result_t ifgen_taf_sim_CloseLogicalChannel(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, uint8_t channel)
Slot II is unspecified; use the current selected slot ID.
Definition: taf_sim_common.h:475
LE_SHARED le_result_t ifgen_taf_sim_GetHomeNetworkOperator(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, char *nameStr, size_t nameStrSize)
Updates a transparent elementary file.
Definition: taf_sim_common.h:582
Oberthur.
Definition: taf_sim_common.h:553
LE_SHARED taf_sim_AuthenticationResponseHandlerRef_t ifgen_taf_sim_AddAuthenticationResponseHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_AuthenticationResponseHandlerFunc_t handlerPtr, void *contextPtr)
Reads a transparent elementary file.
Definition: taf_sim_common.h:576
LE_SHARED le_result_t ifgen_taf_sim_Lock(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, taf_sim_LockType_t lockType, const char *LE_NONNULL pin)
void(* taf_sim_NewStateHandlerFunc_t)(taf_sim_Id_t slotId, taf_sim_States_t state, void *contextPtr)
Definition: taf_sim_common.h:622
SIM inserted in slot 1.
Definition: taf_sim_common.h:469
taf_sim_Command_t
Definition: taf_sim_common.h:574
LE_SHARED le_result_t ifgen_taf_sim_Unblock(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, taf_sim_LockType_t lockType, const char *LE_NONNULL puk, const char *LE_NONNULL newpin)
LE_SHARED le_result_t ifgen_taf_sim_GetAutomaticSelection(le_msg_SessionRef_t _ifgen_sessionRef, bool *enablePtr)
LE_SHARED void ifgen_taf_sim_RemoveAuthenticationResponseHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_AuthenticationResponseHandlerRef_t handlerRef)
LE_SHARED le_result_t ifgen_taf_sim_ChangePIN(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, taf_sim_LockType_t lockType, const char *LE_NONNULL oldpin, const char *LE_NONNULL newpin)
UICC application type is CSIM.
Definition: taf_sim_common.h:537
LE_SHARED le_result_t ifgen_taf_sim_SendApduOnChannel(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t simId, uint8_t channel, const uint8_t *commandApduPtr, size_t commandApduSize, uint8_t *responseApduPtr, size_t *responseApduSizePtr)
LE_SHARED taf_sim_FPLMNListRef_t ifgen_taf_sim_CreateFPLMNList(le_msg_SessionRef_t _ifgen_sessionRef)
LE_SHARED le_result_t ifgen_taf_sim_LocalSwapToCommercialSubscription(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t simId, taf_sim_Manufacturer_t manufacturer)
UICC application type is SIM.
Definition: taf_sim_common.h:531
Valid.
Definition: taf_sim_common.h:561
Poll error; not supported.
Definition: taf_sim_common.h:438
Command timeout error; not supported.
Definition: taf_sim_common.h:454
Lock type is PIN2.
Definition: taf_sim_common.h:492
LE_SHARED bool ifgen_taf_sim_IsReady(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId)
Terminal in SAP mode; not supported.
Definition: taf_sim_common.h:452
LE_SHARED bool ifgen_taf_sim_IsPresent(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId)
UICC application type is USIM.
Definition: taf_sim_common.h:533
LE_SHARED le_result_t ifgen_taf_sim_Reset(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t simId)
LE_SHARED void ifgen_taf_sim_InitCommonData(void)
Set lock.
Definition: taf_sim_common.h:516
LE_SHARED taf_sim_IccidChangeHandlerRef_t ifgen_taf_sim_AddIccidChangeHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_IccidChangeHandlerFunc_t handlerPtr, void *contextPtr)
LE_SHARED int32_t ifgen_taf_sim_GetRemainingPINTries(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId)
LE_SHARED le_result_t ifgen_taf_sim_Unlock(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, taf_sim_LockType_t lockType, const char *LE_NONNULL pin)
SIM card is absent.
Definition: taf_sim_common.h:422
SIM card is present and ready to use.
Definition: taf_sim_common.h:424
Lock type is pin unblocking key 2.
Definition: taf_sim_common.h:496
LE_SHARED le_result_t ifgen_taf_sim_SetPower(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t simId, le_onoff_t power)
LE_SHARED taf_sim_Id_t ifgen_taf_sim_GetSelectedCard(le_msg_SessionRef_t _ifgen_sessionRef)
Gemalto.
Definition: taf_sim_common.h:555
Gets response.
Definition: taf_sim_common.h:580
SIM card has error; either card is removed or not readable.
Definition: taf_sim_common.h:430
Indicates the last item.
Definition: taf_sim_common.h:563
LE_SHARED le_result_t ifgen_taf_sim_OpenSession(le_msg_SessionRef_t _ifgen_sessionRef, bool isBlocking)
Lock type is PIN1.
Definition: taf_sim_common.h:490
LE_SHARED le_result_t ifgen_taf_sim_GetFirstFPLMNOperator(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_FPLMNListRef_t fplmnListRef, char *mccPtr, size_t mccPtrSize, char *mncPtr, size_t mncPtrSize)
Reads a file record.
Definition: taf_sim_common.h:578
LE_SHARED le_result_t ifgen_taf_sim_GetIMSI(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, char *imsi, size_t imsiSize)
Volt mismatch; not supported.
Definition: taf_sim_common.h:442
Unknown, possibly removed; not supported.
Definition: taf_sim_common.h:446
Morpho.
Definition: taf_sim_common.h:559
struct taf_sim_FPLMNList * taf_sim_FPLMNListRef_t
Definition: taf_sim_common.h:410
taf_sim_Manufacturer_t
Definition: taf_sim_common.h:551
struct taf_sim_AuthenticationResponseHandler * taf_sim_AuthenticationResponseHandlerRef_t
Definition: taf_sim_common.h:605
Lock type is fixed dialing number.
Definition: taf_sim_common.h:498
Not supported.
Definition: taf_sim_common.h:428
Updates a file record.
Definition: taf_sim_common.h:584
Power down; not supported.
Definition: taf_sim_common.h:436
LE_SHARED le_result_t ifgen_taf_sim_SetAutomaticSelection(le_msg_SessionRef_t _ifgen_sessionRef, bool enable)
SIM card is present but not usable due to carrier restrictions.
Definition: taf_sim_common.h:426
LE_SHARED le_result_t ifgen_taf_sim_GetHomeNetworkMccMnc(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, char *mccPtr, size_t mccPtrSize, char *mncPtr, size_t mncPtrSize)
LE_SHARED le_result_t ifgen_taf_sim_GetICCID(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, char *iccid, size_t iccidSize)
LE_SHARED le_result_t ifgen_taf_sim_GetNextFPLMNOperator(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_FPLMNListRef_t fplmnListRef, char *mccPtr, size_t mccPtrSize, char *mncPtr, size_t mncPtrSize)
taf_sim_LockResponse_t
Definition: taf_sim_common.h:508
UICC application type is RSIM.
Definition: taf_sim_common.h:535
LE_SHARED taf_sim_FPLMNListRef_t ifgen_taf_sim_ReadFPLMNList(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t simId)
taf_sim_AppType_t
Definition: taf_sim_common.h:527
taf_sim_Id_t
Definition: taf_sim_common.h:465
Lock type is pin unblocking key 1.
Definition: taf_sim_common.h:494
void(* taf_sim_AuthenticationResponseHandlerFunc_t)(taf_sim_Id_t slotId, taf_sim_LockResponse_t responsetype, le_result_t result, void *contextPtr)
Definition: taf_sim_common.h:638
void(* taf_sim_IccidChangeHandlerFunc_t)(taf_sim_Id_t simId, const char *LE_NONNULL iccid, void *contextPtr)
Definition: taf_sim_common.h:656
LE_SHARED le_result_t ifgen_taf_sim_GetRemainingPUKTries(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, uint32_t *remainingPukTriesPtrPtr)
struct taf_sim_IccidChangeHandler * taf_sim_IccidChangeHandlerRef_t
Definition: taf_sim_common.h:613
No ATR received; not supported.
Definition: taf_sim_common.h:440
LE_SHARED le_result_t ifgen_taf_sim_GetSubscriberPhoneNumber(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, char *phoneNumberStr, size_t phoneNumberStrSize)
LE_SHARED le_result_t ifgen_taf_sim_GetEID(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, char *eid, size_t eidSize)
LE_SHARED le_result_t ifgen_taf_sim_OpenLogicalChannel(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, taf_sim_AppType_t apptype, uint8_t *channelPtrPtr)
Unknown application type.
Definition: taf_sim_common.h:529
LE_SHARED bool ifgen_taf_sim_HasLocalBinding(void)
LE_SHARED void ifgen_taf_sim_RemoveNewStateHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_NewStateHandlerRef_t handlerRef)
Definition: taf_sim_common.h:477
le_onoff_t
Definition: le_basics.h:95
Change PIN.
Definition: taf_sim_common.h:510
G&D.
Definition: taf_sim_common.h:557
taf_sim_States_t
Definition: taf_sim_common.h:418
Card returned technical problems; not supported.
Definition: taf_sim_common.h:448
UICC application type is ISIM.
Definition: taf_sim_common.h:539
LE_SHARED taf_sim_NewStateHandlerRef_t ifgen_taf_sim_AddNewStateHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_NewStateHandlerFunc_t handlerPtr, void *contextPtr)
Not supported.
Definition: taf_sim_common.h:467
Not supported.
Definition: taf_sim_common.h:473
#define LE_NONNULL
Definition: le_basics.h:368
Unlock PUK.
Definition: taf_sim_common.h:514
Parity error; not supported.
Definition: taf_sim_common.h:444
LE_SHARED void ifgen_taf_sim_RemoveIccidChangeHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_IccidChangeHandlerRef_t handlerRef)
le_result_t
Definition: le_basics.h:45
LE_SHARED le_result_t ifgen_taf_sim_LocalSwapToEmergencyCallSubscription(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t simId, taf_sim_Manufacturer_t manufacturer)
LE_SHARED le_result_t ifgen_taf_sim_WriteFPLMNList(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t simId, taf_sim_FPLMNListRef_t fplmnListRef)
SIM card state is unknown.
Definition: taf_sim_common.h:432
struct le_msg_Session * le_msg_SessionRef_t
Definition: le_messaging.h:860
struct taf_sim_NewStateHandler * taf_sim_NewStateHandlerRef_t
Definition: taf_sim_common.h:597
LE_SHARED le_result_t ifgen_taf_sim_IsEmergencyCallSubscriptionSelected(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t simId, bool *isEcsPtr)
LE_SHARED le_result_t ifgen_taf_sim_AddFPLMNOperator(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_FPLMNListRef_t fplmnListRef, const char *LE_NONNULL mcc, const char *LE_NONNULL mnc)
LE_SHARED le_result_t ifgen_taf_sim_SendApdu(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t simId, const uint8_t *commandApduPtr, size_t commandApduSize, uint8_t *responseApduPtr, size_t *responseApduSizePtr)
SIM card is present.
Definition: taf_sim_common.h:420
#define LE_SHARED
Definition: le_basics.h:297
LE_SHARED taf_sim_States_t ifgen_taf_sim_GetState(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId)
LE_SHARED le_result_t ifgen_taf_sim_GetSlotCount(le_msg_SessionRef_t _ifgen_sessionRef, int32_t *countPtr)
SIM inserted in slot 2.
Definition: taf_sim_common.h:471
LE_SHARED void ifgen_taf_sim_DeleteFPLMNList(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_FPLMNListRef_t fplmnListRef)
Card returned NULL bytes; not supported.
Definition: taf_sim_common.h:450