| /***************************************************************************** |
| * Copyright Statement: |
| * -------------------- |
| * This software is protected by Copyright and the information contained |
| * herein is confidential. The software may not be copied and the information |
| * contained herein may not be used or disclosed except with the written |
| * permission of MediaTek Inc. (C) 2005 |
| * |
| * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| * |
| * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| * |
| * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| * |
| *****************************************************************************/ |
| |
| /******************************************************************************* |
| * Filename: |
| * --------- |
| * l4b_urc_table.def |
| * |
| * |
| * Description: |
| * ------------ |
| * define the items in l4b_urc_table, and expended for |
| * MSG_ID_L4B_L4BXXX_YYY_URC_REQ |
| * |
| * Author: |
| * ------- |
| * Hong Yu |
| * |
| *============================================================================== |
| *******************************************************************************/ |
| |
| /* |
| This table defines AT URC that will be handeled by L4B |
| table item: {<ENUM_ID>,<URC_prefix>,<whether_send_to_ap>,<dest>,<forward_msg>,<forwrd_msg_func_ptr>} |
| <ENUM_ID> |
| -For enum expansion. The name convention is L4B_URC_XXX |
| <URC_prefix> |
| -The URC prefix for string compare. This string should be in upper case |
| -Please write in upper case |
| <urc_src> |
| -The source of this URC |
| -For multi-SIM modules, only protocol stack 1 module is enough. L4B will help to increment according to Gemini |
| -MOD_NIL means no matter what source the URC comes from, L4B needs to filter |
| <whether_send_to_ap> |
| -Indicate whether this URC shall be sent to AP after intercept |
| -If this field is KAL_TRUE, L4B will forward to <dest> first, and then send this URC to AP |
| -If this field is KAL_FALSE, L4B will not send this URC to AP, but only forward to <dest> |
| <dest> |
| -The forward destination of this URC, currently only L4B groups are allowed |
| -For multi-SIM modules, only protocol stack 1 module is enough. L4B will help to increment according to Gemini |
| <forward_msg> |
| -The MSG_ID_L4B_L4BXXX_YYY_URC_REQ to be sent by L4B to L4BXXX |
| <forward_msg_func_ptr> |
| -The ilm constructor function pointer for <forward_msg>, which type is L4B_URC_TO_ILM_FUNC |
| |
| Other URC not defined in l4b_urc_table will be forwarded to AP directly by L4B |
| */ |
| |
| /* L4BPWR URC begin */ |
| L4B_URC(L4B_URC_EIND128, "+EIND: 128", MOD_NIL, KAL_FALSE, MOD_L4BPWR, MSG_ID_L4B_L4BPWR_LWTG_POWERON_URC_REQ, l4bpwr_lwtg_poweron_urc_req_construct_func) |
| L4B_URC(L4B_URC_VPUP, "+VPUP", MOD_NIL, KAL_FALSE, MOD_L4BPWR, MSG_ID_L4B_L4BPWR_C2K_POWERON_URC_REQ, l4bpwr_c2k_poweron_urc_req_construct_func) |
| L4B_URC(L4B_URC_ETESTSIM, "+ETESTSIM", MOD_NIL, KAL_TRUE, MOD_L4BPWR, MSG_ID_L4B_L4BPWR_ETESTSIM_URC_REQ, l4bpwr_etestsim_urc_req_construct_func) |
| /* L4BPWR URC end */ |
| |
| /* L4BSMS URC begin */ |
| L4B_URC(L4B_URC_EIND1, "+EIND: 1", MOD_NIL, KAL_FALSE, MOD_L4BSMS, MSG_ID_L4B_L4BSMS_LWTG_SMS_READY_URC_REQ, l4bsms_sms_ready_urc_req_construct_func) |
| L4B_URC(L4B_URC_EC2KSMSON, "+EC2KSMSON", MOD_NIL, KAL_FALSE, MOD_L4BSMS, MSG_ID_L4B_L4BSMS_C2K_SMS_READY_URC_REQ, l4bsms_sms_ready_urc_req_construct_func) |
| L4B_URC(L4B_URC_ESMFULL, "+ESMFULL", MOD_NIL, KAL_FALSE, MOD_L4BSMS, MSG_ID_L4B_L4BSMS_C2K_SMS_FULL_URC_REQ, l4bsms_c2ksms_full_urc_req_construct_func) |
| /* L4BSMS URC end */ |
| |
| /* L4BCC URC begin */ |
| L4B_URC(L4B_URC_ESTKCNUM, "+ESTKCNUM:", MOD_NIL, KAL_FALSE, MOD_L4BCC, MSG_ID_L4B_L4BCC_ESTKCNUM_URC_REQ, l4bcc_estkcnum_urc_req_construct_func) |
| |
| L4B_URC(L4B_URC_ORIG, "^ORIG", MOD_CVAL, KAL_FALSE, MOD_L4BCC, MSG_ID_L4B_L4BCC_C2K_CC_CALL_ID_REQ, l4bcc_c2k_cs_orig_urc_req_construct_func) |
| L4B_URC(L4B_URC_CONN, "^CONN", MOD_CVAL, KAL_FALSE, MOD_L4BCC, MSG_ID_L4B_L4BCC_C2K_CC_ECPI_NOTI_REQ, l4bcc_c2k_cs_conn_urc_req_construct_func) |
| L4B_URC(L4B_URC_CEND, "^CEND", MOD_CVAL, KAL_FALSE, MOD_L4BCC, MSG_ID_L4B_L4BCC_C2K_CC_CEND_NOTI_REQ, l4bcc_c2k_cs_cend_urc_req_construct_func) |
| L4B_URC(L4B_URC_RING, "RING", MOD_CVAL, KAL_FALSE, MOD_L4BCC, MSG_ID_L4B_L4BCC_C2K_ECPI_NOTI_REQ, l4bcc_c2k_cs_ring_urc_req_construct_func) |
| L4B_URC(L4B_URC_C2KEAIC,"+EAIC:", MOD_CVAL,KAL_FALSE, MOD_L4BCC, MSG_ID_L4B_L4BCC_C2K_MT_PRESENT_NOTI_REQ, l4bcc_c2k_eaic_urc_req_construct_func) |
| #ifdef __TC10_IPC_CDMA_SUPPORT__ |
| L4B_URC(L4B_URC_LINECON,"+LINECON:", MOD_CVAL,KAL_FALSE, MOD_L4BCC, MSG_ID_L4B_L4BCC_C2K_CC_LINECON_IND, l4bcc_c2k_linecon_urc_req_construct_func) |
| #endif |
| /* L4BCC URC end */ |
| |
| /* L4BNW URC begin */ |
| L4B_URC(L4B_URC_ECSQ, "+ECSQ", MOD_NIL, KAL_FALSE, MOD_L4BNW, MSG_ID_L4B_L4BNW_ECSQ_URC_REQ, l4bnw_ecsq_urc_req_construct_func) |
| L4B_URC(L4B_URC_C2KEREG, "+C2KEREG", MOD_NIL, KAL_FALSE, MOD_L4BNW, MSG_ID_L4B_L4BNW_CVAL_EREG_URC_REQ, l4bnw_cval_ereg_urc_req_construct_func) |
| L4B_URC(L4B_URC_C2KEGREG, "+C2KEGREG", MOD_NIL, KAL_FALSE, MOD_L4BNW, MSG_ID_L4B_L4BNW_CVAL_EGREG_URC_REQ, l4bnw_cval_egreg_urc_req_construct_func) |
| L4B_URC(L4B_URC_CSQ, "+CSQ", MOD_NIL, KAL_FALSE, MOD_L4BNW, MSG_ID_L4B_L4BNW_CVAL_CSQ_URC_REQ, l4bnw_cval_csq_urc_req_construct_func) |
| L4B_URC(L4B_URC_HDRCSQ, "+HDRCSQ", MOD_NIL, KAL_FALSE, MOD_L4BNW, MSG_ID_L4B_L4BNW_CVAL_HDRCSQ_URC_REQ, l4bnw_cval_hdrcsq_urc_req_construct_func) |
| /* L4BNW URC end */ |
| |
| /* L4BSIM URC begin */ |
| L4B_URC(L4B_URC_EUSIM, "+EUSIM:", MOD_NIL, KAL_TRUE, MOD_L4BSIM, MSG_ID_L4B_L4BSIM_EUSIM_URC_REQ, l4bsim_eusim_urc_req_construct_func) |
| L4B_URC(L4B_URC_ESIMS, "+ESIMS:", MOD_NIL, KAL_TRUE, MOD_L4BSIM, MSG_ID_L4B_L4BSIM_ESIMS_URC_REQ, l4bsim_esims_urc_req_construct_func) |
| L4B_URC(L4B_URC_ESIMAPP, "+ESIMAPP:", MOD_NIL, KAL_TRUE, MOD_L4BSIM, MSG_ID_L4B_L4BSIM_ESIMAPP_URC_REQ, l4bsim_esimapp_urc_req_construct_func) |
| L4B_URC(L4B_URC_ESIMIND, "+ESIMIND:", MOD_NIL, KAL_TRUE, MOD_L4BSIM, MSG_ID_L4B_L4BSIM_ESIMIND_URC_REQ, l4bsim_esimind_urc_req_construct_func) |
| /* L4BSIM URC end */ |
| |
| /* L4BSAT URC begin */ |
| L4B_URC(L4B_URC_STKPCI, "+STKPCI:", MOD_ATCI, KAL_TRUE, MOD_L4BSAT, MSG_ID_L4B_L4BSAT_STKPCI_ATCI_URC_REQ, l4bsat_stkpci_urc_req_construct_func) |
| L4B_URC(L4B_URC_C2KSTKPCI, "+STKPCI:", MOD_CVAL, KAL_TRUE, MOD_L4BSAT, MSG_ID_L4B_L4BSAT_STKPCI_CVAL_URC_REQ, l4bsat_stkpci_urc_req_construct_func) |
| #if defined(__TC10__) && defined(__IPC_ADAPTER__) |
| L4B_URC(L4B_URC_STKIND, "+STKIND:", MOD_ATCI, KAL_TRUE, MOD_L4BSAT, MSG_ID_L4B_L4BSAT_STKIND_ATCI_URC_REQ, l4bsat_stkind_urc_req_construct_func) |
| L4B_URC(L4B_URC_C2KSTKIND, "+STKIND:", MOD_CVAL, KAL_TRUE, MOD_L4BSAT, MSG_ID_L4B_L4BSAT_STKIND_CVAL_URC_REQ, l4bsat_stkind_urc_req_construct_func) |
| #endif |
| /* L4BSAT URC end */ |