369 #ifndef LE_ECALL_H_INCLUDE_GUARD
370 #define LE_ECALL_H_INCLUDE_GUARD
413 #define LE_ECALL_MSD_MAX_LEN 282
974 const uint8_t* msdPtr,
978 size_t msdNumElements
1007 size_t* msdNumElementsPtr
1142 size_t psapNumElements
1190 uint16_t* deregTimePtr
1297 uint16_t* attemptsPtr
1313 uint16_t* attemptsPtr
1329 uint16_t* durationPtr
1350 uint32_t crashSeverity
1452 #endif // LE_ECALL_H_INCLUDE_GUARD
le_ecall_OpMode_t
Definition: le_ecall_interface.h:421
void(* le_ecall_StateChangeHandlerFunc_t)(le_ecall_State_t state, void *contextPtr)
Definition: le_ecall_interface.h:726
AL-ACK clear-down received.
Definition: le_ecall_interface.h:475
Present Left collision indicator.
Definition: le_ecall_interface.h:662
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:429
Present Battery failure.
Definition: le_ecall_interface.h:567
Definition: le_ecall_interface.h:484
le_result_t le_ecall_ForceOnlyMode(void)
Present Right speaker failure.
Definition: le_ecall_interface.h:531
Front collision indicator.
Definition: le_ecall_interface.h:659
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:591
Present Other critical failures.
Definition: le_ecall_interface.h:633
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:469
Unknown state.
Definition: le_ecall_interface.h:442
Present Battery voltage low failure.
Definition: le_ecall_interface.h:573
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:695
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:588
Present Side collision indicator.
Definition: le_ecall_interface.h:686
Present Mic connection failure.
Definition: le_ecall_interface.h:519
Right speaker failure status.
Definition: le_ecall_interface.h:534
Present Right collision indicator.
Definition: le_ecall_interface.h:668
Other critical failures status.
Definition: le_ecall_interface.h:636
Crash profile memory overflow status.
Definition: le_ecall_interface.h:630
le_result_t le_ecall_GetMsdTxMode(le_ecall_MsdTxMode_t *modePtr)
LL-NACK received.
Definition: le_ecall_interface.h:460
Present Crash profile memory overflow.
Definition: le_ecall_interface.h:627
Present Front or side collision indicator.
Definition: le_ecall_interface.h:692
le_result_t le_ecall_ResetMsdEraGlonassCrashInfo(le_ecall_CallRef_t ecallRef)
Left speaker failure status.
Definition: le_ecall_interface.h:540
Rollover indicator.
Definition: le_ecall_interface.h:683
Present Other not critical failures.
Definition: le_ecall_interface.h:639
Ignition line failure status.
Definition: le_ecall_interface.h:552
eCall only mode.
Definition: le_ecall_interface.h:426
Pull mode (modem/host waits for MSD request from PSAP to send MSD).
Definition: le_ecall_interface.h:502
Side collision indicator.
Definition: le_ecall_interface.h:689
struct le_ecall_StateChangeHandler * le_ecall_StateChangeHandlerRef_t
Definition: le_ecall_interface.h:712
le_ecall_CrashInfoBitMask_t
Definition: le_ecall_interface.h:654
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:612
le_result_t le_ecall_SetNadDeregistrationTime(uint16_t deregTime)
Present GNSS receiver failure.
Definition: le_ecall_interface.h:597
Normal mode.
Definition: le_ecall_interface.h:423
RAIM problem status.
Definition: le_ecall_interface.h:606
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:505
le_result_t le_ecall_SetEraGlonassAutoDialAttempts(uint16_t attempts)
Other types of damage indicator.
Definition: le_ecall_interface.h:701
UIM failure status.
Definition: le_ecall_interface.h:558
Battery failure status.
Definition: le_ecall_interface.h:570
le_result_t le_ecall_SetEraGlonassManualDialAttempts(uint16_t attempts)
Speaker failure status.
Definition: le_ecall_interface.h:546
le_ecall_DiagnosticResultBitMask_t
Definition: le_ecall_interface.h:517
Present RAIM problem.
Definition: le_ecall_interface.h:603
Present Front collision indicator.
Definition: le_ecall_interface.h:656
Other not critical failures status.
Definition: le_ecall_interface.h:642
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:698
le_ecall_State_t le_ecall_GetState(le_ecall_CallRef_t ecallRef)
LL-ACK received.
Definition: le_ecall_interface.h:463
Waiting for PSAP start indication.
Definition: le_ecall_interface.h:454
le_result_t le_ecall_End(le_ecall_CallRef_t ecallRef)
struct le_ecall_Call * le_ecall_CallRef_t
Definition: le_ecall_interface.h:405
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:466
Comm module failure status.
Definition: le_ecall_interface.h:618
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:624
Present GNSS antenna failure.
Definition: le_ecall_interface.h:609
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:680
le_ecall_CallRef_t le_ecall_Create(void)
Status indicator failure status.
Definition: le_ecall_interface.h:564
Present UIM failure.
Definition: le_ecall_interface.h:555
Present indicator.
Definition: le_ecall_interface.h:674
MSD transmission is started.
Definition: le_ecall_interface.h:457
eCall session started.
Definition: le_ecall_interface.h:445
Present Left speaker failure.
Definition: le_ecall_interface.h:537
Rear impact indicator.
Definition: le_ecall_interface.h:677
Present Mic failure.
Definition: le_ecall_interface.h:525
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:561
Mic failure status.
Definition: le_ecall_interface.h:528
le_result_t le_ecall_GetNadDeregistrationTime(uint16_t *deregTimePtr)
Right collision indicator.
Definition: le_ecall_interface.h:671
le_result_t le_ecall_GetEraGlonassAutoDialAttempts(uint16_t *attemptsPtr)
Emergency call is established.
Definition: le_ecall_interface.h:448
Unsuccessful eCall session.
Definition: le_ecall_interface.h:489
le_result_t le_ecall_ExitOnlyMode(void)
Present Crash sensor failure.
Definition: le_ecall_interface.h:579
le_result_t le_ecall_GetEraGlonassDialDuration(uint16_t *durationPtr)
Present Speaker failure.
Definition: le_ecall_interface.h:543
AL-ACK received.
Definition: le_ecall_interface.h:472
Battery voltage low failure status.
Definition: le_ecall_interface.h:576
le_ecall_State_t
Definition: le_ecall_interface.h:440
le_ecall_MsdTxMode_t
Definition: le_ecall_interface.h:500
le_result_t le_ecall_SetIntervalBetweenDialAttempts(uint16_t pause)
Emergency call is disconnected.
Definition: le_ecall_interface.h:451
eCall session has been stopped by the PSAP.
Definition: le_ecall_interface.h:478
Present Events memory overflow.
Definition: le_ecall_interface.h:621
le_result_t le_ecall_StartAutomatic(le_ecall_CallRef_t ecallRef)
Comm module interface failure status.
Definition: le_ecall_interface.h:594
GNSS receiver failure status.
Definition: le_ecall_interface.h:600
eCall session has lost synchronization and starts over.
Definition: le_ecall_interface.h:481
Present Comm module failure.
Definition: le_ecall_interface.h:615
Mic connection failure status.
Definition: le_ecall_interface.h:522
le_ecall_StateChangeHandlerRef_t le_ecall_AddStateChangeHandler(le_ecall_StateChangeHandlerFunc_t handlerPtr, void *contextPtr)
Left collision indicator.
Definition: le_ecall_interface.h:665
Present Firmware image corruption failure.
Definition: le_ecall_interface.h:585
void le_ecall_Delete(le_ecall_CallRef_t ecallRef)
Present Ignition line failure.
Definition: le_ecall_interface.h:549
le_result_t le_ecall_GetIntervalBetweenDialAttempts(uint16_t *pausePtr)
Crash sensor failure status.
Definition: le_ecall_interface.h:582