le_ecall_common.h
Go to the documentation of this file.
32 //--------------------------------------------------------------------------------------------------36 //--------------------------------------------------------------------------------------------------39 //--------------------------------------------------------------------------------------------------43 //--------------------------------------------------------------------------------------------------46 //--------------------------------------------------------------------------------------------------51 //--------------------------------------------------------------------------------------------------54 //--------------------------------------------------------------------------------------------------58 //--------------------------------------------------------------------------------------------------62 //--------------------------------------------------------------------------------------------------66 //--------------------------------------------------------------------------------------------------80 //--------------------------------------------------------------------------------------------------84 //--------------------------------------------------------------------------------------------------95 //--------------------------------------------------------------------------------------------------99 //--------------------------------------------------------------------------------------------------159 //--------------------------------------------------------------------------------------------------163 //--------------------------------------------------------------------------------------------------174 //--------------------------------------------------------------------------------------------------178 //--------------------------------------------------------------------------------------------------211 //--------------------------------------------------------------------------------------------------215 //--------------------------------------------------------------------------------------------------/// Gasoline propulsion)226 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------/// Present Mic connection failure.232 #define LE_ECALL_DIAG_RESULT_PRESENT_MIC_CONNECTION_FAILURE 0x1/// Mic connection failure status.236 #define LE_ECALL_DIAG_RESULT_PRESENT_RIGHT_SPEAKER_FAILURE 0x10/// Right speaker failure status.242 #define LE_ECALL_DIAG_RESULT_PRESENT_IGNITION_LINE_FAILURE 0x400/// Ignition line failure status.246 #define LE_ECALL_DIAG_RESULT_PRESENT_STATUS_INDICATOR_FAILURE 0x4000/// Status indicator failure status.250 #define LE_ECALL_DIAG_RESULT_PRESENT_BATTERY_VOLTAGE_LOW 0x40000/// Battery voltage low failure status.252 #define LE_ECALL_DIAG_RESULT_PRESENT_CRASH_SENSOR_FAILURE 0x100000/// Crash sensor failure status.253 #define LE_ECALL_DIAG_RESULT_CRASH_SENSOR_FAILURE 0x200000/// Present Firmware image corruption failure.254 #define LE_ECALL_DIAG_RESULT_PRESENT_FIRMWARE_IMAGE_CORRUPTION 0x400000/// Firmware image corruption failure status.255 #define LE_ECALL_DIAG_RESULT_FIRMWARE_IMAGE_CORRUPTION 0x800000/// Present Comm module interface failure.256 #define LE_ECALL_DIAG_RESULT_PRESENT_COMM_MODULE_INTERFACE_FAILURE 0x1000000/// Comm module interface failure status.257 #define LE_ECALL_DIAG_RESULT_COMM_MODULE_INTERFACE_FAILURE 0x2000000/// Present GNSS receiver failure.258 #define LE_ECALL_DIAG_RESULT_PRESENT_GNSS_RECEIVER_FAILURE 0x4000000/// GNSS receiver failure status.262 #define LE_ECALL_DIAG_RESULT_PRESENT_GNSS_ANTENNA_FAILURE 0x40000000/// GNSS antenna failure status.264 #define LE_ECALL_DIAG_RESULT_PRESENT_COMM_MODULE_FAILURE 0x100000000/// Comm module failure status.266 #define LE_ECALL_DIAG_RESULT_PRESENT_EVENTS_MEMORY_OVERFLOW 0x400000000/// Events memory overflow status.267 #define LE_ECALL_DIAG_RESULT_EVENTS_MEMORY_OVERFLOW 0x800000000/// Present Crash profile memory overflow.268 #define LE_ECALL_DIAG_RESULT_PRESENT_CRASH_PROFILE_MEMORY_OVERFLOW 0x1000000000/// Crash profile memory overflow status.269 #define LE_ECALL_DIAG_RESULT_CRASH_PROFILE_MEMORY_OVERFLOW 0x2000000000/// Present Other critical failures.270 #define LE_ECALL_DIAG_RESULT_PRESENT_OTHER_CRITICAL_FAILURES 0x4000000000/// Other critical failures status.271 #define LE_ECALL_DIAG_RESULT_OTHER_CRITICAL_FAILURES 0x8000000000/// Present Other not critical failures.272 #define LE_ECALL_DIAG_RESULT_PRESENT_OTHER_NOT_CRITICAL_FAILURES 0x10000000000/// Other not critical failures status.277 //--------------------------------------------------------------------------------------------------282 //--------------------------------------------------------------------------------------------------/// Present Front collision indicator.295 #define LE_ECALL_CRASH_INFO_PRESENT_CRASH_FRONT_OR_SIDE 0x1000/// Front or side collision indicator.296 #define LE_ECALL_CRASH_INFO_CRASH_FRONT_OR_SIDE 0x2000/// Present Other types of damage indicator.297 #define LE_ECALL_CRASH_INFO_PRESENT_CRASH_ANOTHER_TYPE 0x4000/// Other types of damage indicator.302 //--------------------------------------------------------------------------------------------------306 //--------------------------------------------------------------------------------------------------319 //--------------------------------------------------------------------------------------------------323 //--------------------------------------------------------------------------------------------------327 //--------------------------------------------------------------------------------------------------332 //--------------------------------------------------------------------------------------------------334 (344 //--------------------------------------------------------------------------------------------------348 //--------------------------------------------------------------------------------------------------355 //--------------------------------------------------------------------------------------------------359 //--------------------------------------------------------------------------------------------------366 //--------------------------------------------------------------------------------------------------370 //--------------------------------------------------------------------------------------------------377 //--------------------------------------------------------------------------------------------------390 //--------------------------------------------------------------------------------------------------396 //--------------------------------------------------------------------------------------------------405 //--------------------------------------------------------------------------------------------------411 //--------------------------------------------------------------------------------------------------413 * This function exits from eCall Only mode. It configures the eCall operation mode to Normal mode,414 * the modem uses the default operation mode at power up (or after U/SIM hotswap). The modem behaves415 * following the U/SIM eCall operation mode; for example the U/SIM can be configured only for eCall,423 //--------------------------------------------------------------------------------------------------429 //--------------------------------------------------------------------------------------------------441 //--------------------------------------------------------------------------------------------------449 //--------------------------------------------------------------------------------------------------456 //--------------------------------------------------------------------------------------------------466 //--------------------------------------------------------------------------------------------------470 //--------------------------------------------------------------------------------------------------478 //--------------------------------------------------------------------------------------------------491 //--------------------------------------------------------------------------------------------------497 //--------------------------------------------------------------------------------------------------504 //--------------------------------------------------------------------------------------------------512 //--------------------------------------------------------------------------------------------------521 //--------------------------------------------------------------------------------------------------529 //--------------------------------------------------------------------------------------------------538 //--------------------------------------------------------------------------------------------------546 //--------------------------------------------------------------------------------------------------555 //--------------------------------------------------------------------------------------------------563 //--------------------------------------------------------------------------------------------------572 //--------------------------------------------------------------------------------------------------580 //--------------------------------------------------------------------------------------------------589 //--------------------------------------------------------------------------------------------------597 //--------------------------------------------------------------------------------------------------606 //--------------------------------------------------------------------------------------------------614 //--------------------------------------------------------------------------------------------------623 //--------------------------------------------------------------------------------------------------631 //--------------------------------------------------------------------------------------------------641 //--------------------------------------------------------------------------------------------------651 //--------------------------------------------------------------------------------------------------660 //--------------------------------------------------------------------------------------------------668 //--------------------------------------------------------------------------------------------------679 //--------------------------------------------------------------------------------------------------687 //--------------------------------------------------------------------------------------------------696 //--------------------------------------------------------------------------------------------------704 //--------------------------------------------------------------------------------------------------716 //--------------------------------------------------------------------------------------------------724 //--------------------------------------------------------------------------------------------------736 //--------------------------------------------------------------------------------------------------758 //--------------------------------------------------------------------------------------------------760 * Set the position Delta N-1 from position set in le_ecall_SetMsdPosition() transmitted by the MSD.770 //--------------------------------------------------------------------------------------------------788 //--------------------------------------------------------------------------------------------------790 * Set the position Delta N-2 from position set in le_ecall_SetMsdPositionN1() transmitted by the MSD.800 //--------------------------------------------------------------------------------------------------818 //--------------------------------------------------------------------------------------------------829 //--------------------------------------------------------------------------------------------------839 //--------------------------------------------------------------------------------------------------850 * @note This ECALL_DIAL_DURATION time is only applicable to initial call (call never established854 //--------------------------------------------------------------------------------------------------862 //--------------------------------------------------------------------------------------------------870 //--------------------------------------------------------------------------------------------------878 //--------------------------------------------------------------------------------------------------893 //--------------------------------------------------------------------------------------------------905 //--------------------------------------------------------------------------------------------------919 //--------------------------------------------------------------------------------------------------931 //--------------------------------------------------------------------------------------------------944 //--------------------------------------------------------------------------------------------------952 //--------------------------------------------------------------------------------------------------965 //--------------------------------------------------------------------------------------------------973 //--------------------------------------------------------------------------------------------------986 //--------------------------------------------------------------------------------------------------994 //--------------------------------------------------------------------------------------------------1007 //--------------------------------------------------------------------------------------------------1015 //--------------------------------------------------------------------------------------------------1022 * - For manual session, it is possible to end the ongoing session if the eCall is not connected1023 * (LE_ECALL_STATE_CONNECTED not yet received) and after LE_ECALL_STATE_STOPPED event is notified.1024 * - Using this API doesn't affect the NAD deregistration mechanism. However, it disables the call1033 //--------------------------------------------------------------------------------------------------1041 //--------------------------------------------------------------------------------------------------1050 //--------------------------------------------------------------------------------------------------1058 //--------------------------------------------------------------------------------------------------1062 * @note That PSAP number is not applied to Manually or Automatically initiated eCall. For those1075 //--------------------------------------------------------------------------------------------------1083 //--------------------------------------------------------------------------------------------------1088 * @note That PSAP number is not applied to Manually or Automatically initiated eCall. For those1102 //--------------------------------------------------------------------------------------------------1113 //--------------------------------------------------------------------------------------------------1118 * @note If FDN directory is updated with new dial numbers, be sure that the SIM card is refreshed.1124 //--------------------------------------------------------------------------------------------------1130 //--------------------------------------------------------------------------------------------------1132 * Set the NAD (network access device) deregistration time value. After termination of an emergency1133 * call the in-vehicle system remains registered on the network for the period of time, defined by1143 //--------------------------------------------------------------------------------------------------1151 //--------------------------------------------------------------------------------------------------1159 //--------------------------------------------------------------------------------------------------1167 //--------------------------------------------------------------------------------------------------1175 //--------------------------------------------------------------------------------------------------1183 //--------------------------------------------------------------------------------------------------1191 //--------------------------------------------------------------------------------------------------1199 //--------------------------------------------------------------------------------------------------1204 * Redial attempts stop once the call has been cleared down correctly, or if counter/timer reached1211 //--------------------------------------------------------------------------------------------------1219 //--------------------------------------------------------------------------------------------------1224 * Redial attempts stop once the call has been cleared down correctly, or if counter/timer reached1231 //--------------------------------------------------------------------------------------------------1239 //--------------------------------------------------------------------------------------------------1241 * Set the ECALL_DIAL_DURATION time. It's the maximum time the IVS have to connect the emergency1251 //--------------------------------------------------------------------------------------------------1259 //--------------------------------------------------------------------------------------------------1263 * When the delay is reached and IVS NAD didn't receive a call clear-down indication then the call1273 //--------------------------------------------------------------------------------------------------1281 //--------------------------------------------------------------------------------------------------1283 * Set the ECALL_AUTO_ANSWER_TIME time, the time interval wherein IVDS responds to incoming calls1293 //--------------------------------------------------------------------------------------------------1301 //--------------------------------------------------------------------------------------------------1312 //--------------------------------------------------------------------------------------------------1320 //--------------------------------------------------------------------------------------------------1328 * @note The ECALL_POST_TEST_REGISTRATION_TIME setting takes effect immediately and is persistent to1331 * @note An ECALL_POST_TEST_REGISTRATION_TIME value of zero means the IVS doesn't remain registered1339 //--------------------------------------------------------------------------------------------------1347 //--------------------------------------------------------------------------------------------------1355 //--------------------------------------------------------------------------------------------------1363 //--------------------------------------------------------------------------------------------------1371 //--------------------------------------------------------------------------------------------------1379 //--------------------------------------------------------------------------------------------------1387 //--------------------------------------------------------------------------------------------------1395 //--------------------------------------------------------------------------------------------------1403 //--------------------------------------------------------------------------------------------------1411 //--------------------------------------------------------------------------------------------------1419 //--------------------------------------------------------------------------------------------------1427 //--------------------------------------------------------------------------------------------------1436 //--------------------------------------------------------------------------------------------------1444 //--------------------------------------------------------------------------------------------------1453 //--------------------------------------------------------------------------------------------------1462 //--------------------------------------------------------------------------------------------------1472 //--------------------------------------------------------------------------------------------------1482 //--------------------------------------------------------------------------------------------------1484 * Reset the ERA-GLONASS crash severity parameter. Therefore that optional parameter is not included1493 //--------------------------------------------------------------------------------------------------1501 //--------------------------------------------------------------------------------------------------1511 //--------------------------------------------------------------------------------------------------1521 //--------------------------------------------------------------------------------------------------1532 //--------------------------------------------------------------------------------------------------1540 //--------------------------------------------------------------------------------------------------1550 //--------------------------------------------------------------------------------------------------1560 //--------------------------------------------------------------------------------------------------1571 //--------------------------------------------------------------------------------------------------1579 //--------------------------------------------------------------------------------------------------1589 //--------------------------------------------------------------------------------------------------1599 //--------------------------------------------------------------------------------------------------1601 * Reset the ERA-GLONASS coordinate system type. Therefore that optional parameter is not included1610 //--------------------------------------------------------------------------------------------------1618 //--------------------------------------------------------------------------------------------------1627 //--------------------------------------------------------------------------------------------------1635 //--------------------------------------------------------------------------------------------------1644 //--------------------------------------------------------------------------------------------------1652 //--------------------------------------------------------------------------------------------------1654 * Terminate NAD registered on the network. After termination of an emergency call the in-vehicle1655 * system remains registered on the network for a period of time, this API will deregister device1663 //--------------------------------------------------------------------------------------------------eCall session has lost synchronization and starts over.Definition: le_ecall_common.h:131Definition: le_ecall_common.h:71AL-ACK clear-down received.Definition: le_ecall_common.h:126Definition: le_ecall_common.h:133Pull mode (modem/host waits for MSD request from PSAP to send MSD).Definition: le_ecall_common.h:166Timeout for Timer T10 (see CEN-EN 16062, annex A)Definition: le_ecall_common.h:153Waiting for PSAP start indication.Definition: le_ecall_common.h:110Timeout for Timer T2 (see CEN-EN 16062, annex A)Definition: le_ecall_common.h:141PSAP start indication received.Definition: le_ecall_common.h:112Push mode (modem/host sends MSD to PSAP right after eCall is connected).Definition: le_ecall_common.h:168Timeout for Timer T6 (see CEN-EN 16062, annex A)Definition: le_ecall_common.h:147Light commercial vehicles (Class N1)Definition: le_ecall_common.h:187Timeout for Timer T7 (see CEN-EN 16062, annex A)Definition: le_ecall_common.h:149Coordinate system type is absent.Definition: le_ecall_common.h:309Coordinate system type WGS-84.Definition: le_ecall_common.h:311Timeout for Timer T9 (see CEN-EN 16062, annex A)Definition: le_ecall_common.h:151struct le_ecall_StateChangeHandler * le_ecall_StateChangeHandlerRef_tDefinition: le_ecall_common.h:324Coordinate system type PZ-90.Definition: le_ecall_common.h:313Timeout for Timer T3 (see CEN-EN 16062, annex A)Definition: le_ecall_common.h:143void(* le_ecall_StateChangeHandlerFunc_t)(le_ecall_CallRef_t ecallRef, le_ecall_State_t state, void *contextPtr)Definition: le_ecall_common.h:334Definition: le_ecall_common.h:128Timeout for Timer T5 (see CEN-EN 16062, annex A)Definition: le_ecall_common.h:145