Snapdragon® Telematics Application Framework (TelAF) Interface Specification
taf_simRsp_server.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 
12 
13 #ifndef TAF_SIMRSP_INTERFACE_H_INCLUDE_GUARD
14 #define TAF_SIMRSP_INTERFACE_H_INCLUDE_GUARD
15 
16 
17 #include "legato.h"
18 
19 // Interface specific includes
20 #include "taf_sim_server.h"
21 
22 // Internal includes for this interface
23 #include "taf_simRsp_common.h"
24 //--------------------------------------------------------------------------------------------------
28 //--------------------------------------------------------------------------------------------------
29 le_msg_ServiceRef_t taf_simRsp_GetServiceRef
30 (
31  void
32 );
33 
34 //--------------------------------------------------------------------------------------------------
38 //--------------------------------------------------------------------------------------------------
40 (
41  void
42 );
43 
44 //--------------------------------------------------------------------------------------------------
48 //--------------------------------------------------------------------------------------------------
50 (
51  void
52 );
53 
54 
55 //--------------------------------------------------------------------------------------------------
58 //--------------------------------------------------------------------------------------------------
59 
60 
61 //--------------------------------------------------------------------------------------------------
65 //--------------------------------------------------------------------------------------------------
66 
67 
68 //--------------------------------------------------------------------------------------------------
72 //--------------------------------------------------------------------------------------------------
73 
74 
75 //--------------------------------------------------------------------------------------------------
79 //--------------------------------------------------------------------------------------------------
80 
81 
82 //--------------------------------------------------------------------------------------------------
87 //--------------------------------------------------------------------------------------------------
88 
89 
90 //--------------------------------------------------------------------------------------------------
94 //--------------------------------------------------------------------------------------------------
95 
96 
97 //--------------------------------------------------------------------------------------------------
101 //--------------------------------------------------------------------------------------------------
102 
103 
104 //--------------------------------------------------------------------------------------------------
108 //--------------------------------------------------------------------------------------------------
109 
110 
111 //--------------------------------------------------------------------------------------------------
115 //--------------------------------------------------------------------------------------------------
116 
117 
118 //--------------------------------------------------------------------------------------------------
122 //--------------------------------------------------------------------------------------------------
123 
124 
125 //--------------------------------------------------------------------------------------------------
129 //--------------------------------------------------------------------------------------------------
130 
131 
132 //--------------------------------------------------------------------------------------------------
136 //--------------------------------------------------------------------------------------------------
137 
138 
139 //--------------------------------------------------------------------------------------------------
143 //--------------------------------------------------------------------------------------------------
144 
145 
146 //--------------------------------------------------------------------------------------------------
150 //--------------------------------------------------------------------------------------------------
151 
152 
153 
154 //--------------------------------------------------------------------------------------------------
160 //--------------------------------------------------------------------------------------------------
162 (
165  void* contextPtr
167 );
168 
169 
170 
171 //--------------------------------------------------------------------------------------------------
175 //--------------------------------------------------------------------------------------------------
177 (
180 );
181 
182 
183 
184 //--------------------------------------------------------------------------------------------------
190 //--------------------------------------------------------------------------------------------------
192 (
195  void* contextPtr
197 );
198 
199 
200 
201 //--------------------------------------------------------------------------------------------------
205 //--------------------------------------------------------------------------------------------------
207 (
210 );
211 
212 
213 
214 //--------------------------------------------------------------------------------------------------
220 //--------------------------------------------------------------------------------------------------
222 (
225  void* contextPtr
227 );
228 
229 
230 
231 //--------------------------------------------------------------------------------------------------
235 //--------------------------------------------------------------------------------------------------
237 (
240 );
241 
242 
243 
244 //--------------------------------------------------------------------------------------------------
253 //--------------------------------------------------------------------------------------------------
255 (
256  taf_sim_Id_t slotId,
258  char* eid,
260  size_t eidSize
262 );
263 
264 
265 
266 //--------------------------------------------------------------------------------------------------
275 //--------------------------------------------------------------------------------------------------
277 (
278  taf_sim_Id_t slotId,
280  const char* LE_NONNULL activationCode,
282  const char* LE_NONNULL confirmationCode,
284  bool userConsentSupported
286 );
287 
288 
289 
290 //--------------------------------------------------------------------------------------------------
299 //--------------------------------------------------------------------------------------------------
301 (
302  taf_sim_Id_t slotId,
304  uint32_t profileId
306 );
307 
308 
309 
310 //--------------------------------------------------------------------------------------------------
319 //--------------------------------------------------------------------------------------------------
321 (
322  taf_sim_Id_t slotId,
324  uint32_t profileId,
326  bool enable
328 );
329 
330 
331 
332 //--------------------------------------------------------------------------------------------------
341 //--------------------------------------------------------------------------------------------------
343 (
344  taf_sim_Id_t slotId,
346  uint32_t profileId,
348  const char* LE_NONNULL nickName
350 );
351 
352 
353 
354 //--------------------------------------------------------------------------------------------------
363 //--------------------------------------------------------------------------------------------------
365 (
366  taf_sim_Id_t slotId,
368  taf_simRsp_ProfileListNodeRef_t* profileListPtr,
370  size_t* profileListSizePtr
372 );
373 
374 
375 
376 //--------------------------------------------------------------------------------------------------
386 //--------------------------------------------------------------------------------------------------
388 (
389  taf_sim_Id_t slotId,
391  const char* LE_NONNULL smdpAdress
393 );
394 
395 
396 
397 //--------------------------------------------------------------------------------------------------
407 //--------------------------------------------------------------------------------------------------
409 (
410  taf_sim_Id_t slotId,
412  char* smdpAdress,
414  size_t smdpAdressSize,
416  char* smdsdress,
418  size_t smdsdressSize
420 );
421 
422 
423 
424 //--------------------------------------------------------------------------------------------------
434 //--------------------------------------------------------------------------------------------------
436 (
437  taf_sim_Id_t slotId,
439  bool userConsent,
443 );
444 
445 
446 
447 //--------------------------------------------------------------------------------------------------
457 //--------------------------------------------------------------------------------------------------
459 (
460  taf_sim_Id_t slotId,
462  const char* LE_NONNULL code
464 );
465 
466 
467 
468 //--------------------------------------------------------------------------------------------------
477 //--------------------------------------------------------------------------------------------------
479 (
480  uint32_t index
482 );
483 
484 
485 
486 //--------------------------------------------------------------------------------------------------
494 //--------------------------------------------------------------------------------------------------
496 (
499 );
500 
501 
502 
503 //--------------------------------------------------------------------------------------------------
511 //--------------------------------------------------------------------------------------------------
513 (
516 );
517 
518 
519 
520 //--------------------------------------------------------------------------------------------------
529 //--------------------------------------------------------------------------------------------------
531 (
534  char* iccid,
536  size_t iccidSize
538 );
539 
540 
541 
542 //--------------------------------------------------------------------------------------------------
551 //--------------------------------------------------------------------------------------------------
553 (
556 );
557 
558 
559 
560 //--------------------------------------------------------------------------------------------------
569 //--------------------------------------------------------------------------------------------------
571 (
574  char* nickName,
576  size_t nickNameSize
578 );
579 
580 
581 
582 //--------------------------------------------------------------------------------------------------
591 //--------------------------------------------------------------------------------------------------
593 (
596  char* name,
598  size_t nameSize
600 );
601 
602 
603 
604 //--------------------------------------------------------------------------------------------------
613 //--------------------------------------------------------------------------------------------------
615 (
618  char* spn,
620  size_t spnSize
622 );
623 
624 
625 
626 //--------------------------------------------------------------------------------------------------
634 //--------------------------------------------------------------------------------------------------
636 (
639 );
640 
641 
642 
643 //--------------------------------------------------------------------------------------------------
651 //--------------------------------------------------------------------------------------------------
653 (
656 );
657 
658 
659 
660 //--------------------------------------------------------------------------------------------------
668 //--------------------------------------------------------------------------------------------------
669 uint32_t taf_simRsp_GetMask
670 (
673 );
674 
675 
676 #endif // TAF_SIMRSP_INTERFACE_H_INCLUDE_GUARD
bool taf_simRsp_GetProfileActiveStatus(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:1053
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
taf_simRsp_ProfileUserConsentHandlerRef_t taf_simRsp_AddProfileUserConsentHandler(taf_simRsp_ProfileUserConsentHandlerFunc_t handlerPtr, void *contextPtr)
Definition: taf_simRsp_client.c:596
taf_simRsp_ProfileType_t taf_simRsp_GetProfileType(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:1003
struct taf_simRsp_ProfileUserConsentHandler * taf_simRsp_ProfileUserConsentHandlerRef_t
Definition: taf_simRsp_common.h:260
le_result_t taf_simRsp_GetIccid(taf_simRsp_ProfileListNodeRef_t profileRef, char *iccid, size_t iccidSize)
Definition: taf_simRsp_client.c:1025
le_msg_ServiceRef_t taf_simRsp_GetServiceRef(void)
Definition: taf_simRsp_server.c:269
uint32_t taf_simRsp_GetProfileIndex(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:982
void taf_simRsp_AdvertiseService(void)
Definition: taf_simRsp_server.c:296
le_msg_SessionRef_t taf_simRsp_GetClientSessionRef(void)
Definition: taf_simRsp_server.c:282
taf_simRsp_ProfileType_t
Definition: taf_simRsp_common.h:126
le_result_t taf_simRsp_GetNickName(taf_simRsp_ProfileListNodeRef_t profileRef, char *nickName, size_t nickNameSize)
Definition: taf_simRsp_client.c:1075
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_GetServerAddress(taf_sim_Id_t slotId, char *smdpAdress, size_t smdpAdressSize, char *smdsdress, size_t smdsdressSize)
Definition: taf_simRsp_client.c:872
le_result_t taf_simRsp_SetServerAddress(taf_sim_Id_t slotId, const char *LE_NONNULL smdpAdress)
Definition: taf_simRsp_client.c:846
taf_simRsp_ProfileListNodeRef_t taf_simRsp_GetProfile(uint32_t index)
Definition: taf_simRsp_client.c:961
struct taf_simRsp_ProfileConfirmationCodeHandler * taf_simRsp_ProfileConfirmationCodeHandlerRef_t
Definition: taf_simRsp_common.h:268
le_result_t taf_simRsp_DeleteProfile(taf_sim_Id_t slotId, uint32_t profileId)
Definition: taf_simRsp_client.c:736
le_result_t taf_simRsp_GetEID(taf_sim_Id_t slotId, char *eid, size_t eidSize)
Definition: taf_simRsp_client.c:677
uint32_t taf_simRsp_GetMask(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:1200
taf_simRsp_ProfileClass_t taf_simRsp_GetProfileClass(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:1179
taf_simRsp_IconType_t taf_simRsp_GetIconType(taf_simRsp_ProfileListNodeRef_t profileRef)
Definition: taf_simRsp_client.c:1158
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
void taf_simRsp_RemoveProfileConfirmationCodeHandler(taf_simRsp_ProfileConfirmationCodeHandlerRef_t handlerRef)
Definition: taf_simRsp_client.c:655
taf_simRsp_IconType_t
Definition: taf_simRsp_common.h:143
taf_sim_Id_t
Definition: taf_sim_common.h:465
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_GetSpn(taf_simRsp_ProfileListNodeRef_t profileRef, char *spn, size_t spnSize)
Definition: taf_simRsp_client.c:1131
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_ProfileConfirmationCodeHandlerFunc_t)(taf_sim_Id_t slotId, const char *LE_NONNULL profileName, void *contextPtr)
Definition: taf_simRsp_common.h:311
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
#define LE_NONNULL
Definition: le_basics.h:368
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
le_result_t taf_simRsp_SetProfile(taf_sim_Id_t slotId, uint32_t profileId, bool enable)
Definition: taf_simRsp_client.c:761
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
struct le_msg_Session * le_msg_SessionRef_t
Definition: le_messaging.h:860
taf_simRsp_UserConsentReasonType_t
Definition: taf_simRsp_common.h:237
le_result_t taf_simRsp_ProvideUserConsent(taf_sim_Id_t slotId, bool userConsent, taf_simRsp_UserConsentReasonType_t reason)
Definition: taf_simRsp_client.c:907
void taf_simRsp_RemoveProfileUserConsentHandler(taf_simRsp_ProfileUserConsentHandlerRef_t handlerRef)
Definition: taf_simRsp_client.c:616
le_result_t taf_simRsp_ProvideConfirmationCode(taf_sim_Id_t slotId, const char *LE_NONNULL code)
Definition: taf_simRsp_client.c:936
taf_simRsp_ProfileDownloadHandlerRef_t taf_simRsp_AddProfileDownloadHandler(taf_simRsp_ProfileDownloadHandlerFunc_t handlerPtr, void *contextPtr)
Definition: taf_simRsp_client.c:557