view cdg-hybrid/cdginc/m_sat.h @ 78:c632896652ba

mfw/ti1_key.c: properly initialize notified_keys array The code in this ti1_key.c layer needs to call kpd_subscribe() and kpd_define_key_notification() functions in order to register with the KPD driver. The original code passed KPD_NB_PHYSICAL_KEYS in nb_notified_keys - this constant is defined to 24 in kpd_cfg.h on all platforms of interest to us - but it only filled the first 23 slots in the notified_keys array, resulting in stack garbage being passed to KPD API functions. The fix consists of initializing the last missed array slot to KPD_KEY_RECORD, the key ID for the right side button on the D-Sample handset. On our current hw targets this "Record" button exists as the EXTRA button on our Luna keypad board and as the camera button on the Pirelli DP-L10. There is no support whatsoever for this button in current BMI+MFW, we have no plans of doing anything with Pirelli's camera button even if we do get our UI fw running on that phone, and the Mother's dream of building our own FreeCalypso handset with the same button arrangement as D-Sample (including the right side button) is currently very nebulous - but let us nonetheless handle the full set of buttons on the KPD to MFW interface, and let upper layers weed out unsupported buttons.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Oct 2020 23:41:01 +0000
parents 35f7a1dc9f7d
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : m_sat.h                                                        |
| SOURCE  : "msg\sat.mdf"                                                  |
| LastModified : "2003-02-25"                                              |
| IdAndVersion : "6147.609.99.011"                                         |
| SrcFileTime  : "Wed Nov 28 10:21:04 2007"                                |
| Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016                   |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!                |
+--------------------------------------------------------------------------+
*/

/* PRAGMAS
 * PREFIX                 : NONE
 * COMPATIBILITY_DEFINES  : NO (require PREFIX)
 * ALWAYS_ENUM_IN_VAL_FILE: NO
 * ENABLE_GROUP: NO
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef M_SAT_H
#define M_SAT_H


#define CDG_ENTER__M_SAT_H

#define CDG_ENTER__FILENAME _M_SAT_H
#define CDG_ENTER__M_SAT_H__FILE_TYPE CDGINC
#define CDG_ENTER__M_SAT_H__LAST_MODIFIED _2003_02_25
#define CDG_ENTER__M_SAT_H__ID_AND_VERSION _6147_609_99_011

#define CDG_ENTER__M_SAT_H__SRC_FILE_TIME _Wed_Nov_28_10_21_04_2007

#include "CDG_ENTER.h"

#undef CDG_ENTER__M_SAT_H

#undef CDG_ENTER__FILENAME


#include "m_sat.val"

/*
 * bitbuffer structure for the element cmd_prms
 */
#ifndef __T_BUF_cmd_prms__
#define __T_BUF_cmd_prms__
typedef struct
{
  U16 l_cmd_prms;
  U16 o_cmd_prms;
  U8  b_cmd_prms[248];
} BUF_cmd_prms; /* size <252> */
#endif
/*
 * bitbuffer structure for the element cap_cnf_parms
 */
#ifndef __T_BUF_cap_cnf_parms__
#define __T_BUF_cap_cnf_parms__
typedef struct
{
  U16 l_cap_cnf_parms;
  U16 o_cap_cnf_parms;
  U8  b_cap_cnf_parms[16];
} BUF_cap_cnf_parms; /* size <20> */
#endif
/*
 * bitbuffer structure for the element cap_cnf_parms_2
 */
#ifndef __T_BUF_cap_cnf_parms_2__
#define __T_BUF_cap_cnf_parms_2__
typedef struct
{
  U16 l_cap_cnf_parms_2;
  U16 o_cap_cnf_parms_2;
  U8  b_cap_cnf_parms_2[16];
} BUF_cap_cnf_parms_2; /* size <20> */
#endif
/*
 * bitbuffer structure for the element add
 */
#ifndef __T_BUF_add__
#define __T_BUF_add__
typedef struct
{
  U16 l_add;
  U16 o_add;
  U8  b_add[248];
} BUF_add; /* size <252> */
#endif
/*
 * bitbuffer structure for the element imei
 */
#ifndef __T_BUF_imei__
#define __T_BUF_imei__
typedef struct
{
  U16 l_imei;
  U16 o_imei;
  U8  b_imei[12];
} BUF_imei; /* size <16> */
#endif
/*
 * bitbuffer structure for the element ntw_msr_res
 */
#ifndef __T_BUF_ntw_msr_res__
#define __T_BUF_ntw_msr_res__
typedef struct
{
  U16 l_ntw_msr_res;
  U16 o_ntw_msr_res;
  U8  b_ntw_msr_res[20];
} BUF_ntw_msr_res; /* size <24> */
#endif
/*
 * bitbuffer structure for the element bcch_list
 */
#ifndef __T_BUF_bcch_list__
#define __T_BUF_bcch_list__
typedef struct
{
  U16 l_bcch_list;
  U16 o_bcch_list;
  U8  b_bcch_list[52];
} BUF_bcch_list; /* size <56> */
#endif
/*
 * bitbuffer structure for the element cb_page
 */
#ifndef __T_BUF_cb_page__
#define __T_BUF_cb_page__
typedef struct
{
  U16 l_cb_page;
  U16 o_cb_page;
  U8  b_cb_page[92];
} BUF_cb_page; /* size <96> */
#endif
/*
 * bitbuffer structure for the element cc_req_act
 */
#ifndef __T_BUF_cc_req_act__
#define __T_BUF_cc_req_act__
typedef struct
{
  U16 l_cc_req_act;
  U16 o_cc_req_act;
  U8  b_cc_req_act[244];
} BUF_cc_req_act; /* size <248> */
#endif
#ifndef __T_cmd_details__
#define __T_cmd_details__
/*
 * Command details
 * CCDGEN:WriteStruct_Count==599
 */
typedef struct
{
  U8                        cmd_nr;                   /*<  0:  1> Command number                                     */
  U8                        cmd_typ;                  /*<  1:  1> Command type                                       */
  U8                        cmd_qlf;                  /*<  2:  1> Command qualifier                                  */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
} T_cmd_details;
#endif

#ifndef __T_dev_ids__
#define __T_dev_ids__
/*
 * Device identities
 * CCDGEN:WriteStruct_Count==600
 */
typedef struct
{
  U8                        src_dev;                  /*<  0:  1> Source device                                      */
  U8                        dest_dev;                 /*<  1:  1> Destination device                                 */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_dev_ids;
#endif

#ifndef __T_pas_cmd__
#define __T_pas_cmd__
/*
 * Proactive SIM Command
 * CCDGEN:WriteStruct_Count==601
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        v_cmd_details;            /*<  3:  1> valid-flag                                         */
  T_cmd_details             cmd_details;              /*<  4:  4> Command details                                    */
  U8                        _align3;                  /*<  8:  1> alignment                                          */
  U8                        _align4;                  /*<  9:  1> alignment                                          */
  U8                        _align5;                  /*< 10:  1> alignment                                          */
  U8                        v_dev_ids;                /*< 11:  1> valid-flag                                         */
  T_dev_ids                 dev_ids;                  /*< 12:  4> Device identities                                  */
  U8                        _align6;                  /*< 16:  1> alignment                                          */
  U8                        _align7;                  /*< 17:  1> alignment                                          */
  U8                        _align8;                  /*< 18:  1> alignment                                          */
  U8                        v_cmd_prms;               /*< 19:  1> valid-flag                                         */
  BUF_cmd_prms              cmd_prms;                 /*< 20:252> Parameters                                         */
} T_pas_cmd;
#endif

#ifndef __T_ss_string__
#define __T_ss_string__
/*
 * SS string
 * CCDGEN:WriteStruct_Count==602
 */
typedef struct
{
  U8                        v_noa;                    /*<  0:  1> valid-flag                                         */
  U8                        noa;                      /*<  1:  1> Nature of address                                  */
  U8                        v_npi;                    /*<  2:  1> valid-flag                                         */
  U8                        npi;                      /*<  3:  1> Numbering plan indication                          */
  U8                        c_ss_ctrl_string;         /*<  4:  1> counter                                            */
  U8                        ss_ctrl_string[MAX_SS_STRING_LEN]; /*<  5: 60> SS control string                                  */
  U8                        _align0;                  /*< 65:  1> alignment                                          */
  U8                        _align1;                  /*< 66:  1> alignment                                          */
  U8                        _align2;                  /*< 67:  1> alignment                                          */
} T_ss_string;
#endif

#ifndef __T_addr__
#define __T_addr__
/*
 * Address
 * CCDGEN:WriteStruct_Count==603
 */
typedef struct
{
  U8                        v_noa;                    /*<  0:  1> valid-flag                                         */
  U8                        noa;                      /*<  1:  1> Nature of address                                  */
  U8                        v_npi;                    /*<  2:  1> valid-flag                                         */
  U8                        npi;                      /*<  3:  1> Numbering plan indication                          */
  U16                       c_bcdDigit;               /*<  4:  2> counter                                            */
  U8                        bcdDigit[MAX_PARTY_NUM_SAT]; /*<  6:480> BCD digit                                          */
  U8                        _align0;                  /*<486:  1> alignment                                          */
  U8                        _align1;                  /*<487:  1> alignment                                          */
} T_addr;
#endif

#ifndef __T_subaddr__
#define __T_subaddr__
/*
 * Subaddress
 * CCDGEN:WriteStruct_Count==604
 */
typedef struct
{
  U8                        v_tos;                    /*<  0:  1> valid-flag                                         */
  U8                        tos;                      /*<  1:  1> Type of subaddress                                 */
  U8                        v_oei;                    /*<  2:  1> valid-flag                                         */
  U8                        oei;                      /*<  3:  1> Odd/even indicator                                 */
  U8                        c_subadr_str;             /*<  4:  1> counter                                            */
  U8                        subadr_str[MAX_SUBADDR_NUM]; /*<  5: 20> sub address bytes                                  */
  U8                        _align0;                  /*< 25:  1> alignment                                          */
  U8                        _align1;                  /*< 26:  1> alignment                                          */
  U8                        _align2;                  /*< 27:  1> alignment                                          */
} T_subaddr;
#endif

#ifndef __T_res__
#define __T_res__
/*
 * Result
 * CCDGEN:WriteStruct_Count==605
 */
typedef struct
{
  U8                        gen;                      /*<  0:  1> General result                                     */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        v_add;                    /*<  3:  1> valid-flag                                         */
  BUF_add                   add;                      /*<  4:252> Additional information                             */
} T_res;
#endif

/*
 * Result 2
 * CCDGEN:WriteStruct_Count==606
 */
#ifndef __T_res_2__
#define __T_res_2__
typedef T_res T_res_2;
#endif
#ifndef __T_text__
#define __T_text__
/*
 * Text string
 * CCDGEN:WriteStruct_Count==607
 */
typedef struct
{
  U8                        dcs;                      /*<  0:  1> Data coding scheme                                 */
  U8                        c_text_str;               /*<  1:  1> counter                                            */
  U8                        text_str[MAX_TEXT_LEN];   /*<  2:160> Text string                                        */
  U8                        _align0;                  /*<162:  1> alignment                                          */
  U8                        _align1;                  /*<163:  1> alignment                                          */
} T_text;
#endif

/*
 * Text string2
 * CCDGEN:WriteStruct_Count==608
 */
#ifndef __T_text2__
#define __T_text2__
typedef T_text T_text2;
#endif
#ifndef __T_item_id__
#define __T_item_id__
/*
 * Item identifier
 * CCDGEN:WriteStruct_Count==609
 */
typedef struct
{
  U8                        item;                     /*<  0:  1> Choosen item                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_item_id;
#endif

#ifndef __T_cc_smc_loc_info__
#define __T_cc_smc_loc_info__
/*
 * CC and SMC Location Information
 * CCDGEN:WriteStruct_Count==610
 */
typedef struct
{
  U32                       mnc_mcc;                  /*<  0:  4> MNC and MCC                                        */
  U16                       lac;                      /*<  4:  2> Location area code                                 */
  U16                       cid;                      /*<  6:  2> Cell identity value                                */
} T_cc_smc_loc_info;
#endif

#ifndef __T_cbd_cmd__
#define __T_cbd_cmd__
/*
 * CB download
 * CCDGEN:WriteStruct_Count==611
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        v_dev_ids;                /*<  3:  1> valid-flag                                         */
  T_dev_ids                 dev_ids;                  /*<  4:  4> Device identities                                  */
  U8                        _align3;                  /*<  8:  1> alignment                                          */
  U8                        _align4;                  /*<  9:  1> alignment                                          */
  U8                        _align5;                  /*< 10:  1> alignment                                          */
  U8                        v_cb_page;                /*< 11:  1> valid-flag                                         */
  BUF_cb_page               cb_page;                  /*< 12: 96> Cell broadcast page                                */
} T_cbd_cmd;
#endif

#ifndef __T_dur__
#define __T_dur__
/*
 * Duration
 * CCDGEN:WriteStruct_Count==612
 */
typedef struct
{
  U8                        time_unit;                /*<  0:  1> Time unit                                          */
  U8                        time_ivl;                 /*<  1:  1> Time interval                                      */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_dur;
#endif

/*
 * Duration2
 * CCDGEN:WriteStruct_Count==613
 */
#ifndef __T_dur2__
#define __T_dur2__
typedef T_dur T_dur2;
#endif
#ifndef __T_ussd_string__
#define __T_ussd_string__
/*
 * USSD string
 * CCDGEN:WriteStruct_Count==614
 */
typedef struct
{
  U8                        dcs;                      /*<  0:  1> Data coding scheme                                 */
  U8                        c_ussd_str;               /*<  1:  1> counter                                            */
  U8                        ussd_str[MAX_SAT_USSD_LEN]; /*<  2:160> USSD string                                        */
  U8                        _align0;                  /*<162:  1> alignment                                          */
  U8                        _align1;                  /*<163:  1> alignment                                          */
} T_ussd_string;
#endif

#ifndef __T_ccr_allw__
#define __T_ccr_allw__
/*
 * Call control result, allowed
 * CCDGEN:WriteStruct_Count==615
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        v_addr;                   /*<  3:  1> valid-flag                                         */
  T_addr                    addr;                     /*<  4:488> Address                                            */
  U8                        _align3;                  /*<492:  1> alignment                                          */
  U8                        _align4;                  /*<493:  1> alignment                                          */
  U8                        _align5;                  /*<494:  1> alignment                                          */
  U8                        v_ss_string;              /*<495:  1> valid-flag                                         */
  T_ss_string               ss_string;                /*<496: 68> SS string                                          */
  U8                        _align6;                  /*<564:  1> alignment                                          */
  U8                        _align7;                  /*<565:  1> alignment                                          */
  U8                        _align8;                  /*<566:  1> alignment                                          */
  U8                        v_ussd_string;            /*<567:  1> valid-flag                                         */
  T_ussd_string             ussd_string;              /*<568:164> USSD string                                        */
  U8                        _align9;                  /*<732:  1> alignment                                          */
  U8                        _align10;                 /*<733:  1> alignment                                          */
  U8                        _align11;                 /*<734:  1> alignment                                          */
  U8                        v_cap_cnf_parms;          /*<735:  1> valid-flag                                         */
  BUF_cap_cnf_parms         cap_cnf_parms;            /*<736: 20> Capability configuration parameter 1               */
  U8                        _align12;                 /*<756:  1> alignment                                          */
  U8                        _align13;                 /*<757:  1> alignment                                          */
  U8                        _align14;                 /*<758:  1> alignment                                          */
  U8                        v_subaddr;                /*<759:  1> valid-flag                                         */
  T_subaddr                 subaddr;                  /*<760: 28> Subaddress                                         */
  U8                        v_alpha_id;               /*<788:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<789:241> Alpha identifier                                   */
  U8                        v_bc_rpi;                 /*<1030:  1> valid-flag                                         */
  U8                        bc_rpi;                   /*<1031:  1> BC Repeat Indicator                                */
  U8                        _align15;                 /*<1032:  1> alignment                                          */
  U8                        _align16;                 /*<1033:  1> alignment                                          */
  U8                        _align17;                 /*<1034:  1> alignment                                          */
  U8                        v_cap_cnf_parms_2;        /*<1035:  1> valid-flag                                         */
  BUF_cap_cnf_parms_2       cap_cnf_parms_2;          /*<1036: 20> Capability configuration parameter 2               */
} T_ccr_allw;
#endif

/*
 * Call control result, not allowed
 * CCDGEN:WriteStruct_Count==616
 */
#ifndef __T_ccr_not_allw__
#define __T_ccr_not_allw__
typedef T_ccr_allw T_ccr_not_allw;
#endif
/*
 * Call Control result, allowed with modifications
 * CCDGEN:WriteStruct_Count==617
 */
#ifndef __T_ccr_allw_mdfy__
#define __T_ccr_allw_mdfy__
typedef T_ccr_allw T_ccr_allw_mdfy;
#endif
#ifndef __T_cc_cmd__
#define __T_cc_cmd__
/*
 * Call control
 * CCDGEN:WriteStruct_Count==618
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        v_dev_ids;                /*<  3:  1> valid-flag                                         */
  T_dev_ids                 dev_ids;                  /*<  4:  4> Device identities                                  */
  U8                        _align3;                  /*<  8:  1> alignment                                          */
  U8                        _align4;                  /*<  9:  1> alignment                                          */
  U8                        _align5;                  /*< 10:  1> alignment                                          */
  U8                        v_addr;                   /*< 11:  1> valid-flag                                         */
  T_addr                    addr;                     /*< 12:488> Address                                            */
  U8                        _align6;                  /*<500:  1> alignment                                          */
  U8                        _align7;                  /*<501:  1> alignment                                          */
  U8                        _align8;                  /*<502:  1> alignment                                          */
  U8                        v_ss_string;              /*<503:  1> valid-flag                                         */
  T_ss_string               ss_string;                /*<504: 68> SS string                                          */
  U8                        _align9;                  /*<572:  1> alignment                                          */
  U8                        _align10;                 /*<573:  1> alignment                                          */
  U8                        _align11;                 /*<574:  1> alignment                                          */
  U8                        v_ussd_string;            /*<575:  1> valid-flag                                         */
  T_ussd_string             ussd_string;              /*<576:164> USSD string                                        */
  U8                        _align12;                 /*<740:  1> alignment                                          */
  U8                        _align13;                 /*<741:  1> alignment                                          */
  U8                        _align14;                 /*<742:  1> alignment                                          */
  U8                        v_cap_cnf_parms;          /*<743:  1> valid-flag                                         */
  BUF_cap_cnf_parms         cap_cnf_parms;            /*<744: 20> Capability configuration parameter 1               */
  U8                        _align15;                 /*<764:  1> alignment                                          */
  U8                        _align16;                 /*<765:  1> alignment                                          */
  U8                        _align17;                 /*<766:  1> alignment                                          */
  U8                        v_subaddr;                /*<767:  1> valid-flag                                         */
  T_subaddr                 subaddr;                  /*<768: 28> Subaddress                                         */
  U8                        _align18;                 /*<796:  1> alignment                                          */
  U8                        _align19;                 /*<797:  1> alignment                                          */
  U8                        _align20;                 /*<798:  1> alignment                                          */
  U8                        v_cc_smc_loc_info;        /*<799:  1> valid-flag                                         */
  T_cc_smc_loc_info         cc_smc_loc_info;          /*<800:  8> CC and SMC Location Information                    */
  U8                        _align21;                 /*<808:  1> alignment                                          */
  U8                        _align22;                 /*<809:  1> alignment                                          */
  U8                        _align23;                 /*<810:  1> alignment                                          */
  U8                        v_cap_cnf_parms_2;        /*<811:  1> valid-flag                                         */
  BUF_cap_cnf_parms_2       cap_cnf_parms_2;          /*<812: 20> Capability configuration parameter 2               */
} T_cc_cmd;
#endif

#ifndef __T_smpdu__
#define __T_smpdu__
/*
 * SMS TPDU
 * CCDGEN:WriteStruct_Count==619
 */
typedef struct
{
  U8                        c_tpdu_data;              /*<  0:  1> counter                                            */
  U8                        tpdu_data[MAX_SMS_TPDU_LEN]; /*<  1:184> Short Message Data                                 */
  U8                        _align0;                  /*<185:  1> alignment                                          */
  U8                        _align1;                  /*<186:  1> alignment                                          */
  U8                        _align2;                  /*<187:  1> alignment                                          */
} T_smpdu;
#endif

#ifndef __T_icon__
#define __T_icon__
/*
 * Icon Identifier
 * CCDGEN:WriteStruct_Count==620
 */
typedef struct
{
  U8                        icon_qu;                  /*<  0:  1> Icon Qualifier                                     */
  U8                        icon_id;                  /*<  1:  1> Icon Identifier                                    */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_icon;
#endif

/*
 * Icon Identifier
 * CCDGEN:WriteStruct_Count==621
 */
#ifndef __T_icon_2__
#define __T_icon_2__
typedef T_icon T_icon_2;
#endif
#ifndef __T_ev_list__
#define __T_ev_list__
/*
 * Event list
 * CCDGEN:WriteStruct_Count==622
 */
typedef struct
{
  U8                        c_event;                  /*<  0:  1> counter                                            */
  U8                        event[MAX_EVENT_LIST_LEN]; /*<  1: 10> List of events                                     */
  U8                        _align0;                  /*< 11:  1> alignment                                          */
} T_ev_list;
#endif

#ifndef __T_dtmf_string__
#define __T_dtmf_string__
/*
 * DTMF string
 * CCDGEN:WriteStruct_Count==623
 */
typedef struct
{
  U8                        c_bcdDigit;               /*<  0:  1> counter                                            */
  U8                        bcdDigit[MAX_DTMF_LEN];   /*<  1: 80> BCD digit                                          */
  U8                        _align0;                  /*< 81:  1> alignment                                          */
  U8                        _align1;                  /*< 82:  1> alignment                                          */
  U8                        _align2;                  /*< 83:  1> alignment                                          */
} T_dtmf_string;
#endif

#ifndef __T_ti_oct__
#define __T_ti_oct__
/*
 * Transaction Identifier octet
 * CCDGEN:WriteStruct_Count==624
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> Transaction Identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_ti_oct;
#endif

#ifndef __T_ti_list__
#define __T_ti_list__
/*
 * Transaction identifier list
 * CCDGEN:WriteStruct_Count==625
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        c_ti_oct;                 /*<  3:  1> counter                                            */
  T_ti_oct                  ti_oct[MAX_TI_LEN];       /*<  4: 64> Transaction Identifier octet                       */
} T_ti_list;
#endif

#ifndef __T_cause__
#define __T_cause__
/*
 * Cause information element
 * CCDGEN:WriteStruct_Count==626
 */
typedef struct
{
  U8                        c_cs;                     /*<  0:  1> counter                                            */
  U8                        cs[MAX_CAUSE_LEN];        /*<  1: 30> Cause                                              */
  U8                        _align0;                  /*< 31:  1> alignment                                          */
} T_cause;
#endif

#ifndef __T_sm_addr__
#define __T_sm_addr__
/*
 * Address 1
 * CCDGEN:WriteStruct_Count==627
 */
typedef struct
{
  U8                        v_noa;                    /*<  0:  1> valid-flag                                         */
  U8                        noa;                      /*<  1:  1> Nature of address                                  */
  U8                        v_npi;                    /*<  2:  1> valid-flag                                         */
  U8                        npi;                      /*<  3:  1> Numbering plan indication                          */
  U8                        c_bcdDigit;               /*<  4:  1> counter                                            */
  U8                        bcdDigit[MAX_SMS_DIGIT_LEN]; /*<  5: 20> BCD digit                                          */
  U8                        _align0;                  /*< 25:  1> alignment                                          */
  U8                        _align1;                  /*< 26:  1> alignment                                          */
  U8                        _align2;                  /*< 27:  1> alignment                                          */
} T_sm_addr;
#endif

/*
 * Address 2
 * CCDGEN:WriteStruct_Count==628
 */
#ifndef __T_sm_addr_2__
#define __T_sm_addr_2__
typedef T_sm_addr T_sm_addr_2;
#endif
#ifndef __T_smc_cmd__
#define __T_smc_cmd__
/*
 * Call control
 * CCDGEN:WriteStruct_Count==629
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        v_dev_ids;                /*<  3:  1> valid-flag                                         */
  T_dev_ids                 dev_ids;                  /*<  4:  4> Device identities                                  */
  U8                        _align3;                  /*<  8:  1> alignment                                          */
  U8                        _align4;                  /*<  9:  1> alignment                                          */
  U8                        _align5;                  /*< 10:  1> alignment                                          */
  U8                        v_sm_addr;                /*< 11:  1> valid-flag                                         */
  T_sm_addr                 sm_addr;                  /*< 12: 28> Address 1                                          */
  U8                        _align6;                  /*< 40:  1> alignment                                          */
  U8                        _align7;                  /*< 41:  1> alignment                                          */
  U8                        _align8;                  /*< 42:  1> alignment                                          */
  U8                        v_sm_addr_2;              /*< 43:  1> valid-flag                                         */
  T_sm_addr_2               sm_addr_2;                /*< 44: 28> Address 2                                          */
  U8                        _align9;                  /*< 72:  1> alignment                                          */
  U8                        _align10;                 /*< 73:  1> alignment                                          */
  U8                        _align11;                 /*< 74:  1> alignment                                          */
  U8                        v_cc_smc_loc_info;        /*< 75:  1> valid-flag                                         */
  T_cc_smc_loc_info         cc_smc_loc_info;          /*< 76:  8> CC and SMC Location Information                    */
} T_smc_cmd;
#endif

#ifndef __T_smcr_allw__
#define __T_smcr_allw__
/*
 * Call control result, allowed
 * CCDGEN:WriteStruct_Count==630
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        v_sm_addr;                /*<  3:  1> valid-flag                                         */
  T_sm_addr                 sm_addr;                  /*<  4: 28> Address 1                                          */
  U8                        _align3;                  /*< 32:  1> alignment                                          */
  U8                        _align4;                  /*< 33:  1> alignment                                          */
  U8                        _align5;                  /*< 34:  1> alignment                                          */
  U8                        v_sm_addr_2;              /*< 35:  1> valid-flag                                         */
  T_sm_addr_2               sm_addr_2;                /*< 36: 28> Address 2                                          */
  U8                        v_alpha_id;               /*< 64:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*< 65:241> Alpha identifier                                   */
  U8                        _align6;                  /*<306:  1> alignment                                          */
  U8                        _align7;                  /*<307:  1> alignment                                          */
} T_smcr_allw;
#endif

/*
 * Call control result, not allowed
 * CCDGEN:WriteStruct_Count==631
 */
#ifndef __T_smcr_not_allw__
#define __T_smcr_not_allw__
typedef T_smcr_allw T_smcr_not_allw;
#endif
/*
 * Call Control result, allowed with modifications
 * CCDGEN:WriteStruct_Count==632
 */
#ifndef __T_smcr_allw_mdfy__
#define __T_smcr_allw_mdfy__
typedef T_smcr_allw T_smcr_allw_mdfy;
#endif
#ifndef __T_at_resp__
#define __T_at_resp__
/*
 * AT response
 * CCDGEN:WriteStruct_Count==633
 */
typedef struct
{
  U8                        c_text_str;               /*<  0:  1> counter                                            */
  U8                        text_str[MAX_CMD_AT_LEN]; /*<  1:241> Text string                                        */
  U8                        _align0;                  /*<242:  1> alignment                                          */
  U8                        _align1;                  /*<243:  1> alignment                                          */
} T_at_resp;
#endif

#ifndef __T_chan_data__
#define __T_chan_data__
/*
 * Channel data
 * CCDGEN:WriteStruct_Count==634
 */
typedef struct
{
  U8                        c_ch_dat_str;             /*<  0:  1> counter                                            */
  U8                        ch_dat_str[241];          /*<  1:241> Channel data string                                */
  U8                        _align0;                  /*<242:  1> alignment                                          */
  U8                        _align1;                  /*<243:  1> alignment                                          */
} T_chan_data;
#endif

#ifndef __T_other_addr__
#define __T_other_addr__
/*
 * Other Address
 * CCDGEN:WriteStruct_Count==635
 */
typedef struct
{
  U8                        oth_addr_type;            /*<  0:  1> Type of local Address                              */
  U8                        v_ipv4_addr;              /*<  1:  1> valid-flag                                         */
  U8                        ipv4_addr[4];             /*<  2:  4> IPv4 address                                       */
  U8                        v_ipv6_addr;              /*<  6:  1> valid-flag                                         */
  U8                        ipv6_addr[16];            /*<  7: 16> IPv6 address                                       */
  U8                        _align0;                  /*< 23:  1> alignment                                          */
} T_other_addr;
#endif

/*
 * Data Destination Address
 * CCDGEN:WriteStruct_Count==636
 */
#ifndef __T_data_dest_addr__
#define __T_data_dest_addr__
typedef T_other_addr T_data_dest_addr;
#endif
#ifndef __T_if_transp_lev__
#define __T_if_transp_lev__
/*
 * Interface transport level
 * CCDGEN:WriteStruct_Count==637
 */
typedef struct
{
  U8                        trans_prot_type;          /*<  0:  1> Transport protocol type                            */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       port_number;              /*<  2:  2> Port number                                        */
} T_if_transp_lev;
#endif

#ifndef __T_browser_id__
#define __T_browser_id__
/*
 * Browser Identity
 * CCDGEN:WriteStruct_Count==638
 */
typedef struct
{
  U8                        browser;                  /*<  0:  1> Browser                                            */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_browser_id;
#endif

#ifndef __T_url__
#define __T_url__
/*
 * URL
 * CCDGEN:WriteStruct_Count==639
 */
typedef struct
{
  U8                        c_url_value;              /*<  0:  1> counter                                            */
  U8                        url_value[MAX_URL_LEN];   /*<  1:253> URL value                                          */
  U8                        _align0;                  /*<254:  1> alignment                                          */
  U8                        _align1;                  /*<255:  1> alignment                                          */
} T_url;
#endif

#ifndef __T_prov_file_ref__
#define __T_prov_file_ref__
/*
 * Provisioning File Reference
 * CCDGEN:WriteStruct_Count==640
 */
typedef struct
{
  U8                        c_prov_file_id;           /*<  0:  1> counter                                            */
  U8                        prov_file_id[MAX_PROV_F_PATH_LEN]; /*<  1: 16> Provisioning File Path Id                          */
  U8                        _align0;                  /*< 17:  1> alignment                                          */
  U8                        _align1;                  /*< 18:  1> alignment                                          */
  U8                        _align2;                  /*< 19:  1> alignment                                          */
} T_prov_file_ref;
#endif

#ifndef __T_brows_term_cause__
#define __T_brows_term_cause__
/*
 * Browser Termination Cause
 * CCDGEN:WriteStruct_Count==641
 */
typedef struct
{
  U8                        brows_term_s;             /*<  0:  1> Browser Termination Source                         */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_brows_term_cause;
#endif

#ifndef __T_chan_stat__
#define __T_chan_stat__
/*
 * Channel Status Parameter
 * CCDGEN:WriteStruct_Count==642
 */
typedef struct
{
  U8                        chan_stat_link;           /*<  0:  1> Channel Status Link                                */
  U8                        chan_stat_inf1;           /*<  1:  1> Channel Status Information1                        */
  U8                        chan_id;                  /*<  2:  1> Channel Status Identifier                          */
  U8                        chan_stat_inf2;           /*<  3:  1> Channel Status Information2                        */
} T_chan_stat;
#endif

#ifndef __T_evd_cmd__
#define __T_evd_cmd__
/*
 * Call control
 * CCDGEN:WriteStruct_Count==643
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        v_ev_list;                /*<  3:  1> valid-flag                                         */
  T_ev_list                 ev_list;                  /*<  4: 12> Event list                                         */
  U8                        _align3;                  /*< 16:  1> alignment                                          */
  U8                        _align4;                  /*< 17:  1> alignment                                          */
  U8                        _align5;                  /*< 18:  1> alignment                                          */
  U8                        v_dev_ids;                /*< 19:  1> valid-flag                                         */
  T_dev_ids                 dev_ids;                  /*< 20:  4> Device identities                                  */
  U8                        _align6;                  /*< 24:  1> alignment                                          */
  U8                        _align7;                  /*< 25:  1> alignment                                          */
  U8                        _align8;                  /*< 26:  1> alignment                                          */
  U8                        v_ti_list;                /*< 27:  1> valid-flag                                         */
  T_ti_list                 ti_list;                  /*< 28: 68> Transaction identifier list                        */
  U8                        _align9;                  /*< 96:  1> alignment                                          */
  U8                        _align10;                 /*< 97:  1> alignment                                          */
  U8                        _align11;                 /*< 98:  1> alignment                                          */
  U8                        v_addr;                   /*< 99:  1> valid-flag                                         */
  T_addr                    addr;                     /*<100:488> Address                                            */
  U8                        _align12;                 /*<588:  1> alignment                                          */
  U8                        _align13;                 /*<589:  1> alignment                                          */
  U8                        _align14;                 /*<590:  1> alignment                                          */
  U8                        v_subaddr;                /*<591:  1> valid-flag                                         */
  T_subaddr                 subaddr;                  /*<592: 28> Subaddress                                         */
  U8                        _align15;                 /*<620:  1> alignment                                          */
  U8                        _align16;                 /*<621:  1> alignment                                          */
  U8                        _align17;                 /*<622:  1> alignment                                          */
  U8                        v_cause;                  /*<623:  1> valid-flag                                         */
  T_cause                   cause;                    /*<624: 32> Cause information element                          */
  U8                        v_loc_state;              /*<656:  1> valid-flag                                         */
  U8                        loc_state;                /*<657:  1> Location status                                    */
  U8                        _align18;                 /*<658:  1> alignment                                          */
  U8                        v_cc_smc_loc_info;        /*<659:  1> valid-flag                                         */
  T_cc_smc_loc_info         cc_smc_loc_info;          /*<660:  8> CC and SMC Location Information                    */
  U8                        _align19;                 /*<668:  1> alignment                                          */
  U8                        _align20;                 /*<669:  1> alignment                                          */
  U8                        _align21;                 /*<670:  1> alignment                                          */
  U8                        v_brows_term_cause;       /*<671:  1> valid-flag                                         */
  T_brows_term_cause        brows_term_cause;         /*<672:  4> Browser Termination Cause                          */
  U8                        _align22;                 /*<676:  1> alignment                                          */
  U8                        _align23;                 /*<677:  1> alignment                                          */
  U8                        _align24;                 /*<678:  1> alignment                                          */
  U8                        v_chan_stat;              /*<679:  1> valid-flag                                         */
  T_chan_stat               chan_stat;                /*<680:  4> Channel Status Parameter                           */
  U8                        v_chan_dat_lth;           /*<684:  1> valid-flag                                         */
  U8                        chan_dat_lth;             /*<685:  1> Channel data length                                */
  U8                        _align25;                 /*<686:  1> alignment                                          */
  U8                        _align26;                 /*<687:  1> alignment                                          */
} T_evd_cmd;
#endif

#ifndef __T_csd_bear_prm__
#define __T_csd_bear_prm__
/*
 * CSD bearer parameter
 * CCDGEN:WriteStruct_Count==644
 */
typedef struct
{
  U8                        csd_speed;                /*<  0:  1> CSD speed                                          */
  U8                        csd_name;                 /*<  1:  1> CSD name                                           */
  U8                        csd_ce;                   /*<  2:  1> CSD connection elem                                */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
} T_csd_bear_prm;
#endif

#ifndef __T_gprs_bear_prm__
#define __T_gprs_bear_prm__
/*
 * GPRS bearer parameter
 * CCDGEN:WriteStruct_Count==645
 */
typedef struct
{
  U8                        gprs_prec;                /*<  0:  1> GPRS precedence                                    */
  U8                        gprs_delay;               /*<  1:  1> GPRS delay                                         */
  U8                        gprs_rely;                /*<  2:  1> GPRS reliability                                   */
  U8                        gprs_peak;                /*<  3:  1> GPRS peak throughput                               */
  U8                        gprs_mean;                /*<  4:  1> GPRS mean throughput                               */
  U8                        gprs_pdp_type;            /*<  5:  1> GPRS PDP type                                      */
  U8                        _align0;                  /*<  6:  1> alignment                                          */
  U8                        _align1;                  /*<  7:  1> alignment                                          */
} T_gprs_bear_prm;
#endif

#ifndef __T_bear_desc__
#define __T_bear_desc__
/*
 * Bearer description
 * CCDGEN:WriteStruct_Count==646
 */
typedef struct
{
  U8                        bear_type;                /*<  0:  1> Bearer type                                        */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        v_csd_bear_prm;           /*<  3:  1> valid-flag                                         */
  T_csd_bear_prm            csd_bear_prm;             /*<  4:  4> CSD bearer parameter                               */
  U8                        _align2;                  /*<  8:  1> alignment                                          */
  U8                        _align3;                  /*<  9:  1> alignment                                          */
  U8                        _align4;                  /*< 10:  1> alignment                                          */
  U8                        v_gprs_bear_prm;          /*< 11:  1> valid-flag                                         */
  T_gprs_bear_prm           gprs_bear_prm;            /*< 12:  8> GPRS bearer parameter                              */
} T_bear_desc;
#endif

#ifndef __T_nan_buf__
#define __T_nan_buf__
/*
 * Network access name buffer
 * CCDGEN:WriteStruct_Count==647
 */
typedef struct
{
  U8                        c_n_acc_name;             /*<  0:  1> counter                                            */
  U8                        n_acc_name[MAX_SAT_APN_LEN]; /*<  1:102> Network Access name                                */
  U8                        _align0;                  /*<103:  1> alignment                                          */
} T_nan_buf;
#endif

#ifndef __T_dtt__
#define __T_dtt__
/*
 * Date-Time and Time zone
 * CCDGEN:WriteStruct_Count==648
 */
typedef struct
{
  U8                        c_text_str;               /*<  0:  1> counter                                            */
  U8                        text_str[7];              /*<  1:  7> Text string                                        */
} T_dtt;
#endif

#ifndef __T_lang__
#define __T_lang__
/*
 * language Preferance
 * CCDGEN:WriteStruct_Count==649
 */
typedef struct
{
  U8                        c_lang_buf;               /*<  0:  1> counter                                            */
  U8                        lang_buf[2];              /*<  1:  2> Provide Local Info/Language Setting                */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
} T_lang;
#endif


/*
 * End of substructure section, begin of message definition section
 */

#ifndef __T_STK_CMD__
#define __T_STK_CMD__
/*
 * 
 * CCDGEN:WriteStruct_Count==650
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        v_pas_cmd;                /*<  3:  1> valid-flag                                         */
  T_pas_cmd                 pas_cmd;                  /*<  4:272> Proactive SIM Command                              */
} T_STK_CMD;
#endif

#ifndef __T_SEND_SS__
#define __T_SEND_SS__
/*
 * 
 * CCDGEN:WriteStruct_Count==651
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        v_alpha_id;               /*<  1:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<  2:241> Alpha identifier                                   */
  U8                        v_ss_string;              /*<243:  1> valid-flag                                         */
  T_ss_string               ss_string;                /*<244: 68> SS string                                          */
  U8                        _align0;                  /*<312:  1> alignment                                          */
  U8                        _align1;                  /*<313:  1> alignment                                          */
  U8                        _align2;                  /*<314:  1> alignment                                          */
  U8                        v_icon;                   /*<315:  1> valid-flag                                         */
  T_icon                    icon;                     /*<316:  4> Icon Identifier                                    */
} T_SEND_SS;
#endif

#ifndef __T_SETUP_CALL__
#define __T_SETUP_CALL__
/*
 * 
 * CCDGEN:WriteStruct_Count==652
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        v_alpha_id;               /*<  1:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<  2:241> Alpha identifier                                   */
  U8                        v_addr;                   /*<243:  1> valid-flag                                         */
  T_addr                    addr;                     /*<244:488> Address                                            */
  U8                        _align0;                  /*<732:  1> alignment                                          */
  U8                        _align1;                  /*<733:  1> alignment                                          */
  U8                        _align2;                  /*<734:  1> alignment                                          */
  U8                        v_cap_cnf_parms;          /*<735:  1> valid-flag                                         */
  BUF_cap_cnf_parms         cap_cnf_parms;            /*<736: 20> Capability configuration parameter 1               */
  U8                        _align3;                  /*<756:  1> alignment                                          */
  U8                        _align4;                  /*<757:  1> alignment                                          */
  U8                        _align5;                  /*<758:  1> alignment                                          */
  U8                        v_subaddr;                /*<759:  1> valid-flag                                         */
  T_subaddr                 subaddr;                  /*<760: 28> Subaddress                                         */
  U8                        _align6;                  /*<788:  1> alignment                                          */
  U8                        _align7;                  /*<789:  1> alignment                                          */
  U8                        _align8;                  /*<790:  1> alignment                                          */
  U8                        v_dur;                    /*<791:  1> valid-flag                                         */
  T_dur                     dur;                      /*<792:  4> Duration                                           */
  U8                        _align9;                  /*<796:  1> alignment                                          */
  U8                        _align10;                 /*<797:  1> alignment                                          */
  U8                        _align11;                 /*<798:  1> alignment                                          */
  U8                        v_icon;                   /*<799:  1> valid-flag                                         */
  T_icon                    icon;                     /*<800:  4> Icon Identifier                                    */
  U8                        v_alpha_id_2;             /*<804:  1> valid-flag                                         */
  U8                        alpha_id_2[MAX_ALPHA_ID_LEN]; /*<805:241> Alpha identifier                                   */
  U8                        _align12;                 /*<1046:  1> alignment                                          */
  U8                        v_icon_2;                 /*<1047:  1> valid-flag                                         */
  T_icon_2                  icon_2;                   /*<1048:  4> Icon Identifier                                    */
} T_SETUP_CALL;
#endif

#ifndef __T_SEND_SM__
#define __T_SEND_SM__
/*
 * 
 * CCDGEN:WriteStruct_Count==653
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        v_alpha_id;               /*<  1:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<  2:241> Alpha identifier                                   */
  U8                        v_addr;                   /*<243:  1> valid-flag                                         */
  T_addr                    addr;                     /*<244:488> Address                                            */
  U8                        _align0;                  /*<732:  1> alignment                                          */
  U8                        _align1;                  /*<733:  1> alignment                                          */
  U8                        _align2;                  /*<734:  1> alignment                                          */
  U8                        v_smpdu;                  /*<735:  1> valid-flag                                         */
  T_smpdu                   smpdu;                    /*<736:188> SMS TPDU                                           */
  U8                        _align3;                  /*<924:  1> alignment                                          */
  U8                        _align4;                  /*<925:  1> alignment                                          */
  U8                        _align5;                  /*<926:  1> alignment                                          */
  U8                        v_icon;                   /*<927:  1> valid-flag                                         */
  T_icon                    icon;                     /*<928:  4> Icon Identifier                                    */
} T_SEND_SM;
#endif

#ifndef __T_SEND_USSD__
#define __T_SEND_USSD__
/*
 * 
 * CCDGEN:WriteStruct_Count==654
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        v_alpha_id;               /*<  1:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<  2:241> Alpha identifier                                   */
  U8                        v_ussd_string;            /*<243:  1> valid-flag                                         */
  T_ussd_string             ussd_string;              /*<244:164> USSD string                                        */
  U8                        _align0;                  /*<408:  1> alignment                                          */
  U8                        _align1;                  /*<409:  1> alignment                                          */
  U8                        _align2;                  /*<410:  1> alignment                                          */
  U8                        v_icon;                   /*<411:  1> valid-flag                                         */
  T_icon                    icon;                     /*<412:  4> Icon Identifier                                    */
} T_SEND_USSD;
#endif

#ifndef __T_SEND_DTMF__
#define __T_SEND_DTMF__
/*
 * 
 * CCDGEN:WriteStruct_Count==655
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        v_alpha_id;               /*<  1:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<  2:241> Alpha identifier                                   */
  U8                        v_dtmf_string;            /*<243:  1> valid-flag                                         */
  T_dtmf_string             dtmf_string;              /*<244: 84> DTMF string                                        */
  U8                        _align0;                  /*<328:  1> alignment                                          */
  U8                        _align1;                  /*<329:  1> alignment                                          */
  U8                        _align2;                  /*<330:  1> alignment                                          */
  U8                        v_icon;                   /*<331:  1> valid-flag                                         */
  T_icon                    icon;                     /*<332:  4> Icon Identifier                                    */
} T_SEND_DTMF;
#endif

#ifndef __T_SETUP_EVENT__
#define __T_SETUP_EVENT__
/*
 * 
 * CCDGEN:WriteStruct_Count==656
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        v_ev_list;                /*<  3:  1> valid-flag                                         */
  T_ev_list                 ev_list;                  /*<  4: 12> Event list                                         */
} T_SETUP_EVENT;
#endif

#ifndef __T_TERM_RESP__
#define __T_TERM_RESP__
/*
 * 
 * CCDGEN:WriteStruct_Count==657
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        v_cmd_details;            /*<  3:  1> valid-flag                                         */
  T_cmd_details             cmd_details;              /*<  4:  4> Command details                                    */
  U8                        _align2;                  /*<  8:  1> alignment                                          */
  U8                        _align3;                  /*<  9:  1> alignment                                          */
  U8                        _align4;                  /*< 10:  1> alignment                                          */
  U8                        v_dev_ids;                /*< 11:  1> valid-flag                                         */
  T_dev_ids                 dev_ids;                  /*< 12:  4> Device identities                                  */
  U8                        _align5;                  /*< 16:  1> alignment                                          */
  U8                        _align6;                  /*< 17:  1> alignment                                          */
  U8                        _align7;                  /*< 18:  1> alignment                                          */
  U8                        v_res;                    /*< 19:  1> valid-flag                                         */
  T_res                     res;                      /*< 20:256> Result                                             */
  U8                        _align8;                  /*<276:  1> alignment                                          */
  U8                        _align9;                  /*<277:  1> alignment                                          */
  U8                        _align10;                 /*<278:  1> alignment                                          */
  U8                        v_dur;                    /*<279:  1> valid-flag                                         */
  T_dur                     dur;                      /*<280:  4> Duration                                           */
  U8                        _align11;                 /*<284:  1> alignment                                          */
  U8                        _align12;                 /*<285:  1> alignment                                          */
  U8                        _align13;                 /*<286:  1> alignment                                          */
  U8                        v_text;                   /*<287:  1> valid-flag                                         */
  T_text                    text;                     /*<288:164> Text string                                        */
  U8                        _align14;                 /*<452:  1> alignment                                          */
  U8                        _align15;                 /*<453:  1> alignment                                          */
  U8                        _align16;                 /*<454:  1> alignment                                          */
  U8                        v_item_id;                /*<455:  1> valid-flag                                         */
  T_item_id                 item_id;                  /*<456:  4> Item identifier                                    */
  U8                        _align17;                 /*<460:  1> alignment                                          */
  U8                        _align18;                 /*<461:  1> alignment                                          */
  U8                        _align19;                 /*<462:  1> alignment                                          */
  U8                        v_cc_smc_loc_info;        /*<463:  1> valid-flag                                         */
  T_cc_smc_loc_info         cc_smc_loc_info;          /*<464:  8> CC and SMC Location Information                    */
  U8                        _align20;                 /*<472:  1> alignment                                          */
  U8                        _align21;                 /*<473:  1> alignment                                          */
  U8                        _align22;                 /*<474:  1> alignment                                          */
  U8                        v_imei;                   /*<475:  1> valid-flag                                         */
  BUF_imei                  imei;                     /*<476: 16> IMEI                                               */
  U8                        _align23;                 /*<492:  1> alignment                                          */
  U8                        _align24;                 /*<493:  1> alignment                                          */
  U8                        _align25;                 /*<494:  1> alignment                                          */
  U8                        v_ntw_msr_res;            /*<495:  1> valid-flag                                         */
  BUF_ntw_msr_res           ntw_msr_res;              /*<496: 24> Network measurement results                        */
  U8                        _align26;                 /*<520:  1> alignment                                          */
  U8                        _align27;                 /*<521:  1> alignment                                          */
  U8                        _align28;                 /*<522:  1> alignment                                          */
  U8                        v_bcch_list;              /*<523:  1> valid-flag                                         */
  BUF_bcch_list             bcch_list;                /*<524: 56> BCCH channel list                                  */
  U8                        _align29;                 /*<580:  1> alignment                                          */
  U8                        _align30;                 /*<581:  1> alignment                                          */
  U8                        _align31;                 /*<582:  1> alignment                                          */
  U8                        v_dtt;                    /*<583:  1> valid-flag                                         */
  T_dtt                     dtt;                      /*<584:  8> Date-Time and Time zone                            */
  U8                        _align32;                 /*<592:  1> alignment                                          */
  U8                        _align33;                 /*<593:  1> alignment                                          */
  U8                        _align34;                 /*<594:  1> alignment                                          */
  U8                        v_cc_req_act;             /*<595:  1> valid-flag                                         */
  BUF_cc_req_act            cc_req_act;               /*<596:248> CC requested action                                */
  U8                        _align35;                 /*<844:  1> alignment                                          */
  U8                        _align36;                 /*<845:  1> alignment                                          */
  U8                        _align37;                 /*<846:  1> alignment                                          */
  U8                        v_res_2;                  /*<847:  1> valid-flag                                         */
  T_res_2                   res_2;                    /*<848:256> Result 2                                           */
  U8                        _align38;                 /*<1104:  1> alignment                                          */
  U8                        _align39;                 /*<1105:  1> alignment                                          */
  U8                        _align40;                 /*<1106:  1> alignment                                          */
  U8                        v_at_resp;                /*<1107:  1> valid-flag                                         */
  T_at_resp                 at_resp;                  /*<1108:244> AT response                                        */
  U8                        _align41;                 /*<1352:  1> alignment                                          */
  U8                        _align42;                 /*<1353:  1> alignment                                          */
  U8                        _align43;                 /*<1354:  1> alignment                                          */
  U8                        v_chan_data;              /*<1355:  1> valid-flag                                         */
  T_chan_data               chan_data;                /*<1356:244> Channel data                                       */
  U8                        _align44;                 /*<1600:  1> alignment                                          */
  U8                        _align45;                 /*<1601:  1> alignment                                          */
  U8                        v_chan_stat;              /*<1602:  1> valid-flag                                         */
  U8                        c_chan_stat;              /*<1603:  1> counter                                            */
  T_chan_stat               chan_stat[7];             /*<1604: 28> Channel Status Parameter                           */
  U8                        v_chan_dat_lth;           /*<1632:  1> valid-flag                                         */
  U8                        chan_dat_lth;             /*<1633:  1> Channel data length                                */
  U8                        _align46;                 /*<1634:  1> alignment                                          */
  U8                        v_bear_desc;              /*<1635:  1> valid-flag                                         */
  T_bear_desc               bear_desc;                /*<1636: 20> Bearer description                                 */
  U8                        _align47;                 /*<1656:  1> alignment                                          */
  U8                        v_buffer_size;            /*<1657:  1> valid-flag                                         */
  U16                       buffer_size;              /*<1658:  2> Buffer size                                        */
  U8                        _align48;                 /*<1660:  1> alignment                                          */
  U8                        _align49;                 /*<1661:  1> alignment                                          */
  U8                        _align50;                 /*<1662:  1> alignment                                          */
  U8                        v_lang;                   /*<1663:  1> valid-flag                                         */
  T_lang                    lang;                     /*<1664:  4> language Preferance                                */
} T_TERM_RESP;
#endif

#ifndef __T_ENV_CMD__
#define __T_ENV_CMD__
/*
 * 
 * CCDGEN:WriteStruct_Count==658
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        v_cbd_cmd;                /*<  3:  1> valid-flag                                         */
  T_cbd_cmd                 cbd_cmd;                  /*<  4:108> CB download                                        */
  U8                        _align2;                  /*<112:  1> alignment                                          */
  U8                        _align3;                  /*<113:  1> alignment                                          */
  U8                        _align4;                  /*<114:  1> alignment                                          */
  U8                        v_cc_cmd;                 /*<115:  1> valid-flag                                         */
  T_cc_cmd                  cc_cmd;                   /*<116:832> Call control                                       */
  U8                        _align5;                  /*<948:  1> alignment                                          */
  U8                        _align6;                  /*<949:  1> alignment                                          */
  U8                        _align7;                  /*<950:  1> alignment                                          */
  U8                        v_smc_cmd;                /*<951:  1> valid-flag                                         */
  T_smc_cmd                 smc_cmd;                  /*<952: 84> Call control                                       */
  U8                        _align8;                  /*<1036:  1> alignment                                          */
  U8                        _align9;                  /*<1037:  1> alignment                                          */
  U8                        _align10;                 /*<1038:  1> alignment                                          */
  U8                        v_evd_cmd;                /*<1039:  1> valid-flag                                         */
  T_evd_cmd                 evd_cmd;                  /*<1040:688> Call control                                       */
} T_ENV_CMD;
#endif

#ifndef __T_ENV_RES__
#define __T_ENV_RES__
/*
 * 
 * CCDGEN:WriteStruct_Count==659
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        v_ccr_allw;               /*<  3:  1> valid-flag                                         */
  T_ccr_allw                ccr_allw;                 /*<  4:1056> Call control result, allowed                       */
  U8                        _align2;                  /*<1060:  1> alignment                                          */
  U8                        _align3;                  /*<1061:  1> alignment                                          */
  U8                        _align4;                  /*<1062:  1> alignment                                          */
  U8                        v_ccr_not_allw;           /*<1063:  1> valid-flag                                         */
  T_ccr_not_allw            ccr_not_allw;             /*<1064:1056> Call control result, not allowed                   */
  U8                        _align5;                  /*<2120:  1> alignment                                          */
  U8                        _align6;                  /*<2121:  1> alignment                                          */
  U8                        _align7;                  /*<2122:  1> alignment                                          */
  U8                        v_ccr_allw_mdfy;          /*<2123:  1> valid-flag                                         */
  T_ccr_allw_mdfy           ccr_allw_mdfy;            /*<2124:1056> Call Control result, allowed with modifications    */
} T_ENV_RES;
#endif

#ifndef __T_ENV_RES_SMC__
#define __T_ENV_RES_SMC__
/*
 * 
 * CCDGEN:WriteStruct_Count==660
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        v_smcr_allw;              /*<  3:  1> valid-flag                                         */
  T_smcr_allw               smcr_allw;                /*<  4:308> Call control result, allowed                       */
  U8                        _align2;                  /*<312:  1> alignment                                          */
  U8                        _align3;                  /*<313:  1> alignment                                          */
  U8                        _align4;                  /*<314:  1> alignment                                          */
  U8                        v_smcr_not_allw;          /*<315:  1> valid-flag                                         */
  T_smcr_not_allw           smcr_not_allw;            /*<316:308> Call control result, not allowed                   */
  U8                        _align5;                  /*<624:  1> alignment                                          */
  U8                        _align6;                  /*<625:  1> alignment                                          */
  U8                        _align7;                  /*<626:  1> alignment                                          */
  U8                        v_smcr_allw_mdfy;         /*<627:  1> valid-flag                                         */
  T_smcr_allw_mdfy          smcr_allw_mdfy;           /*<628:308> Call Control result, allowed with modifications    */
} T_ENV_RES_SMC;
#endif

#ifndef __T_RUN_AT__
#define __T_RUN_AT__
/*
 * 
 * CCDGEN:WriteStruct_Count==661
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        v_alpha_id;               /*<  1:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<  2:241> Alpha identifier                                   */
  U8                        v_at_string;              /*<243:  1> valid-flag                                         */
  U8                        at_string[MAX_CMD_AT_LEN]; /*<244:241> AT string                                          */
  U8                        _align0;                  /*<485:  1> alignment                                          */
  U8                        _align1;                  /*<486:  1> alignment                                          */
  U8                        v_icon;                   /*<487:  1> valid-flag                                         */
  T_icon                    icon;                     /*<488:  4> Icon Identifier                                    */
} T_RUN_AT;
#endif

#ifndef __T_OPEN_CHANNEL__
#define __T_OPEN_CHANNEL__
/*
 * 
 * CCDGEN:WriteStruct_Count==662
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        v_alpha_id;               /*<  1:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<  2:241> Alpha identifier                                   */
  U8                        v_icon;                   /*<243:  1> valid-flag                                         */
  T_icon                    icon;                     /*<244:  4> Icon Identifier                                    */
  U8                        _align0;                  /*<248:  1> alignment                                          */
  U8                        _align1;                  /*<249:  1> alignment                                          */
  U8                        _align2;                  /*<250:  1> alignment                                          */
  U8                        v_addr;                   /*<251:  1> valid-flag                                         */
  T_addr                    addr;                     /*<252:488> Address                                            */
  U8                        _align3;                  /*<740:  1> alignment                                          */
  U8                        _align4;                  /*<741:  1> alignment                                          */
  U8                        _align5;                  /*<742:  1> alignment                                          */
  U8                        v_subaddr;                /*<743:  1> valid-flag                                         */
  T_subaddr                 subaddr;                  /*<744: 28> Subaddress                                         */
  U8                        _align6;                  /*<772:  1> alignment                                          */
  U8                        _align7;                  /*<773:  1> alignment                                          */
  U8                        _align8;                  /*<774:  1> alignment                                          */
  U8                        v_dur;                    /*<775:  1> valid-flag                                         */
  T_dur                     dur;                      /*<776:  4> Duration                                           */
  U8                        _align9;                  /*<780:  1> alignment                                          */
  U8                        _align10;                 /*<781:  1> alignment                                          */
  U8                        _align11;                 /*<782:  1> alignment                                          */
  U8                        v_dur2;                   /*<783:  1> valid-flag                                         */
  T_dur2                    dur2;                     /*<784:  4> Duration2                                          */
  U8                        _align12;                 /*<788:  1> alignment                                          */
  U8                        _align13;                 /*<789:  1> alignment                                          */
  U8                        _align14;                 /*<790:  1> alignment                                          */
  U8                        v_bear_desc;              /*<791:  1> valid-flag                                         */
  T_bear_desc               bear_desc;                /*<792: 20> Bearer description                                 */
  U8                        _align15;                 /*<812:  1> alignment                                          */
  U8                        v_buffer_size;            /*<813:  1> valid-flag                                         */
  U16                       buffer_size;              /*<814:  2> Buffer size                                        */
  U8                        _align16;                 /*<816:  1> alignment                                          */
  U8                        _align17;                 /*<817:  1> alignment                                          */
  U8                        _align18;                 /*<818:  1> alignment                                          */
  U8                        v_nan_buf;                /*<819:  1> valid-flag                                         */
  T_nan_buf                 nan_buf;                  /*<820:104> Network access name buffer                         */
  U8                        _align19;                 /*<924:  1> alignment                                          */
  U8                        _align20;                 /*<925:  1> alignment                                          */
  U8                        _align21;                 /*<926:  1> alignment                                          */
  U8                        v_other_addr;             /*<927:  1> valid-flag                                         */
  T_other_addr              other_addr;               /*<928: 24> Other Address                                      */
  U8                        _align22;                 /*<952:  1> alignment                                          */
  U8                        _align23;                 /*<953:  1> alignment                                          */
  U8                        _align24;                 /*<954:  1> alignment                                          */
  U8                        v_text;                   /*<955:  1> valid-flag                                         */
  T_text                    text;                     /*<956:164> Text string                                        */
  U8                        _align25;                 /*<1120:  1> alignment                                          */
  U8                        _align26;                 /*<1121:  1> alignment                                          */
  U8                        _align27;                 /*<1122:  1> alignment                                          */
  U8                        v_text2;                  /*<1123:  1> valid-flag                                         */
  T_text2                   text2;                    /*<1124:164> Text string2                                       */
  U8                        _align28;                 /*<1288:  1> alignment                                          */
  U8                        _align29;                 /*<1289:  1> alignment                                          */
  U8                        _align30;                 /*<1290:  1> alignment                                          */
  U8                        v_if_transp_lev;          /*<1291:  1> valid-flag                                         */
  T_if_transp_lev           if_transp_lev;            /*<1292:  4> Interface transport level                          */
  U8                        _align31;                 /*<1296:  1> alignment                                          */
  U8                        _align32;                 /*<1297:  1> alignment                                          */
  U8                        _align33;                 /*<1298:  1> alignment                                          */
  U8                        v_data_dest_addr;         /*<1299:  1> valid-flag                                         */
  T_data_dest_addr          data_dest_addr;           /*<1300: 24> Data Destination Address                           */
} T_OPEN_CHANNEL;
#endif

#ifndef __T_CLOSE_CHANNEL__
#define __T_CLOSE_CHANNEL__
/*
 * 
 * CCDGEN:WriteStruct_Count==663
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        v_alpha_id;               /*<  1:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<  2:241> Alpha identifier                                   */
  U8                        v_icon;                   /*<243:  1> valid-flag                                         */
  T_icon                    icon;                     /*<244:  4> Icon Identifier                                    */
} T_CLOSE_CHANNEL;
#endif

#ifndef __T_RECEIVE_DATA__
#define __T_RECEIVE_DATA__
/*
 * 
 * CCDGEN:WriteStruct_Count==664
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        v_alpha_id;               /*<  1:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<  2:241> Alpha identifier                                   */
  U8                        v_icon;                   /*<243:  1> valid-flag                                         */
  T_icon                    icon;                     /*<244:  4> Icon Identifier                                    */
  U8                        v_chan_dat_lth;           /*<248:  1> valid-flag                                         */
  U8                        chan_dat_lth;             /*<249:  1> Channel data length                                */
  U8                        _align0;                  /*<250:  1> alignment                                          */
  U8                        _align1;                  /*<251:  1> alignment                                          */
} T_RECEIVE_DATA;
#endif

#ifndef __T_SEND_DATA__
#define __T_SEND_DATA__
/*
 * 
 * CCDGEN:WriteStruct_Count==665
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        v_alpha_id;               /*<  1:  1> valid-flag                                         */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<  2:241> Alpha identifier                                   */
  U8                        v_icon;                   /*<243:  1> valid-flag                                         */
  T_icon                    icon;                     /*<244:  4> Icon Identifier                                    */
  U8                        _align0;                  /*<248:  1> alignment                                          */
  U8                        _align1;                  /*<249:  1> alignment                                          */
  U8                        _align2;                  /*<250:  1> alignment                                          */
  U8                        v_chan_data;              /*<251:  1> valid-flag                                         */
  T_chan_data               chan_data;                /*<252:244> Channel data                                       */
} T_SEND_DATA;
#endif

#ifndef __T_GET_CHA_STAT__
#define __T_GET_CHA_STAT__
/*
 * 
 * CCDGEN:WriteStruct_Count==666
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_GET_CHA_STAT;
#endif

#ifndef __T_LAUNCH_BROWSER__
#define __T_LAUNCH_BROWSER__
/*
 * 
 * CCDGEN:WriteStruct_Count==667
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        v_browser_id;             /*<  3:  1> valid-flag                                         */
  T_browser_id              browser_id;               /*<  4:  4> Browser Identity                                   */
  U8                        _align2;                  /*<  8:  1> alignment                                          */
  U8                        _align3;                  /*<  9:  1> alignment                                          */
  U8                        _align4;                  /*< 10:  1> alignment                                          */
  U8                        v_url;                    /*< 11:  1> valid-flag                                         */
  T_url                     url;                      /*< 12:256> URL                                                */
  U8                        v_bearer;                 /*<268:  1> valid-flag                                         */
  U8                        c_bearer;                 /*<269:  1> counter                                            */
  U8                        bearer[MAX_BEARER_LIST_LEN]; /*<270:253> Bearer List                                        */
  U8                        _align5;                  /*<523:  1> alignment                                          */
  U8                        _align6;                  /*<524:  1> alignment                                          */
  U8                        _align7;                  /*<525:  1> alignment                                          */
  U8                        v_prov_file_ref;          /*<526:  1> valid-flag                                         */
  U8                        c_prov_file_ref;          /*<527:  1> counter                                            */
  T_prov_file_ref           prov_file_ref[MAX_PFP_ELEM]; /*<528:200> Provisioning File Reference                        */
  U8                        _align8;                  /*<728:  1> alignment                                          */
  U8                        _align9;                  /*<729:  1> alignment                                          */
  U8                        _align10;                 /*<730:  1> alignment                                          */
  U8                        v_text;                   /*<731:  1> valid-flag                                         */
  T_text                    text;                     /*<732:164> Text string                                        */
  U8                        v_alpha_id;               /*<896:  1> valid-flag                                         */
  U8                        c_alpha_id;               /*<897:  1> counter                                            */
  U8                        alpha_id[MAX_ALPHA_ID_LEN]; /*<898:241> Alpha identifier                                   */
  U8                        v_icon;                   /*<1139:  1> valid-flag                                         */
  T_icon                    icon;                     /*<1140:  4> Icon Identifier                                    */
} T_LAUNCH_BROWSER;
#endif


#include "CDG_LEAVE.h"


#endif