yu.dong | c33b307 | 2024-08-21 23:14:49 -0700 | [diff] [blame^] | 1 | /***************************************************************************** |
| 2 | * Copyright Statement: |
| 3 | * -------------------- |
| 4 | * This software is protected by Copyright and the information contained |
| 5 | * herein is confidential. The software may not be copied and the information |
| 6 | * contained herein may not be used or disclosed except with the written |
| 7 | * permission of MediaTek Inc. (C) 2005 |
| 8 | * |
| 9 | * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| 10 | * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| 11 | * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| 12 | * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| 13 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| 14 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| 15 | * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| 16 | * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| 17 | * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| 18 | * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| 19 | * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| 20 | * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| 21 | * |
| 22 | * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| 23 | * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| 24 | * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| 25 | * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| 26 | * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| 27 | * |
| 28 | * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| 29 | * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| 30 | * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| 31 | * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| 32 | * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| 33 | * |
| 34 | *****************************************************************************/ |
| 35 | /***************************************************************************** |
| 36 | * Copyright Statement: |
| 37 | * -------------------- |
| 38 | * This software is protected by Copyright and the information contained |
| 39 | * herein is confidential. The software may not be copied and the information |
| 40 | * contained herein may not be used or disclosed except with the written |
| 41 | * permission of MediaTek Inc. (C) 2003 |
| 42 | * |
| 43 | ****************************************************************************/ |
| 44 | |
| 45 | /***************************************************************************** |
| 46 | * Filename: |
| 47 | * --------- |
| 48 | * t302fa_struct.h |
| 49 | * |
| 50 | * Project: |
| 51 | * -------- |
| 52 | * Fax Over GSM |
| 53 | * |
| 54 | * Description: |
| 55 | * ------------ |
| 56 | * This file contains the data structures for messages between FA and T30 |
| 57 | * |
| 58 | * Author: |
| 59 | * ------- |
| 60 | * ------- |
| 61 | * |
| 62 | *============================================================================== |
| 63 | * HISTORY |
| 64 | * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 65 | *------------------------------------------------------------------------------ |
| 66 | * removed! |
| 67 | * |
| 68 | * removed! |
| 69 | * removed! |
| 70 | * removed! |
| 71 | * |
| 72 | * removed! |
| 73 | * removed! |
| 74 | * removed! |
| 75 | * |
| 76 | * removed! |
| 77 | * removed! |
| 78 | * removed! |
| 79 | * |
| 80 | *------------------------------------------------------------------------------ |
| 81 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 82 | *============================================================================ |
| 83 | *******************************************************************************/ |
| 84 | |
| 85 | /******************************************************************************** |
| 86 | * Copyright Statement: |
| 87 | * -------------------- |
| 88 | * |
| 89 | * This product has been developed using a protocol stack |
| 90 | * developed by Sasken Communication Technologies Limited. |
| 91 | * |
| 92 | ********************************************************************************/ |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | #ifndef T302FA_STRUCT_H |
| 98 | #define T302FA_STRUCT_H |
| 99 | |
| 100 | #include "kal_general_types.h" |
| 101 | #include "kal_public_defs.h" |
| 102 | |
| 103 | /* DATA REQ local param struct */ |
| 104 | typedef struct |
| 105 | { |
| 106 | LOCAL_PARA_HDR |
| 107 | kal_bool is_final; |
| 108 | kal_uint8 length; |
| 109 | kal_uint8 is_next_followed; |
| 110 | }t30_fa_data_req_struct; |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | //Robert |
| 116 | typedef struct |
| 117 | { |
| 118 | LOCAL_PARA_HDR |
| 119 | kal_uint8 access_rate; |
| 120 | kal_uint8 is_FR ; |
| 121 | }t30_fa_activate_req_struct; |
| 122 | |
| 123 | /* FA Command request local param struct */ |
| 124 | typedef struct |
| 125 | { |
| 126 | LOCAL_PARA_HDR |
| 127 | kal_bool is_final; |
| 128 | kal_uint8 length; |
| 129 | }t30_fa_cmd_req_struct; |
| 130 | |
| 131 | |
| 132 | typedef struct |
| 133 | { |
| 134 | LOCAL_PARA_HDR |
| 135 | kal_uint8 fax_rate; |
| 136 | kal_uint8 data_type; |
| 137 | }t30_fa_tx_data_req_struct; |
| 138 | |
| 139 | typedef struct |
| 140 | { |
| 141 | LOCAL_PARA_HDR |
| 142 | kal_uint8 fax_rate; |
| 143 | kal_uint8 data_type; |
| 144 | }t30_fa_rx_data_req_struct; |
| 145 | |
| 146 | |
| 147 | |
| 148 | |
| 149 | /*************************************************************************** |
| 150 | T32 <- FA * |
| 151 | ***************************************************************************/ |
| 152 | |
| 153 | /* FA Command indication local param struct */ |
| 154 | typedef struct |
| 155 | { |
| 156 | LOCAL_PARA_HDR |
| 157 | kal_bool is_final; |
| 158 | kal_uint8 length; |
| 159 | }fa_t30_cmd_ind_struct; |
| 160 | |
| 161 | /* FA Data indication local param struct */ |
| 162 | typedef struct |
| 163 | { |
| 164 | LOCAL_PARA_HDR |
| 165 | kal_uint8 length; |
| 166 | kal_bool is_final; |
| 167 | }fa_t30_data_ind_struct; |
| 168 | |
| 169 | typedef struct |
| 170 | { |
| 171 | LOCAL_PARA_HDR |
| 172 | kal_uint8 gsm_rate; |
| 173 | kal_uint8 is_FR; |
| 174 | kal_uint16 byte_cnt; |
| 175 | }fa_t30_rate_change_struct; |
| 176 | |
| 177 | |
| 178 | /* FA Activate Confirm message local param structure */ |
| 179 | typedef struct |
| 180 | { |
| 181 | LOCAL_PARA_HDR |
| 182 | kal_bool is_successful; |
| 183 | kal_uint8 gsm_rate; |
| 184 | kal_uint8 is_FR; |
| 185 | kal_uint16 byte_cnt; |
| 186 | }fa_t30_activate_cnf_struct; |
| 187 | |
| 188 | typedef struct |
| 189 | { |
| 190 | LOCAL_PARA_HDR |
| 191 | kal_bool is_successful; |
| 192 | }fa_t30_tx_data_cnf_struct; |
| 193 | |
| 194 | typedef struct |
| 195 | { |
| 196 | LOCAL_PARA_HDR |
| 197 | kal_bool is_successful; |
| 198 | }fa_t30_rx_data_cnf_struct; |
| 199 | |
| 200 | typedef struct { |
| 201 | LOCAL_PARA_HDR |
| 202 | kal_uint8 allowed_frame_num; |
| 203 | } fa_t30_get_data_ind_struct; |
| 204 | |
| 205 | |
| 206 | |
| 207 | #endif /* T302FA_STRUCT_H */ |
| 208 | |
| 209 | |