| /* |
| * Copyright (C) 2022 ASR Microelectronic Ltd. |
| * |
| * Author: Shuo Dai <shuodai@asrmicro.com> |
| * |
| * This file contains proprietary information. |
| * No dissemination allowed without prior written permission from |
| * ASR Microelectronic Ltd. |
| * |
| * File Description: |
| * |
| * This file implements eCall demo application |
| */ |
| |
| /* OEM should rewrite to customize MSD content for automatically initiated eCall*/ |
| int HandleCrashEvent(void); |
| /* OEM should rewrite to customize MSD content for manually initiated eCall*/ |
| int HandleButtonEvent(void); |
| /* OEM should rewrite to customize MSD content when PULL requested from PSAP*/ |
| int HandleResendRequest(void); |
| /* OEM should rewrite to customize MSD content when PUSH requested from PSAP*/ |
| int HandleSendRequest(int type); |
| /* OEM should rewrite to customize behaviour when application init*/ |
| int HandleInitEvent(void); |
| /* OEM should rewrite to customize behaviour when MO dialing to 112*/ |
| int HandleDialEvent(void); |
| /* OEM should rewrite to customize behaviour when MSD transfer start*/ |
| int HandleMSDTransferStartEvent(void); |
| /* OEM should rewrite to customize behaviour when MSD transfer stop*/ |
| int HandleMSDTransferStopEvent(void); |
| /* OEM should rewrite to customize behaviour when voice channel establish*/ |
| int HandleVoiceChannelEstablishEvent(void); |
| |
| int ecallApp_Init(void); |
| int ecallApp_SendAtCmd(char *data, int sync); |
| int ecallApp_ControlPlayback(char *name, int ctrl); |