All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
le_ecall_interface.h
Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
198 #ifndef LE_ECALL_H_INCLUDE_GUARD
199 #define LE_ECALL_H_INCLUDE_GUARD
200 
201 
202 #include "legato.h"
203 
204 //--------------------------------------------------------------------------------------------------
208 //--------------------------------------------------------------------------------------------------
210 (
211  const char* serviceInstanceName
213 );
214 
215 //--------------------------------------------------------------------------------------------------
219 //--------------------------------------------------------------------------------------------------
221 (
222  void
223 );
224 
225 
226 //--------------------------------------------------------------------------------------------------
230 //--------------------------------------------------------------------------------------------------
231 typedef struct le_ecall_Obj* le_ecall_ObjRef_t;
232 
233 
234 //--------------------------------------------------------------------------------------------------
238 //--------------------------------------------------------------------------------------------------
239 typedef enum
240 {
243 
246 
249 
252 
255 
258 
261 
264 }
266 
267 
268 //--------------------------------------------------------------------------------------------------
272 //--------------------------------------------------------------------------------------------------
273 typedef struct le_ecall_StateChangeHandler* le_ecall_StateChangeHandlerRef_t;
274 
275 
276 //--------------------------------------------------------------------------------------------------
285 //--------------------------------------------------------------------------------------------------
286 typedef void (*le_ecall_StateChangeHandlerFunc_t)
287 (
288  le_ecall_State_t state,
289  void* contextPtr
290 );
291 
292 //--------------------------------------------------------------------------------------------------
296 //--------------------------------------------------------------------------------------------------
298 (
301 
302  void* contextPtr
304 );
305 
306 //--------------------------------------------------------------------------------------------------
310 //--------------------------------------------------------------------------------------------------
312 (
315 );
316 
317 //--------------------------------------------------------------------------------------------------
329 //--------------------------------------------------------------------------------------------------
331 (
332  void
333 );
334 
335 //--------------------------------------------------------------------------------------------------
342 //--------------------------------------------------------------------------------------------------
343 void le_ecall_Delete
344 (
345  le_ecall_ObjRef_t ecallRef
348 );
349 
350 //--------------------------------------------------------------------------------------------------
363 //--------------------------------------------------------------------------------------------------
365 (
366  le_ecall_ObjRef_t ecallRef,
369 
370  bool isTrusted,
373 
374  int32_t latitude,
377 
378  int32_t longitude,
381 
382  int32_t direction
385 );
386 
387 //--------------------------------------------------------------------------------------------------
400 //--------------------------------------------------------------------------------------------------
402 (
403  le_ecall_ObjRef_t ecallRef,
406 
407  uint32_t paxCount
410 );
411 
412 //--------------------------------------------------------------------------------------------------
426 //--------------------------------------------------------------------------------------------------
428 (
429  le_ecall_ObjRef_t ecallRef,
432 
433  const uint8_t* msdPtr,
436 
437  size_t msdNumElements
439 );
440 
441 //--------------------------------------------------------------------------------------------------
451 //--------------------------------------------------------------------------------------------------
453 (
454  le_ecall_ObjRef_t ecallRef
457 );
458 
459 //--------------------------------------------------------------------------------------------------
469 //--------------------------------------------------------------------------------------------------
471 (
472  le_ecall_ObjRef_t ecallRef
475 );
476 
477 //--------------------------------------------------------------------------------------------------
487 //--------------------------------------------------------------------------------------------------
489 (
490  le_ecall_ObjRef_t ecallRef
493 );
494 
495 //--------------------------------------------------------------------------------------------------
503 //--------------------------------------------------------------------------------------------------
505 (
506  le_ecall_ObjRef_t ecallRef
509 );
510 
511 //--------------------------------------------------------------------------------------------------
519 //--------------------------------------------------------------------------------------------------
521 (
522  le_ecall_ObjRef_t ecallRef
525 );
526 
527 
528 #endif // LE_ECALL_H_INCLUDE_GUARD
529 
le_ecall_State_t le_ecall_GetState(le_ecall_ObjRef_t ecallRef)
void(* le_ecall_StateChangeHandlerFunc_t)(le_ecall_State_t state, void *contextPtr)
Definition: le_ecall_interface.h:287
le_ecall_ObjRef_t le_ecall_Create(void)
void le_ecall_RemoveStateChangeHandler(le_ecall_StateChangeHandlerRef_t addHandlerRef)
le_result_t le_ecall_ImportMsd(le_ecall_ObjRef_t ecallRef, const uint8_t *msdPtr, size_t msdNumElements)
Successful eCall session.
Definition: le_ecall_interface.h:259
MSD transmission has failed.
Definition: le_ecall_interface.h:250
le_result_t le_ecall_StartManual(le_ecall_ObjRef_t ecallRef)
Unknown state.
Definition: le_ecall_interface.h:241
le_result_t
Definition: le_basics.h:34
le_result_t le_ecall_SetMsdPosition(le_ecall_ObjRef_t ecallRef, bool isTrusted, int32_t latitude, int32_t longitude, int32_t direction)
void le_ecall_StartClient(const char *serviceInstanceName)
struct le_ecall_StateChangeHandler * le_ecall_StateChangeHandlerRef_t
Definition: le_ecall_interface.h:273
void le_ecall_StopClient(void)
MSD transmission is complete.
Definition: le_ecall_interface.h:247
le_result_t le_ecall_StartTest(le_ecall_ObjRef_t ecallRef)
le_result_t le_ecall_SetMsdPassengersCount(le_ecall_ObjRef_t ecallRef, uint32_t paxCount)
le_result_t le_ecall_End(le_ecall_ObjRef_t ecallRef)
Emergency call is established.
Definition: le_ecall_interface.h:244
Unsuccessful eCall session.
Definition: le_ecall_interface.h:262
le_ecall_State_t
Definition: le_ecall_interface.h:239
eCall session has been stopped by the PSAP.
Definition: le_ecall_interface.h:253
eCall session has lost synchronization and starts over.
Definition: le_ecall_interface.h:256
void le_ecall_Delete(le_ecall_ObjRef_t ecallRef)
le_ecall_StateChangeHandlerRef_t le_ecall_AddStateChangeHandler(le_ecall_StateChangeHandlerFunc_t handlerPtr, void *contextPtr)
struct le_ecall_Obj * le_ecall_ObjRef_t
Definition: le_ecall_interface.h:231
le_result_t le_ecall_StartAutomatic(le_ecall_ObjRef_t ecallRef)