All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pa_ecall.h
Go to the documentation of this file.
1 
43 #ifndef LEGATO_PAECALL_INCLUDE_GUARD
44 #define LEGATO_PAECALL_INCLUDE_GUARD
45 
46 
47 #include "legato.h"
48 #include "le_mdm_defs.h"
49 #include "ecall_interface.h"
50 
51 //--------------------------------------------------------------------------------------------------
52 // Symbol and Enum definitions.
53 //--------------------------------------------------------------------------------------------------
54 
55 //--------------------------------------------------------------------------------------------------
59 //--------------------------------------------------------------------------------------------------
60 typedef enum
61 {
64 }
66 
67 //--------------------------------------------------------------------------------------------------
72 //--------------------------------------------------------------------------------------------------
73 typedef void (*pa_ecall_EventHandlerFunc_t)
74 (
75  le_ecall_State_t state
76 );
77 
78 //--------------------------------------------------------------------------------------------------
79 // APIs.
80 //--------------------------------------------------------------------------------------------------
81 
82 //--------------------------------------------------------------------------------------------------
90 //--------------------------------------------------------------------------------------------------
92 (
93  pa_ecall_EventHandlerFunc_t handlerFuncPtr
94 );
95 
96 //--------------------------------------------------------------------------------------------------
102 //--------------------------------------------------------------------------------------------------
104 (
105  le_event_HandlerRef_t handlerRef
106 );
107 
108 //--------------------------------------------------------------------------------------------------
115 //--------------------------------------------------------------------------------------------------
117 (
118  char psap[LE_TEL_NMBR_MAX_LEN]
119 );
120 
121 //--------------------------------------------------------------------------------------------------
128 //--------------------------------------------------------------------------------------------------
130 (
131  uint32_t redialAttemptsCount
132 );
133 
134 //--------------------------------------------------------------------------------------------------
141 //--------------------------------------------------------------------------------------------------
143 (
145 );
146 
147 //--------------------------------------------------------------------------------------------------
154 //--------------------------------------------------------------------------------------------------
156 (
157  uint8_t *msdPtr,
158  size_t msdSize
159 );
160 
161 //--------------------------------------------------------------------------------------------------
168 //--------------------------------------------------------------------------------------------------
170 (
171  void
172 );
173 
174 //--------------------------------------------------------------------------------------------------
181 //--------------------------------------------------------------------------------------------------
183 (
184  void
185 );
186 
187 //--------------------------------------------------------------------------------------------------
194 //--------------------------------------------------------------------------------------------------
196 (
197  void
198 );
199 
200 //--------------------------------------------------------------------------------------------------
207 //--------------------------------------------------------------------------------------------------
209 (
210  void
211 );
212 
213 #endif // LEGATO_PAECALL_INCLUDE_GUARD
le_result_t pa_ecall_SetMsdTxMode(pa_ecall_MsdTxMode_t mode)
le_result_t
Definition: le_basics.h:34
le_result_t pa_ecall_End(void)
le_result_t pa_ecall_LoadMsd(uint8_t *msdPtr, size_t msdSize)
le_ecall_State_t
Definition: ecall_interface.h:227
Pull mode (modem/host waits for MSD request from PSAP to send MSD).
Definition: pa_ecall.h:62
le_result_t pa_ecall_StartTest(void)
pa_ecall_MsdTxMode_t
Definition: pa_ecall.h:60
le_result_t pa_ecall_StartManual(void)
le_event_HandlerRef_t pa_ecall_AddEventHandler(pa_ecall_EventHandlerFunc_t handlerFuncPtr)
void(* pa_ecall_EventHandlerFunc_t)(le_ecall_State_t state)
Definition: pa_ecall.h:74
le_result_t pa_ecall_SetPsapNumber(char psap[LE_TEL_NMBR_MAX_LEN])
struct le_event_Handler * le_event_HandlerRef_t
Definition: le_eventLoop.h:750
Push mode (modem/host sends MSD to PSAP right after eCall is connected).
Definition: pa_ecall.h:63
le_result_t pa_ecall_SetMaxRedialAttempts(uint32_t redialAttemptsCount)
void pa_ecall_RemoveEventHandler(le_event_HandlerRef_t handlerRef)
le_result_t pa_ecall_StartAutomatic(void)