394 #ifndef LE_ECALL_INTERFACE_H_INCLUDE_GUARD
395 #define LE_ECALL_INTERFACE_H_INCLUDE_GUARD
438 #define LE_ECALL_MSD_MAX_LEN 140
1003 const uint8_t* msdPtr,
1007 size_t msdNumElements
1036 size_t* msdNumElementsPtr
1170 size_t psapNumElements
1218 uint16_t* deregTimePtr
1325 uint16_t* attemptsPtr
1341 uint16_t* attemptsPtr
1357 uint16_t* durationPtr
1378 uint32_t crashSeverity
1480 #endif // LE_ECALL_INTERFACE_H_INCLUDE_GUARD
le_ecall_OpMode_t
Definition: le_ecall_interface.h:446
void(* le_ecall_StateChangeHandlerFunc_t)(le_ecall_State_t state, void *contextPtr)
Definition: le_ecall_interface.h:754
AL-ACK clear-down received.
Definition: le_ecall_interface.h:503
Present Left collision indicator.
Definition: le_ecall_interface.h:690
void le_ecall_RemoveStateChangeHandler(le_ecall_StateChangeHandlerRef_t addHandlerRef)
le_result_t le_ecall_StartTest(le_ecall_CallRef_t ecallRef)
Persistent eCall only mode.
Definition: le_ecall_interface.h:454
Present Battery failure.
Definition: le_ecall_interface.h:595
Definition: le_ecall_interface.h:512
le_result_t le_ecall_ForceOnlyMode(void)
Present Right speaker failure.
Definition: le_ecall_interface.h:559
Front collision indicator.
Definition: le_ecall_interface.h:687
le_result_t le_ecall_ResetMsdEraGlonassCrashSeverity(le_ecall_CallRef_t ecallRef)
le_result_t le_ecall_SetEraGlonassDialDuration(uint16_t duration)
Present Comm module interface failure.
Definition: le_ecall_interface.h:619
Present Other critical failures.
Definition: le_ecall_interface.h:661
le_result_t le_ecall_SetMsdEraGlonassDiagnosticResult(le_ecall_CallRef_t ecallRef, le_ecall_DiagnosticResultBitMask_t diagnosticResultMask)
MSD transmission has failed.
Definition: le_ecall_interface.h:497
Unknown state.
Definition: le_ecall_interface.h:467
Present Battery voltage low failure.
Definition: le_ecall_interface.h:601
le_result_t
Definition: le_basics.h:35
le_result_t le_ecall_SetMsdEraGlonassCrashSeverity(le_ecall_CallRef_t ecallRef, uint32_t crashSeverity)
le_result_t le_ecall_ForcePersistentOnlyMode(void)
le_result_t le_ecall_ImportMsd(le_ecall_CallRef_t ecallRef, const uint8_t *msdPtr, size_t msdNumElements)
Front or side collision indicator.
Definition: le_ecall_interface.h:723
le_result_t le_ecall_SetMsdTxMode(le_ecall_MsdTxMode_t mode)
void le_ecall_ConnectService(void)
Firmware image corruption failure status.
Definition: le_ecall_interface.h:616
Present Side collision indicator.
Definition: le_ecall_interface.h:714
Present Mic connection failure.
Definition: le_ecall_interface.h:547
Right speaker failure status.
Definition: le_ecall_interface.h:562
Present Right collision indicator.
Definition: le_ecall_interface.h:696
Other critical failures status.
Definition: le_ecall_interface.h:664
Crash profile memory overflow status.
Definition: le_ecall_interface.h:658
le_result_t le_ecall_GetMsdTxMode(le_ecall_MsdTxMode_t *modePtr)
LL-NACK received.
Definition: le_ecall_interface.h:488
Present Crash profile memory overflow.
Definition: le_ecall_interface.h:655
Present Front or side collision indicator.
Definition: le_ecall_interface.h:720
le_result_t le_ecall_ResetMsdEraGlonassCrashInfo(le_ecall_CallRef_t ecallRef)
Left speaker failure status.
Definition: le_ecall_interface.h:568
Rollover indicator.
Definition: le_ecall_interface.h:711
Present Other not critical failures.
Definition: le_ecall_interface.h:667
Ignition line failure status.
Definition: le_ecall_interface.h:580
eCall only mode.
Definition: le_ecall_interface.h:451
Pull mode (modem/host waits for MSD request from PSAP to send MSD).
Definition: le_ecall_interface.h:530
Side collision indicator.
Definition: le_ecall_interface.h:717
struct le_ecall_StateChangeHandler * le_ecall_StateChangeHandlerRef_t
Definition: le_ecall_interface.h:740
le_ecall_CrashInfoBitMask_t
Definition: le_ecall_interface.h:682
le_result_t le_ecall_GetConfiguredOperationMode(le_ecall_OpMode_t *opModePtr)
le_result_t le_ecall_ExportMsd(le_ecall_CallRef_t ecallRef, uint8_t *msdPtr, size_t *msdNumElementsPtr)
GNSS antenna failure status.
Definition: le_ecall_interface.h:640
le_result_t le_ecall_SetNadDeregistrationTime(uint16_t deregTime)
Present GNSS receiver failure.
Definition: le_ecall_interface.h:625
Normal mode.
Definition: le_ecall_interface.h:448
RAIM problem status.
Definition: le_ecall_interface.h:634
le_result_t le_ecall_GetPsapNumber(char *psap, size_t psapNumElements)
void le_ecall_DisconnectService(void)
Push mode (modem/host sends MSD to PSAP right after eCall is connected).
Definition: le_ecall_interface.h:533
le_result_t le_ecall_SetEraGlonassAutoDialAttempts(uint16_t attempts)
Other types of damage indicator.
Definition: le_ecall_interface.h:729
UIM failure status.
Definition: le_ecall_interface.h:586
Battery failure status.
Definition: le_ecall_interface.h:598
le_result_t le_ecall_SetEraGlonassManualDialAttempts(uint16_t attempts)
Speaker failure status.
Definition: le_ecall_interface.h:574
PSAP start indication received.
Definition: le_ecall_interface.h:482
le_ecall_DiagnosticResultBitMask_t
Definition: le_ecall_interface.h:545
Present RAIM problem.
Definition: le_ecall_interface.h:631
Present Front collision indicator.
Definition: le_ecall_interface.h:684
Other not critical failures status.
Definition: le_ecall_interface.h:670
le_result_t le_ecall_SetMsdPassengersCount(le_ecall_CallRef_t ecallRef, uint32_t paxCount)
Present Other types of damage indicator.
Definition: le_ecall_interface.h:726
le_ecall_State_t le_ecall_GetState(le_ecall_CallRef_t ecallRef)
LL-ACK received.
Definition: le_ecall_interface.h:491
Waiting for PSAP start indication.
Definition: le_ecall_interface.h:479
le_result_t le_ecall_End(le_ecall_CallRef_t ecallRef)
struct le_ecall_Call * le_ecall_CallRef_t
Definition: le_ecall_interface.h:430
le_result_t le_ecall_StartManual(le_ecall_CallRef_t ecallRef)
le_result_t le_ecall_ResetMsdEraGlonassDiagnosticResult(le_ecall_CallRef_t ecallRef)
MSD transmission is complete.
Definition: le_ecall_interface.h:494
Comm module failure status.
Definition: le_ecall_interface.h:646
le_result_t le_ecall_SetMsdEraGlonassCrashInfo(le_ecall_CallRef_t ecallRef, le_ecall_CrashInfoBitMask_t crashInfoMask)
Events memory overflow status.
Definition: le_ecall_interface.h:652
Present GNSS antenna failure.
Definition: le_ecall_interface.h:637
le_result_t le_ecall_SetMsdPosition(le_ecall_CallRef_t ecallRef, bool isTrusted, int32_t latitude, int32_t longitude, int32_t direction)
Present Rollover indicator.
Definition: le_ecall_interface.h:708
le_ecall_CallRef_t le_ecall_Create(void)
Status indicator failure status.
Definition: le_ecall_interface.h:592
Present UIM failure.
Definition: le_ecall_interface.h:583
Present indicator.
Definition: le_ecall_interface.h:702
MSD transmission is started.
Definition: le_ecall_interface.h:485
eCall session started.
Definition: le_ecall_interface.h:470
Present Left speaker failure.
Definition: le_ecall_interface.h:565
Rear impact indicator.
Definition: le_ecall_interface.h:705
Present Mic failure.
Definition: le_ecall_interface.h:553
le_result_t le_ecall_UseUSimNumbers(void)
le_result_t le_ecall_SetPsapNumber(const char *psap)
le_result_t le_ecall_GetEraGlonassManualDialAttempts(uint16_t *attemptsPtr)
Present Status indicator failure.
Definition: le_ecall_interface.h:589
Mic failure status.
Definition: le_ecall_interface.h:556
le_result_t le_ecall_GetNadDeregistrationTime(uint16_t *deregTimePtr)
Right collision indicator.
Definition: le_ecall_interface.h:699
le_result_t le_ecall_GetEraGlonassAutoDialAttempts(uint16_t *attemptsPtr)
Emergency call is established.
Definition: le_ecall_interface.h:473
Unsuccessful eCall session.
Definition: le_ecall_interface.h:517
le_result_t le_ecall_ExitOnlyMode(void)
Present Crash sensor failure.
Definition: le_ecall_interface.h:607
le_result_t le_ecall_GetEraGlonassDialDuration(uint16_t *durationPtr)
Present Speaker failure.
Definition: le_ecall_interface.h:571
AL-ACK received.
Definition: le_ecall_interface.h:500
Battery voltage low failure status.
Definition: le_ecall_interface.h:604
le_ecall_State_t
Definition: le_ecall_interface.h:465
le_ecall_MsdTxMode_t
Definition: le_ecall_interface.h:528
le_result_t le_ecall_SetIntervalBetweenDialAttempts(uint16_t pause)
Emergency call is disconnected.
Definition: le_ecall_interface.h:476
eCall session has been stopped by the PSAP.
Definition: le_ecall_interface.h:506
Present Events memory overflow.
Definition: le_ecall_interface.h:649
le_result_t le_ecall_StartAutomatic(le_ecall_CallRef_t ecallRef)
Comm module interface failure status.
Definition: le_ecall_interface.h:622
GNSS receiver failure status.
Definition: le_ecall_interface.h:628
eCall session has lost synchronization and starts over.
Definition: le_ecall_interface.h:509
Present Comm module failure.
Definition: le_ecall_interface.h:643
Mic connection failure status.
Definition: le_ecall_interface.h:550
le_ecall_StateChangeHandlerRef_t le_ecall_AddStateChangeHandler(le_ecall_StateChangeHandlerFunc_t handlerPtr, void *contextPtr)
Left collision indicator.
Definition: le_ecall_interface.h:693
Present Firmware image corruption failure.
Definition: le_ecall_interface.h:613
void le_ecall_Delete(le_ecall_CallRef_t ecallRef)
Present Ignition line failure.
Definition: le_ecall_interface.h:577
le_result_t le_ecall_GetIntervalBetweenDialAttempts(uint16_t *pausePtr)
Crash sensor failure status.
Definition: le_ecall_interface.h:610