Snapdragon® Telematics Application Framework (TelAF) Interface Specification
taf_simRsp_interface.h
Go to the documentation of this file.
1 
2 
3 /*
4  * ====================== WARNING ======================
5  *
6  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
7  * DO NOT MODIFY IN ANY WAY.
8  *
9  * ====================== WARNING ======================
10  */
11 
68 #ifndef TAF_SIMRSP_INTERFACE_H_INCLUDE_GUARD
69 #define TAF_SIMRSP_INTERFACE_H_INCLUDE_GUARD
70 
71 
72 #include "legato.h"
73 
74 // Interface specific includes
75 #include "taf_sim_interface.h"
76 
77 // Internal includes for this interface
78 #include "taf_simRsp_common.h"
79 //--------------------------------------------------------------------------------------------------
83 //--------------------------------------------------------------------------------------------------
84 typedef void (*taf_simRsp_DisconnectHandler_t)(void *);
85 
86 //--------------------------------------------------------------------------------------------------
98 //--------------------------------------------------------------------------------------------------
100 (
101  void
102 );
103 
104 //--------------------------------------------------------------------------------------------------
123 //--------------------------------------------------------------------------------------------------
125 (
126  void
127 );
128 
129 //--------------------------------------------------------------------------------------------------
137 //--------------------------------------------------------------------------------------------------
139 (
140  taf_simRsp_DisconnectHandler_t disconnectHandler,
141  void *contextPtr
142 );
143 
144 //--------------------------------------------------------------------------------------------------
155 //--------------------------------------------------------------------------------------------------
157 (
158  taf_simRsp_DisconnectHandler_t disconnectHandler,
159  void *contextPtr
160 );
161 
162 //--------------------------------------------------------------------------------------------------
173 //--------------------------------------------------------------------------------------------------
175 (
176  void
177 );
178 
179 //--------------------------------------------------------------------------------------------------
185 //--------------------------------------------------------------------------------------------------
187 (
190  void* contextPtr
192 );
193 
194 //--------------------------------------------------------------------------------------------------
198 //--------------------------------------------------------------------------------------------------
200 (
203 );
204 
205 //--------------------------------------------------------------------------------------------------
211 //--------------------------------------------------------------------------------------------------
213 (
216  void* contextPtr
218 );
219 
220 //--------------------------------------------------------------------------------------------------
224 //--------------------------------------------------------------------------------------------------
226 (
229 );
230 
231 //--------------------------------------------------------------------------------------------------
237 //--------------------------------------------------------------------------------------------------
239 (
242  void* contextPtr
244 );
245 
246 //--------------------------------------------------------------------------------------------------
250 //--------------------------------------------------------------------------------------------------
252 (
255 );
256 
257 //--------------------------------------------------------------------------------------------------
266 //--------------------------------------------------------------------------------------------------
268 (
269  taf_sim_Id_t slotId,
271  char* eid,
273  size_t eidSize
275 );
276 
277 //--------------------------------------------------------------------------------------------------
286 //--------------------------------------------------------------------------------------------------
288 (
289  taf_sim_Id_t slotId,
291  const char* LE_NONNULL activationCode,
293  const char* LE_NONNULL confirmationCode,
295  bool userConsentSupported
297 );
298 
299 //--------------------------------------------------------------------------------------------------
308 //--------------------------------------------------------------------------------------------------
310 (
311  taf_sim_Id_t slotId,
313  uint32_t profileId
315 );
316 
317 //--------------------------------------------------------------------------------------------------
326 //--------------------------------------------------------------------------------------------------
328 (
329  taf_sim_Id_t slotId,
331  uint32_t profileId,
333  bool enable
335 );
336 
337 //--------------------------------------------------------------------------------------------------
346 //--------------------------------------------------------------------------------------------------
348 (
349  taf_sim_Id_t slotId,
351  uint32_t profileId,
353  const char* LE_NONNULL nickName
355 );
356 
357 //--------------------------------------------------------------------------------------------------
366 //--------------------------------------------------------------------------------------------------
368 (
369  taf_sim_Id_t slotId,
371  taf_simRsp_ProfileListNodeRef_t* profileListPtr,
373  size_t* profileListSizePtr
375 );
376 
377 //--------------------------------------------------------------------------------------------------
387 //--------------------------------------------------------------------------------------------------
389 (
390  taf_sim_Id_t slotId,
392  const char* LE_NONNULL smdpAdress
394 );
395 
396 //--------------------------------------------------------------------------------------------------
406 //--------------------------------------------------------------------------------------------------
408 (
409  taf_sim_Id_t slotId,
411  char* smdpAdress,
413  size_t smdpAdressSize,
415  char* smdsdress,
417  size_t smdsdressSize
419 );
420 
421 //--------------------------------------------------------------------------------------------------
431 //--------------------------------------------------------------------------------------------------
433 (
434  taf_sim_Id_t slotId,
436  bool userConsent,
440 );
441 
442 //--------------------------------------------------------------------------------------------------
452 //--------------------------------------------------------------------------------------------------
454 (
455  taf_sim_Id_t slotId,
457  const char* LE_NONNULL code
459 );
460 
461 //--------------------------------------------------------------------------------------------------
470 //--------------------------------------------------------------------------------------------------
472 (
473  uint32_t index
475 );
476 
477 //--------------------------------------------------------------------------------------------------
485 //--------------------------------------------------------------------------------------------------
487 (
490 );
491 
492 //--------------------------------------------------------------------------------------------------
500 //--------------------------------------------------------------------------------------------------
502 (
505 );
506 
507 //--------------------------------------------------------------------------------------------------
516 //--------------------------------------------------------------------------------------------------
518 (
521  char* iccid,
523  size_t iccidSize
525 );
526 
527 //--------------------------------------------------------------------------------------------------
536 //--------------------------------------------------------------------------------------------------
538 (
541 );
542 
543 //--------------------------------------------------------------------------------------------------
552 //--------------------------------------------------------------------------------------------------
554 (
557  char* nickName,
559  size_t nickNameSize
561 );
562 
563 //--------------------------------------------------------------------------------------------------
572 //--------------------------------------------------------------------------------------------------
574 (
577  char* name,
579  size_t nameSize
581 );
582 
583 //--------------------------------------------------------------------------------------------------
592 //--------------------------------------------------------------------------------------------------
594 (
597  char* spn,
599  size_t spnSize
601 );
602 
603 //--------------------------------------------------------------------------------------------------
611 //--------------------------------------------------------------------------------------------------
613 (
616 );
617 
618 //--------------------------------------------------------------------------------------------------
626 //--------------------------------------------------------------------------------------------------
628 (
631 );
632 
633 //--------------------------------------------------------------------------------------------------
641 //--------------------------------------------------------------------------------------------------
642 uint32_t taf_simRsp_GetMask
643 (
646 );
647 
648 #endif // TAF_SIMRSP_INTERFACE_H_INCLUDE_GUARD
taf_simRsp_ProfileClass_t
Definition: taf_simRsp_common.h:160
void(* taf_simRsp_ProfileDownloadHandlerFunc_t)(taf_sim_Id_t slotId, taf_simRsp_DownloadStatus_t downloadStatus, taf_simRsp_DownloadErrorCause_t errorCause, void *contextPtr)
Definition: taf_simRsp_common.h:277
le_result_t taf_simRsp_GetProfileList(taf_sim_Id_t slotId, taf_simRsp_ProfileListNodeRef_t *profileListPtr, size_t *profileListSizePtr)
Definition: taf_simRsp_client.c:817
le_result_t taf_simRsp_GetIccid(taf_simRsp_ProfileListNodeRef_t profileRef, char *iccid, size_t iccidSize)
Definition: taf_simRsp_client.c:1025
le_result_t taf_simRsp_ProvideUserConsent(taf_sim_Id_t slotId, bool userConsent, taf_simRsp_UserConsentReasonType_t reason)
Definition: taf_simRsp_client.c:907
struct taf_simRsp_ProfileUserConsentHandler * taf_simRsp_ProfileUserConsentHandlerRef_t
Definition: taf_simRsp_common.h:260
le_result_t taf_simRsp_DeleteProfile(taf_sim_Id_t slotId, uint32_t profileId)
Definition: taf_simRsp_client.c:736
LE_FULL_API void taf_simRsp_SetNonExitServerDisconnectHandler(taf_simRsp_DisconnectHandler_t disconnectHandler, void *contextPtr)
Definition: taf_simRsp_client.c:457
void taf_simRsp_ConnectService(void)
Definition: taf_simRsp_client.c:291
le_result_t taf_simRsp_GetName(taf_simRsp_ProfileListNodeRef_t profileRef, char *name, size_t nameSize)
Definition: taf_simRsp_client.c:1103
void(* taf_simRsp_DisconnectHandler_t)(void *)
Definition: taf_simRsp_interface.h:84
taf_simRsp_ProfileType_t
Definition: taf_simRsp_common.h:126
void(* taf_simRsp_ProfileUserConsentHandlerFunc_t)(taf_sim_Id_t slotId, bool userConsentRequired, uint8_t mask, void *contextPtr)
Definition: taf_simRsp_common.h:294
le_result_t taf_simRsp_TryConnectService(void)
Definition: taf_simRsp_client.c:323
struct taf_simRsp_ProfileConfirmationCodeHandler * taf_simRsp_ProfileConfirmationCodeHandlerRef_t
Definition: taf_simRsp_common.h:268
uint32_t taf_simRsp_GetProfileIndex(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:982
void taf_simRsp_RemoveProfileConfirmationCodeHandler(taf_simRsp_ProfileConfirmationCodeHandlerRef_t handlerRef)
Definition: taf_simRsp_client.c:655
le_result_t taf_simRsp_AddProfile(taf_sim_Id_t slotId, const char *LE_NONNULL activationCode, const char *LE_NONNULL confirmationCode, bool userConsentSupported)
Definition: taf_simRsp_client.c:705
taf_simRsp_IconType_t taf_simRsp_GetIconType(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:1158
LE_FULL_API void taf_simRsp_SetServerDisconnectHandler(taf_simRsp_DisconnectHandler_t disconnectHandler, void *contextPtr)
Definition: taf_simRsp_client.c:380
le_result_t taf_simRsp_GetNickName(taf_simRsp_ProfileListNodeRef_t profileRef, char *nickName, size_t nickNameSize)
Definition: taf_simRsp_client.c:1075
taf_simRsp_ProfileClass_t taf_simRsp_GetProfileClass(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:1179
taf_simRsp_IconType_t
Definition: taf_simRsp_common.h:143
le_result_t taf_simRsp_ProvideConfirmationCode(taf_sim_Id_t slotId, const char *LE_NONNULL code)
Definition: taf_simRsp_client.c:936
le_result_t taf_simRsp_UpdateNickName(taf_sim_Id_t slotId, uint32_t profileId, const char *LE_NONNULL nickName)
Definition: taf_simRsp_client.c:789
taf_sim_Id_t
Definition: taf_sim_common.h:465
taf_simRsp_ProfileType_t taf_simRsp_GetProfileType(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:1003
le_result_t taf_simRsp_SetServerAddress(taf_sim_Id_t slotId, const char *LE_NONNULL smdpAdress)
Definition: taf_simRsp_client.c:846
le_result_t taf_simRsp_GetEID(taf_sim_Id_t slotId, char *eid, size_t eidSize)
Definition: taf_simRsp_client.c:677
void taf_simRsp_RemoveProfileUserConsentHandler(taf_simRsp_ProfileUserConsentHandlerRef_t handlerRef)
Definition: taf_simRsp_client.c:616
void(* taf_simRsp_ProfileConfirmationCodeHandlerFunc_t)(taf_sim_Id_t slotId, const char *LE_NONNULL profileName, void *contextPtr)
Definition: taf_simRsp_common.h:311
#define LE_NONNULL
Definition: le_basics.h:368
le_result_t
Definition: le_basics.h:45
struct taf_simRsp_ProfileDownloadHandler * taf_simRsp_ProfileDownloadHandlerRef_t
Definition: taf_simRsp_common.h:252
struct taf_simRsp_ProfileListNode * taf_simRsp_ProfileListNodeRef_t
Definition: taf_simRsp_common.h:118
bool taf_simRsp_GetProfileActiveStatus(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:1053
taf_simRsp_UserConsentReasonType_t
Definition: taf_simRsp_common.h:237
le_result_t taf_simRsp_GetSpn(taf_simRsp_ProfileListNodeRef_t profileRef, char *spn, size_t spnSize)
Definition: taf_simRsp_client.c:1131
#define LE_FULL_API
Definition: le_apiFeatures.h:42
taf_simRsp_ProfileUserConsentHandlerRef_t taf_simRsp_AddProfileUserConsentHandler(taf_simRsp_ProfileUserConsentHandlerFunc_t handlerPtr, void *contextPtr)
Definition: taf_simRsp_client.c:596
taf_simRsp_ProfileDownloadHandlerRef_t taf_simRsp_AddProfileDownloadHandler(taf_simRsp_ProfileDownloadHandlerFunc_t handlerPtr, void *contextPtr)
Definition: taf_simRsp_client.c:557
le_result_t taf_simRsp_GetServerAddress(taf_sim_Id_t slotId, char *smdpAdress, size_t smdpAdressSize, char *smdsdress, size_t smdsdressSize)
Definition: taf_simRsp_client.c:872
void taf_simRsp_RemoveProfileDownloadHandler(taf_simRsp_ProfileDownloadHandlerRef_t handlerRef)
Definition: taf_simRsp_client.c:577
taf_simRsp_ProfileConfirmationCodeHandlerRef_t taf_simRsp_AddProfileConfirmationCodeHandler(taf_simRsp_ProfileConfirmationCodeHandlerFunc_t handlerPtr, void *contextPtr)
Definition: taf_simRsp_client.c:635
void taf_simRsp_DisconnectService(void)
Definition: taf_simRsp_client.c:503
le_result_t taf_simRsp_SetProfile(taf_sim_Id_t slotId, uint32_t profileId, bool enable)
Definition: taf_simRsp_client.c:761
uint32_t taf_simRsp_GetMask(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:1200
taf_simRsp_ProfileListNodeRef_t taf_simRsp_GetProfile(uint32_t index)
Definition: taf_simRsp_client.c:961