blob: 944f3321852cb8188628a125d1f57ff0e5b075e1 [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001/*****************************************************************************
2* Copyright Statement:
3* --------------------
4* This software is protected by Copyright and the information contained
5* herein is confidential. The software may not be copied and the information
6* contained herein may not be used or disclosed except with the written
7* permission of MediaTek Inc. (C) 2016
8*
9* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
10* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
11* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
12* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
13* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
14* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
15* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
16* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
17* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
18* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
19* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
20* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
21*
22* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
23* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
24* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
25* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
26* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
27*
28* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
29* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
30* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
31* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
32* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
33*
34*****************************************************************************/
35
36
37#ifndef _ATCMD_STRUCT_H
38#define _ATCMD_STRUCT_H
39
40/*
41L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGPIAF_REQ, l4c_ps_null_test_mode, l4c_ps_cgpiaf_read_mode, l4c_ps_cgpiaf_set_mode, l4c_ps_null_active_mode)
42L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGDCONT_REQ, l4c_ps_null_test_mode, l4c_ps_cgdcont_read_mode, l4c_ps_cgdcont_set_mode, l4c_ps_null_active_mode)
43L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGDSCONT_REQ, l4c_ps_null_test_mode, l4c_ps_cgdscont_read_mode, l4c_ps_cgdscont_set_mode, l4c_ps_null_active_mode)
44L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGTFT_REQ, l4c_ps_null_test_mode, l4c_ps_cgtft_read_mode, l4c_ps_cgtft_set_mode, l4c_ps_null_active_mode)
45L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGQREQ_REQ, l4c_ps_null_test_mode, l4c_ps_cgqreq_read_mode, l4c_ps_cgqreq_set_mode, l4c_ps_null_active_mode)
46L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGQMIN_REQ, l4c_ps_null_test_mode, l4c_ps_cgqmin_read_mode, l4c_ps_cgqmin_set_mode, l4c_ps_null_active_mode)
47L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGEQREQ_REQ, l4c_ps_null_test_mode, l4c_ps_cgeqreq_read_mode, l4c_ps_cgeqreq_set_mode, l4c_ps_null_active_mode)
48L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGEQMIN_REQ, l4c_ps_null_test_mode, l4c_ps_cgeqmin_read_mode, l4c_ps_cgeqmin_set_mode, l4c_ps_null_active_mode)
49L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGEQNEG_REQ, l4c_ps_null_test_mode, l4c_ps_cgeqneg_read_mode, l4c_ps_cgeqneg_set_mode, l4c_ps_null_active_mode)
50L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGACT_REQ, l4c_ps_null_test_mode, l4c_ps_cgact_read_mode, l4c_ps_cgact_set_mode, l4c_ps_null_active_mode)
51L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGCMOD_REQ, l4c_ps_null_test_mode, l4c_ps_cgcmod_read_mode, l4c_ps_cgcmod_set_mode, l4c_ps_null_active_mode)
52L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGDATA_REQ, l4c_ps_null_test_mode, l4c_ps_cgdata_read_mode, l4c_ps_cgdata_set_mode, l4c_ps_null_active_mode)
53L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGPADDR_REQ, l4c_ps_null_test_mode, l4c_ps_cgpaddr_read_mode, l4c_ps_cgpaddr_set_mode, l4c_ps_null_active_mode)
54L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGAUTO_REQ, l4c_ps_null_test_mode, l4c_ps_cgauto_read_mode, l4c_ps_cgauto_set_mode, l4c_ps_null_active_mode)
55L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGANS_REQ, l4c_ps_null_test_mode, l4c_ps_cgans_read_mode, l4c_ps_cgans_set_mode, l4c_ps_null_active_mode)
56L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGEREP_REQ, l4c_ps_null_test_mode, l4c_ps_cgerep_read_mode, l4c_ps_cgerep_set_mode, l4c_ps_null_active_mode)
57L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGCONTRDP_REQ, l4c_ps_null_test_mode, l4c_ps_cgcontrdp_read_mode, l4c_ps_cgcontrdp_set_mode, l4c_ps_null_active_mode)
58L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGSCONTRDP_REQ,l4c_ps_null_test_mode, l4c_ps_cgscontrdp_read_mode,l4c_ps_cgscontrdp_set_mode, l4c_ps_null_active_mode)
59L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGTFTRDP_REQ, l4c_ps_null_test_mode, l4c_ps_cgtftrdp_read_mode, l4c_ps_cgtftrdp_set_mode, l4c_ps_null_active_mode)
60L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGEQOS_REQ, l4c_ps_null_test_mode, l4c_ps_cgeqos_read_mode, l4c_ps_cgeqos_set_mode, l4c_ps_null_active_mode)
61L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGEQOSRDP_REQ, l4c_ps_null_test_mode, l4c_ps_cgeqosrdp_read_mode, l4c_ps_cgeqosrdp_set_mode, l4c_ps_null_active_mode)
62L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGDEL_REQ, l4c_ps_null_test_mode, l4c_ps_cgdel_read_mode, l4c_ps_cgdel_set_mode, l4c_ps_null_active_mode)
63L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGAUTH_REQ, l4c_ps_null_test_mode, l4c_ps_cgauth_read_mode, l4c_ps_cgauth_set_mode, l4c_ps_null_active_mode)
64L4C_PS_REQ(MSG_ID_L4BPDN_L4C_ECNCFG_REQ, l4c_ps_null_test_mode, l4c_ps_ecncfg_read_mode, l4c_ps_ecncfg_set_mode, l4c_ps_null_active_mode)
65L4C_PS_REQ(MSG_ID_L4BPDN_L4C_EGDCONT_REQ, l4c_ps_null_test_mode, l4c_ps_egdcont_read_mode, l4c_ps_egdcont_set_mode, l4c_ps_null_active_mode)
66L4C_PS_REQ(MSG_ID_L4BPDN_L4C_VZWAPNETMR_REQ,l4c_ps_null_test_mode, l4c_ps_vzwapnetmr_read_mode,l4c_ps_vzwapnetmr_set_mode, l4c_ps_null_active_mode)
67L4C_PS_REQ(MSG_ID_L4BPDN_L4C_VZWAPNE_REQ, l4c_ps_null_test_mode, l4c_ps_vzwapne_read_mode, l4c_ps_vzwapne_set_mode, l4c_ps_null_active_mode)
68L4C_PS_REQ(MSG_ID_L4BPDN_L4C_EGPAU_REQ, l4c_ps_null_test_mode, l4c_ps_egpau_read_mode, l4c_ps_egpau_set_mode, l4c_ps_null_active_mode)
69L4C_PS_REQ(MSG_ID_L4BPDN_L4C_EGACT_REQ, l4c_ps_null_test_mode, l4c_ps_egact_read_mode, l4c_ps_egact_set_mode, l4c_ps_null_active_mode)
70L4C_PS_REQ(MSG_ID_L4BPDN_L4C_CGSDATA_REQ, l4c_ps_null_test_mode, l4c_ps_cgsdata_read_mode, l4c_ps_cgsdata_set_mode, l4c_ps_null_active_mode)
71L4C_PS_REQ(MSG_ID_L4BPDN_L4C_ACTTEST_REQ, l4c_ps_null_test_mode, l4c_ps_acttest_read_mode, l4c_ps_acttest_set_mode, l4c_ps_null_active_mode)
72L4C_PS_REQ(MSG_ID_L4BPDN_L4C_PSBEARER_REQ, l4c_ps_null_test_mode, l4c_ps_psbearer_read_mode, l4c_ps_psbearer_set_mode, l4c_ps_null_active_mode)
73L4C_PS_REQ(MSG_ID_L4BPDN_L4C_EGFB_REQ, l4c_ps_null_test_mode, l4c_ps_egfb_read_mode, l4c_ps_egfb_set_mode, l4c_ps_null_active_mode)
74L4C_PS_REQ(MSG_ID_L4BPDN_L4C_EGLD_REQ, l4c_ps_null_test_mode, l4c_ps_egld_read_mode, l4c_ps_egld_set_mode, l4c_ps_null_active_mode)
75L4C_PS_REQ(MSG_ID_L4BPDN_L4C_EGDELPF_REQ, l4c_ps_null_test_mode, l4c_ps_egdelpf_read_mode, l4c_ps_egdelpf_set_mode, l4c_ps_null_active_mode)
76L4C_PS_REQ(MSG_ID_L4BPDN_L4C_EGLNKPF_REQ, l4c_ps_null_test_mode, l4c_ps_eglnkpf_read_mode, l4c_ps_eglnkpf_set_mode, l4c_ps_null_active_mode)
77L4C_PS_REQ(MSG_ID_L4BPDN_L4C_EGPCORDP_REQ, l4c_ps_null_test_mode, l4c_ps_egpcordp_read_mode, l4c_ps_egpcordp_set_mode, l4c_ps_null_active_mode)
78L4C_PS_REQ(MSG_ID_L4BPDN_L4C_EDALLOW_REQ, l4c_ps_null_test_mode, l4c_ps_edallow_read_mode, l4c_ps_edallow_set_mode, l4c_ps_null_active_mode)
79extern kal_bool l4c_ps_cgpiaf_read_mode(kal_uint32 src_id);
80extern kal_bool l4c_ps_cgpiaf_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
81extern void l4c_at_cgpiaf_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
82extern kal_bool l4c_ps_cgdcont_read_mode(kal_uint32 src_id);
83extern kal_bool l4c_ps_cgdcont_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
84extern void l4c_at_cgdcont_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
85extern kal_bool l4c_ps_cgdscont_read_mode(kal_uint32 src_id);
86extern kal_bool l4c_ps_cgdscont_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
87extern void l4c_at_cgdscont_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
88extern kal_bool l4c_ps_cgtft_read_mode(kal_uint32 src_id);
89extern kal_bool l4c_ps_cgtft_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
90extern void l4c_at_cgtft_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
91extern kal_bool l4c_ps_cgqreq_read_mode(kal_uint32 src_id);
92extern kal_bool l4c_ps_cgqreq_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
93extern void l4c_at_cgqreq_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
94extern kal_bool l4c_ps_cgqmin_read_mode(kal_uint32 src_id);
95extern kal_bool l4c_ps_cgqmin_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
96extern void l4c_at_cgqmin_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
97extern kal_bool l4c_ps_cgeqreq_read_mode(kal_uint32 src_id);
98extern kal_bool l4c_ps_cgeqreq_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
99extern void l4c_at_cgeqreq_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
100extern kal_bool l4c_ps_cgeqmin_read_mode(kal_uint32 src_id);
101extern kal_bool l4c_ps_cgeqmin_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
102extern void l4c_at_cgeqmin_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
103extern kal_bool l4c_ps_cgeqneg_read_mode(kal_uint32 src_id);
104extern kal_bool l4c_ps_cgeqneg_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
105extern void l4c_at_cgeqneg_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
106extern kal_bool l4c_ps_cgact_read_mode(kal_uint32 src_id);
107extern kal_bool l4c_ps_cgact_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
108extern void l4c_at_cgact_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
109extern kal_bool l4c_ps_cgcmod_read_mode(kal_uint32 src_id);
110extern kal_bool l4c_ps_cgcmod_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
111extern kal_bool l4c_ps_cgdata_read_mode(kal_uint32 src_id);
112extern kal_bool l4c_ps_cgdata_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
113extern kal_bool l4c_ps_cgpaddr_read_mode(kal_uint32 src_id);
114extern kal_bool l4c_ps_cgpaddr_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
115extern void l4c_at_cgpaddr_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
116extern kal_bool l4c_ps_cgauto_read_mode(kal_uint32 src_id);
117extern kal_bool l4c_ps_cgauto_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
118extern void l4c_at_cgauto_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
119extern kal_bool l4c_ps_cgans_read_mode(kal_uint32 src_id);
120extern kal_bool l4c_ps_cgans_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
121extern kal_bool l4c_ps_cgerep_read_mode(kal_uint32 src_id);
122extern kal_bool l4c_ps_cgerep_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
123extern void l4c_at_cgerep_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
124extern kal_bool l4c_ps_cgcontrdp_read_mode(kal_uint32 src_id);
125extern kal_bool l4c_ps_cgcontrdp_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
126extern void l4c_at_cgcontrdp_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
127extern kal_bool l4c_ps_cgscontrdp_read_mode(kal_uint32 src_id);
128extern kal_bool l4c_ps_cgscontrdp_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
129extern void l4c_at_cgscontrdp_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
130extern kal_bool l4c_ps_cgtftrdp_read_mode(kal_uint32 src_id);
131extern kal_bool l4c_ps_cgtftrdp_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
132extern void l4c_at_cgtftrdp_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
133extern kal_bool l4c_ps_cgeqos_read_mode(kal_uint32 src_id);
134extern kal_bool l4c_ps_cgeqos_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
135extern void l4c_at_cgeqos_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
136extern kal_bool l4c_ps_cgeqosrdp_read_mode(kal_uint32 src_id);
137extern kal_bool l4c_ps_cgeqosrdp_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
138extern void l4c_at_cgeqosrdp_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
139extern kal_bool l4c_ps_cgdel_read_mode(kal_uint32 src_id);
140extern kal_bool l4c_ps_cgdel_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
141extern void l4c_at_cgdel_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
142extern kal_bool l4c_ps_cgauth_read_mode(kal_uint32 src_id);
143extern kal_bool l4c_ps_cgauth_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
144extern void l4c_at_cgauth_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
145extern kal_bool l4c_ps_ecncfg_read_mode(kal_uint32 src_id);
146extern kal_bool l4c_ps_ecncfg_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
147extern kal_bool l4c_ps_egdcont_read_mode(kal_uint32 src_id);
148extern kal_bool l4c_ps_egdcont_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
149extern kal_bool l4c_ps_vzwapnetmr_read_mode(kal_uint32 src_id);
150extern kal_bool l4c_ps_vzwapnetmr_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
151extern void l4c_at_vzwapnetmr_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
152extern kal_bool l4c_ps_vzwapne_read_mode(kal_uint32 src_id);
153extern kal_bool l4c_ps_vzwapne_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
154extern void l4c_at_vzwapne_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
155extern kal_bool l4c_ps_egpau_read_mode(kal_uint32 src_id);
156extern kal_bool l4c_ps_egpau_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
157extern void l4c_at_egpau_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
158extern kal_bool l4c_ps_egact_read_mode(kal_uint32 src_id);
159extern kal_bool l4c_ps_egact_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
160extern kal_bool l4c_ps_cgsdata_read_mode(kal_uint32 src_id);
161extern kal_bool l4c_ps_cgsdata_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
162extern kal_bool l4c_ps_acttest_read_mode(kal_uint32 src_id);
163extern kal_bool l4c_ps_acttest_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
164extern kal_bool l4c_ps_psbearer_read_mode(kal_uint32 src_id);
165extern kal_bool l4c_ps_psbearer_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
166extern void l4c_at_psbearer_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
167extern kal_bool l4c_ps_egfb_read_mode(kal_uint32 src_id);
168extern kal_bool l4c_ps_egfb_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
169extern void l4c_at_egfb_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
170extern kal_bool l4c_ps_egld_read_mode(kal_uint32 src_id);
171extern kal_bool l4c_ps_egld_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
172extern kal_bool l4c_ps_egdelpf_read_mode(kal_uint32 src_id);
173extern kal_bool l4c_ps_egdelpf_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
174extern void l4c_at_egdelpf_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
175extern kal_bool l4c_ps_eglnkpf_read_mode(kal_uint32 src_id);
176extern kal_bool l4c_ps_eglnkpf_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
177extern void l4c_at_eglnkpf_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
178extern kal_bool l4c_ps_egpcordp_read_mode(kal_uint32 src_id);
179extern kal_bool l4c_ps_egpcordp_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
180extern void l4c_at_egpcordp_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr);
181extern kal_bool l4c_ps_edallow_read_mode(kal_uint32 src_id);
182extern kal_bool l4c_ps_edallow_set_mode(local_para_struct *local_para_ptr, kal_uint16 *err_cause);
183 */
184
185#include "atcmd_enum.h"
186//#include "kal_public_defs.h"
187#include "atp_public_defs.h"
188#include "ps_public_enum_public.h"
189//#define atp_cmd_mode_enum kal_uint32
190
191#define ATCMD_LOCAL_PARA_HDR \
192 kal_uint32 src_id; \
193 atp_cmd_mode_enum cmd_mode;
194
195#define ATCMD_HDR ATCMD_LOCAL_PARA_HDR
196
197/* common ATCMD local_para header */
198typedef struct
199{
200 ATCMD_HDR
201} at_cmd_common_header_req_struct;
202
203typedef struct
204{
205 kal_uint32 src_id;
206 kal_bool is_success;
207 kal_uint16 err_cause;
208} at_cmd_cnf_struct;
209
210typedef struct
211{
212 pdp_addr_len_enum len;
213 kal_uint8 val[MAXIMUM_POSSIBLE_ADDR_LEN];
214} at_addr_struct;
215
216typedef struct
217{
218 pdp_addr_len_enum len;
219 kal_uint8 val[MAXIMUM_POSSIBLE_ADDR_LEN*2];
220} at_addr_and_mask_struct;
221
222typedef struct
223{
224 kal_bool is_sst_present;
225 kal_uint8 sst;
226
227 kal_bool is_sd_present;
228 kal_uint8 sd[TCM_S_NSSAI_SD_LEN];
229
230 kal_bool is_mapped_configured_sst_present;
231 kal_uint8 mapped_configured_sst;
232
233 kal_bool is_mapped_configured_sd_present;
234 kal_uint8 mapped_configured_sd[TCM_S_NSSAI_SD_LEN];
235} at_s_nssai_struct;
236
237// +CGEV:
238/* +CGEV: NW DETACH
239 +CGEV: ME DETACH
240 +CGEV: NW CLASS <class>
241 +CGEV: ME CLASS <class>
242 +CGEV: NW PDN ACT <cid>[,<WLAN_Offload>]
243 +CGEV: ME PDN ACT <cid>[,<reason>[,<cid_other>]][,<WLAN_Offload>]
244 +CGEV: NW ACT <p_cid>, <cid>, <event_type>[,<WLAN_Offload>]
245 +CGEV: ME ACT <p_cid>, <cid>, <event_type>[,<WLAN_Offload>]
246 XX +CGEV: NW DEACT <PDP_type>, <PDP_addr>, [<cid>] XX
247 XX +CGEV: ME DEACT <PDP_type>, <PDP_addr>, [<cid>] XX
248 +CGEV: NW PDN DEACT <cid>[,<WLAN_Offload>]
249 +CGEV: ME PDN DEACT <cid>
250 +CGEV: NW DEACT <p_cid>, <cid>, <event_type>[,<WLAN_Offload>]
251 +CGEV: ME DEACT <p_cid>, <cid>, <event_type>
252 +CGEV: NW MODIFY <cid>, <change_reason>, <event_type>[,<WLAN_Offload>]
253 +CGEV: ME MODIFY <cid>, <change_reason>, <event_type>[,<WLAN_Offload>]
254 +CGEV: REJECT <PDP_type>, <PDP_addr>
255 +CGEV: NW REACT <PDP_type>, <PDP_addr>, [<cid>]
256 */
257
258// +CGEV: NW PDN ACT <cid>[,<WLAN_Offload>]
259typedef struct
260{
261 kal_bool cid_present;
262 kal_uint32 cid;
263 kal_bool WLAN_Offload_present;
264 atcmd_WLAN_Offload_enum WLAN_Offload;
265} cgev_nw_pdn_act_struct;
266
267// +CGEV: ME PDN ACT <cid>[,<reason>[,<cid_other>]][,<WLAN_Offload>]
268typedef struct
269{
270 kal_bool cid_present;
271 kal_uint32 cid;
272 kal_bool reason_present;
273 atcmd_reason_enum reason;
274 kal_bool cid_other_present;
275 kal_uint32 cid_other;
276 kal_bool WLAN_Offload_present;
277 atcmd_WLAN_Offload_enum WLAN_Offload;
278} cgev_me_pdn_act_struct;
279
280// +CGEV: NW ACT <p_cid>, <cid>, <event_type>[,<WLAN_Offload>]
281typedef struct
282{
283 kal_bool p_cid_present;
284 kal_uint32 p_cid;
285 kal_bool cid_present;
286 kal_uint32 cid;
287 kal_bool event_type_present;
288 atcmd_event_type_enum event_type;
289 kal_bool WLAN_Offload_present;
290 atcmd_WLAN_Offload_enum WLAN_Offload;
291} cgev_nw_act_struct;
292
293// +CGEV: ME ACT <p_cid>, <cid>, <event_type>[,<WLAN_Offload>]
294#if 1
295typedef cgev_nw_act_struct cgev_me_act_struct;
296#else
297/* under construction !*/
298/* under construction !*/
299/* under construction !*/
300/* under construction !*/
301/* under construction !*/
302/* under construction !*/
303/* under construction !*/
304/* under construction !*/
305#endif
306
307// +CGEV: NW PDN DEACT <cid>[,<WLAN_Offload>]
308typedef struct
309{
310 kal_bool cid_present;
311 kal_uint32 cid;
312 kal_bool WLAN_Offload_present;
313 atcmd_WLAN_Offload_enum WLAN_Offload;
314} cgev_nw_pdn_deact_struct;
315
316// +CGEV: ME PDN DEACT <cid>
317typedef struct
318{
319 kal_bool cid_present;
320 kal_uint32 cid;
321} cgev_me_pdn_deact_struct;
322
323// +CGEV: NW DEACT <p_cid>, <cid>, <event_type>[,<WLAN_Offload>]
324typedef struct
325{
326 kal_bool p_cid_present;
327 kal_uint32 p_cid;
328 kal_bool cid_present;
329 kal_uint32 cid;
330 kal_bool event_type_present;
331 atcmd_event_type_enum event_type;
332 kal_bool WLAN_Offload_present;
333 atcmd_WLAN_Offload_enum WLAN_Offload;
334} cgev_nw_deact_struct;
335
336// +CGEV: ME DEACT <p_cid>, <cid>, <event_type>
337typedef struct
338{
339 kal_bool p_cid_present;
340 kal_uint32 p_cid;
341 kal_bool cid_present;
342 kal_uint32 cid;
343 kal_bool event_type_present;
344 atcmd_event_type_enum event_type;
345} cgev_me_deact_struct;
346
347// +CGEV: NW MODIFY <cid>, <change_reason>, <event_type>[,<WLAN_Offload>]
348typedef struct
349{
350 kal_bool cid_present;
351 kal_uint32 cid;
352 kal_bool change_reason_present;
353 kal_uint32 change_reason;
354 kal_bool event_type_present;
355 atcmd_event_type_enum event_type;
356 kal_bool WLAN_Offload_present;
357 atcmd_WLAN_Offload_enum WLAN_Offload;
358} cgev_nw_modify_struct;
359
360// +CGEV: ME MODIFY <cid>, <change_reason>, <event_type>[,<WLAN_Offload>]
361#if 1
362typedef cgev_nw_modify_struct cgev_me_modify_struct;
363#else
364/* under construction !*/
365/* under construction !*/
366/* under construction !*/
367/* under construction !*/
368/* under construction !*/
369/* under construction !*/
370/* under construction !*/
371/* under construction !*/
372#endif
373
374// +CGEV: REJECT <PDP_type>, <PDP_addr>
375typedef struct
376{
377 kal_bool PDP_type_present;
378 kal_uint8 PDP_type[PDP_TYPE_STRING_LEN];
379 kal_bool PDP_addr_present;
380 at_addr_struct PDP_addr;
381} cgev_reject_struct;
382
383// +CGEV: NW REACT <PDP_type>, <PDP_addr>, [<cid>]
384typedef struct
385{
386 kal_bool PDP_type_present;
387 kal_uint8 PDP_type[PDP_TYPE_STRING_LEN];
388 kal_bool PDP_addr_present;
389 at_addr_struct PDP_addr;
390 kal_bool cid_present;
391 kal_uint32 cid;
392} cgev_nw_react_struct;
393
394typedef struct
395{
396 kal_bool cid_present;
397 kal_uint32 cid;
398 kal_bool nsapi_present;
399 kal_uint32 nsapi; // bearer_id
400 kal_bool notify_type_present;
401 l4ctcm_bearer_notify_type_enum notify_type;
402 kal_bool qci_present;
403 kal_uint32 qci;
404 kal_bool gbr_dl_present;
405 kal_uint32 gbr_dl;
406 kal_bool gbr_ul_present;
407 kal_uint32 gbr_ul;
408 kal_bool max_br_dl_present;
409 kal_uint32 max_br_dl;
410 kal_bool max_br_ul_present;
411 kal_uint32 max_br_ul;
412 kal_bool operation_code_present;
413 kal_uint32 operation_code; //tft operation_code
414 kal_bool num_pkt_filter_present;
415 kal_uint32 num_pkt_filter;
416} at_escontind_ind_normal_struct;
417
418typedef struct
419{
420 kal_bool cid_present;
421 kal_uint32 cid;
422 kal_bool pkt_filter_id_present;
423 kal_uint32 pkt_filter_id;
424 kal_bool pkt_filter_direction_present;
425 kal_uint32 pkt_filter_direction;
426 kal_bool local_port_low_present;
427 kal_uint32 local_port_low;
428 kal_bool local_port_high_present;
429 kal_uint32 local_port_high;
430 kal_bool remote_port_low_present;
431 kal_uint32 remote_port_low;
432 kal_bool remote_port_high_present;
433 kal_uint32 remote_port_high;
434 kal_bool remote_ip_present;
435 at_addr_struct remote_ip;
436} at_escontind_ind_packet_filter_struct;
437
438/*
439+ESCONTIND: <type>, <normal_struct> or <packet_filter_struct>
440
441** type = 0 : +ESCONTIND: <type>, <normal_struct>
442** type = 1 : +ESCONTIND: <type>, <packet_filter_struct>
443
444** normal_struct:
445 <cid>, <bearer id>, <noti_type>, <qci>, <gbr_dl>, <gbr_ul>, <max_br_dl>, <max_br_ul>, <operation_code>, <num_pkt_filter>
446
447** packet_filter_struct:
448 <cid>, <pkt_filter_id>, <pkt_filter_dirction>, <local_port_low>, <local_port_high>, <remote_port_low>, <remote_port_high>, <remote_ip>
449*/
450typedef struct
451{
452 kal_uint32 src_id;
453 kal_uint32 type;
454 union
455 {
456 at_escontind_ind_normal_struct normal_struct;
457 at_escontind_ind_packet_filter_struct packet_filter_struct;
458 }info;
459} at_escontind_ind_struct;
460
461// +EGEV: REVIVE START <cid>, <rat>
462// +EGEV: REVIVE SUCCESS <cid>, <rat>
463typedef struct
464{
465 kal_uint8 cid;
466 kal_uint8 rat[RAT_STRING_LEN];
467} egev_revive_struct;
468
469// +EGEV: REVIVE FINISH <rat>
470typedef struct
471{
472 kal_uint8 rat[RAT_STRING_LEN];
473} egev_revive_finish_struct;
474
475typedef struct
476{
477 kal_uint32 src_id;
478 cgev_event_enum event;
479
480 union {
481 cgev_nw_pdn_act_struct nw_pdn_act;
482 cgev_me_pdn_act_struct me_pdn_act;
483 cgev_nw_act_struct nw_act;
484 cgev_me_act_struct me_act;
485 cgev_nw_pdn_deact_struct nw_pdn_deact;
486 cgev_me_pdn_deact_struct me_pdn_deact;
487 cgev_nw_deact_struct nw_deact;
488 cgev_me_deact_struct me_deact;
489 cgev_nw_modify_struct nw_modify;
490 cgev_me_modify_struct me_modify;
491 cgev_reject_struct reject;
492 cgev_nw_react_struct nw_react;
493 } info;
494} at_cgev_ind_struct;
495
496typedef struct
497{
498 kal_uint32 src_id;
499 egev_event_enum event;
500
501 union {
502 egev_revive_struct revive_start;
503 egev_revive_struct revive_success;
504 egev_revive_finish_struct revive_finish;
505 } info;
506} at_egev_ind_struct;
507
508//+CGPIAF
509//SET command: +CGPIAF=[<IPv6_AddressFormat>[,<IPv6_SubnetNotation>[,<IPv6_LeadingZeros>[,<IPv6_CompressZeros>]]]]
510typedef struct
511{
512 ATCMD_HDR
513 at_token_parse_result_enum IPv6_AddressFormat_parse_result;
514 atcmd_IPv6_AddressFormat_enum IPv6_AddressFormat; // integer type
515 at_token_parse_result_enum IPv6_SubnetNotation_parse_result;
516 atcmd_IPv6_SubnetNotation_enum IPv6_SubnetNotation; // integer type
517 at_token_parse_result_enum IPv6_LeadingZeros_parse_result;
518 atcmd_IPv6_LeadingZeros_enum IPv6_LeadingZeros; // integer type
519 at_token_parse_result_enum IPv6_CompressZeros_parse_result;
520 atcmd_IPv6_CompressZeros_enum IPv6_CompressZeros; // integer type
521} at_cgpiaf_req_struct;
522
523//READ response = +CGPIAF: <IPv6_AddressFormat>,<IPv6_SubnetNotation>,<IPv6_LeadingZeros>,<IPv6_CompressZeros>
524typedef struct
525{
526 kal_uint32 src_id;
527 kal_bool IPv6_AddressFormat_present;
528 atcmd_IPv6_AddressFormat_enum IPv6_AddressFormat; // integer type
529 kal_bool IPv6_SubnetNotation_present;
530 atcmd_IPv6_SubnetNotation_enum IPv6_SubnetNotation; // integer type
531 kal_bool IPv6_LeadingZeros_present;
532 atcmd_IPv6_LeadingZeros_enum IPv6_LeadingZeros; // integer type
533 kal_bool IPv6_CompressZeros_present;
534 atcmd_IPv6_CompressZeros_enum IPv6_CompressZeros; // integer type
535} at_cgpiaf_ind_struct;
536
537//+CGDCONT
538//SET command: +CGDCONT=[<cid>[,<PDP_type>[,<APN>[,<PDP_addr>[,<d_comp>[,<h_comp>[,<IPv4AddrAlloc>[,<request_type>[,<P-CSCF_discovery>[,<IM_CN_Signalling_Flag_Ind>[,<NSLPI>[,<securePCO>[,<IPv4_MTU_discovery>[,<Local_Addr_Ind>[,<Non-IP_MTU_discovery>[,<Reliable_Data_Service>[,<SSC_mode>[,<S-NSSAI>[,<Access_type>[,<RQoS_Ind>[,<MH6-PDU>]]]]]]]]]]]]]]]]]]]]]
539typedef struct
540{
541 ATCMD_HDR
542 at_token_parse_result_enum cid_parse_result;
543 kal_uint32 cid; // integer type
544 at_token_parse_result_enum PDP_type_parse_result;
545 kal_uint8 PDP_type[PDP_TYPE_STRING_LEN]; // string type
546 at_token_parse_result_enum APN_parse_result;
547 kal_uint8 APN[APN_STRING_LEN]; // string type
548 at_token_parse_result_enum PDP_addr_parse_result;
549 at_addr_struct PDP_addr; // string type
550 at_token_parse_result_enum d_comp_parse_result;
551 atcmd_d_comp_enum d_comp; // integer type
552 at_token_parse_result_enum h_comp_parse_result;
553 atcmd_h_comp_enum h_comp; // integer type
554 at_token_parse_result_enum IPv4AddrAlloc_parse_result;
555 atcmd_IPv4AddrAlloc_enum IPv4AddrAlloc; // integer type
556 at_token_parse_result_enum request_type_parse_result;
557 atcmd_request_type_enum request_type; // integer type
558 at_token_parse_result_enum P_CSCF_discovery_parse_result;
559 atcmd_P_CSCF_discovery_enum P_CSCF_discovery; // integer type
560 at_token_parse_result_enum IM_CN_Signalling_Flag_Ind_parse_result;
561 atcmd_IM_CN_Signalling_Flag_Ind_enum IM_CN_Signalling_Flag_Ind; // integer type
562 at_token_parse_result_enum NSLPI_parse_result;
563 atcmd_NSLPI_enum NSLPI; // integer type
564 at_token_parse_result_enum securePCO_parse_result;
565 atcmd_securePCO_enum securePCO; // integer type
566 at_token_parse_result_enum IPv4_MTU_discovery_parse_result;
567 atcmd_IPv4_MTU_discovery_enum IPv4_MTU_discovery; // integer type
568 at_token_parse_result_enum Local_Addr_Ind_parse_result;
569 atcmd_Local_Addr_Ind_enum Local_Addr_Ind; // integer type
570 at_token_parse_result_enum Non_IP_MTU_discovery_parse_result;
571 atcmd_Non_IP_MTU_discovery_enum Non_IP_MTU_discovery; // integer type
572 at_token_parse_result_enum Reliable_Data_Service_parse_result;
573 atcmd_Reliable_Data_Service_enum Reliable_Data_Service; // integer type
574 at_token_parse_result_enum SSC_mode_parse_result;
575 atcmd_SSC_mode_enum SSC_mode; // integer type
576 at_token_parse_result_enum S_NSSAI_parse_result;
577 at_s_nssai_struct S_NSSAI; // string type
578 at_token_parse_result_enum Access_type_parse_result;
579 atcmd_Access_type_enum Access_type; // integer type
580 at_token_parse_result_enum RQoS_Ind_parse_result;
581 atcmd_RQoS_Ind_enum RQoS_Ind; // integer type
582 at_token_parse_result_enum MH6_PDU_parse_result;
583 atcmd_MH6_PDU_enum MH6_PDU; // integer type
584 at_token_parse_result_enum Always_on_parse_result;
585 atcmd_Always_on_enum Always_on; // integer type
586} at_cgdcont_req_struct;
587
588//READ response = [+CGDCONT: <cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_comp>[,<IPv4AddrAlloc>[,<request_type>[,<P-CSCF_discovery>[,<IM_CN_Signalling_Flag_Ind>[,<NSLPI>[,<securePCO>[,<IPv4_MTU_discovery>[,<Local_Addr_Ind>[,<Non-IP_MTU_discovery>[,<Reliable_Data_Service>[,<SSC_mode>[,<S-NSSAI>[,<Access_type>[,<RQoS_Ind>[,<MH6-PDU>]]]]]]]]]]]]]]]]
589typedef struct
590{
591 kal_uint32 src_id;
592 kal_bool cid_present;
593 kal_uint32 cid; // integer type
594 kal_bool PDP_type_present;
595 kal_uint8 PDP_type[PDP_TYPE_STRING_LEN]; // string type
596 kal_bool APN_present;
597 kal_uint8 APN[APN_STRING_LEN]; // string type
598 kal_bool PDP_addr_present;
599 at_addr_struct PDP_addr; // string type
600 kal_bool d_comp_present;
601 atcmd_d_comp_enum d_comp; // integer type
602 kal_bool h_comp_present;
603 atcmd_h_comp_enum h_comp; // integer type
604 kal_bool IPv4AddrAlloc_present;
605 atcmd_IPv4AddrAlloc_enum IPv4AddrAlloc; // integer type
606 kal_bool request_type_present;
607 atcmd_request_type_enum request_type; // integer type
608 kal_bool P_CSCF_discovery_present;
609 atcmd_P_CSCF_discovery_enum P_CSCF_discovery; // integer type
610 kal_bool IM_CN_Signalling_Flag_Ind_present;
611 atcmd_IM_CN_Signalling_Flag_Ind_enum IM_CN_Signalling_Flag_Ind; // integer type
612 kal_bool NSLPI_present;
613 atcmd_NSLPI_enum NSLPI; // integer type
614 kal_bool securePCO_present;
615 atcmd_securePCO_enum securePCO; // integer type
616 kal_bool IPv4_MTU_discovery_present;
617 atcmd_IPv4_MTU_discovery_enum IPv4_MTU_discovery; // integer type
618 kal_bool Local_Addr_Ind_present;
619 atcmd_Local_Addr_Ind_enum Local_Addr_Ind; // integer type
620 kal_bool Non_IP_MTU_discovery_present;
621 atcmd_Non_IP_MTU_discovery_enum Non_IP_MTU_discovery; // integer type
622 kal_bool Reliable_Data_Service_present;
623 atcmd_Reliable_Data_Service_enum Reliable_Data_Service; // integer type
624 kal_bool SSC_mode_present;
625 atcmd_SSC_mode_enum SSC_mode; // integer type
626 kal_bool S_NSSAI_present;
627 at_s_nssai_struct S_NSSAI; // integer type
628 kal_bool Access_type_present;
629 atcmd_Access_type_enum Access_type; // integer type
630 kal_bool RQoS_Ind_present;
631 atcmd_RQoS_Ind_enum RQoS_Ind; // integer type
632 kal_bool MH6_PDU_present;
633 atcmd_MH6_PDU_enum MH6_PDU; // integer type
634 at_token_parse_result_enum Always_on_present;
635 atcmd_Always_on_enum Always_on; // integer type
636} at_cgdcont_ind_struct;
637
638//+CGDSCONT
639//SET command: +CGDSCONT=[<cid>,<p_cid>[,<d_comp>[,<h_comp>[,<IM_CN_Signalling_Flag_Ind>]]]]
640typedef struct
641{
642 ATCMD_HDR
643 at_token_parse_result_enum cid_parse_result;
644 kal_uint32 cid; // integer type
645 at_token_parse_result_enum p_cid_parse_result;
646 kal_uint32 p_cid; // integer type
647 at_token_parse_result_enum d_comp_parse_result;
648 atcmd_d_comp_enum d_comp; // integer type
649 at_token_parse_result_enum h_comp_parse_result;
650 atcmd_h_comp_enum h_comp; // integer type
651 at_token_parse_result_enum IM_CN_Signalling_Flag_Ind_parse_result;
652 atcmd_IM_CN_Signalling_Flag_Ind_enum IM_CN_Signalling_Flag_Ind; // integer type
653} at_cgdscont_req_struct;
654
655//READ response = [+CGDSCONT: <cid>,<p_cid>,<d_comp>,<h_comp>,<IM_CN_Signalling_Flag_Ind>]
656typedef struct
657{
658 kal_uint32 src_id;
659 kal_bool cid_present;
660 kal_uint32 cid; // integer type
661 kal_bool p_cid_present;
662 kal_uint32 p_cid; // integer type
663 kal_bool d_comp_present;
664 atcmd_d_comp_enum d_comp; // integer type
665 kal_bool h_comp_present;
666 atcmd_h_comp_enum h_comp; // integer type
667 kal_bool IM_CN_Signalling_Flag_Ind_present;
668 atcmd_IM_CN_Signalling_Flag_Ind_enum IM_CN_Signalling_Flag_Ind; // integer type
669} at_cgdscont_ind_struct;
670typedef struct{
671 at_token_parse_result_enum ladn_string_parse_result;
672 kal_uint8 ladn_string[LADN_STRING_LEN]; // string type
673}ladn_string_info_struct;
674//+CRLADN
675//SET command: +CRLADN=<ladn_dnn>,[<ladn_dnn>]
676typedef struct
677{
678 ATCMD_HDR
679 kal_uint8 ladn_info_count;
680 ladn_string_info_struct ladn_info[MAX_LADN_STRING_COUNT];
681 //at_token_parse_result_enum ladn_info_list_parse_result;
682 //kal_uint8 ladn_info_list[LADN_INFO_LEN];
683} at_crladn_req_struct;
684//+CGTFT
685//SET command: +CGTFT=[<cid>,[<packet filter identifier>,<evaluation precedence index>[,<remote address and subnet mask>[,<protocol number (ipv4) / next header (ipv6)>[,<local port range>[,<remote port range>[,<ipsec security parameter index (spi)>[,<type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask>[,<flow label (ipv6)>[,<direction>[,<local address and subnet mask>[,<QRI>]]]]]]]]]]]]
686typedef struct
687{
688 ATCMD_HDR
689 at_token_parse_result_enum cid_parse_result;
690 kal_uint32 cid; // integer type
691 at_token_parse_result_enum packet_filter_identifier_parse_result;
692 kal_uint32 packet_filter_identifier; // integer type
693 at_token_parse_result_enum evaluation_precedence_index_parse_result;
694 kal_uint32 evaluation_precedence_index; // integer type
695 at_token_parse_result_enum remote_address_and_subnet_mask_parse_result;
696 at_addr_and_mask_struct remote_address_and_subnet_mask; // string type
697 at_token_parse_result_enum protocol_number_next_header_parse_result;
698 kal_uint32 protocol_number_next_header; // integer type
699 at_token_parse_result_enum local_port_range_parse_result;
700 kal_uint8 local_port_range[LOCAL_PORT_RANGE_STRING_LEN]; // string type
701 at_token_parse_result_enum remote_port_range_parse_result;
702 kal_uint8 remote_port_range[REMOTE_PORT_RANGE_STRING_LEN]; // string type
703 at_token_parse_result_enum ipsec_spi_parse_result;
704 kal_uint32 ipsec_spi; // numeric value
705 at_token_parse_result_enum tos_traffic_class_and_mask_parse_result;
706 kal_uint8 tos_traffic_class_and_mask[TOS_TRAFFIC_CLASS_AND_MASK_STRING_LEN]; // string type
707 at_token_parse_result_enum flow_label_parse_result;
708 kal_uint32 flow_label; // numeric value
709 at_token_parse_result_enum direction_parse_result;
710 atcmd_direction_enum direction; // integer type
711 at_token_parse_result_enum local_address_and_subnet_mask_parse_result;
712 at_addr_and_mask_struct local_address_and_subnet_mask; // string type
713 at_token_parse_result_enum QRI_parse_result;
714 kal_uint16 QRI; // integer type
715} at_cgtft_req_struct;
716
717//READ response = [+CGTFT: <cid>,<packet filter identifier>,<evaluation precedence index>,<remote address and subnet mask>,<protocol number (ipv4) / next header (ipv6)>,<local port range>,<remote port range>,<ipsec security parameter index (spi)>,<type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask>,<flow label (ipv6)>,<direction>,<local address and subnet mask>,<QRI>]
718typedef struct
719{
720 kal_uint32 src_id;
721 kal_bool cid_present;
722 kal_uint32 cid; // integer type
723 kal_bool packet_filter_identifier_present;
724 kal_uint32 packet_filter_identifier; // integer type
725 kal_bool evaluation_precedence_index_present;
726 kal_uint32 evaluation_precedence_index; // integer type
727 kal_bool remote_address_and_subnet_mask_present;
728 at_addr_and_mask_struct remote_address_and_subnet_mask; // string type
729 kal_bool protocol_number_next_header_present;
730 kal_uint32 protocol_number_next_header; // integer type
731 kal_bool local_port_range_present;
732 kal_uint8 local_port_range[LOCAL_PORT_RANGE_STRING_LEN]; // string type
733 kal_bool remote_port_range_present;
734 kal_uint8 remote_port_range[REMOTE_PORT_RANGE_STRING_LEN]; // string type
735 kal_bool ipsec_spi_present;
736 kal_uint32 ipsec_spi; // numeric value
737 kal_bool tos_traffic_class_and_mask_present;
738 kal_uint8 tos_traffic_class_and_mask[TOS_TRAFFIC_CLASS_AND_MASK_STRING_LEN]; // string type
739 kal_bool flow_label_present;
740 kal_uint32 flow_label; // numeric value
741 kal_bool direction_present;
742 atcmd_direction_enum direction; // integer type
743 kal_bool local_address_and_subnet_mask_present;
744 at_addr_and_mask_struct local_address_and_subnet_mask; // string type
745 kal_bool QRI_present;
746 kal_uint16 QRI; // integer type
747} at_cgtft_ind_struct;
748
749typedef struct
750{
751 kal_uint32 src_id ;
752 kal_bool apn_present ; // Only when 5G, may be KAL_FALSE due to T3585 blocking for requests of a certain S-NSSAI, but doesn't care APN
753 kal_uint8 apn[APN_STRING_LEN] ;
754 kal_bool residual_backoff_timer_present ;
755 kal_uint32 residual_backoff_timer ;
756 kal_bool re_attempt_rat_indicator_present ;
757 kal_bool re_attempt_rat_indicator ;
758 kal_bool re_attempt_eplmn_indicator_present ;
759 kal_bool re_attempt_eplmn_indicator ;
760 kal_bool NSLPI_present ;
761 kal_bool NSLPI ;
762 // For 5G Congestion Control
763 kal_bool is_s_nssai_present; // Is the backoff_timer only applies to the indicated s_nssai
764 at_s_nssai_struct s_nssai;
765} at_cabtsri_ind_struct;
766
767//+CGQREQ
768//SET command: +CGQREQ=[<cid>[,<precedence>[,<delay>[,<reliability>[,<peak>[,<mean>]]]]]]
769typedef struct
770{
771 ATCMD_HDR
772 at_token_parse_result_enum cid_parse_result;
773 kal_uint32 cid; // integer type
774 at_token_parse_result_enum precedence_parse_result;
775 kal_uint32 precedence; // integer type
776 at_token_parse_result_enum delay_parse_result;
777 kal_uint32 delay; // integer type
778 at_token_parse_result_enum reliability_parse_result;
779 kal_uint32 reliability; // integer type
780 at_token_parse_result_enum peak_parse_result;
781 kal_uint32 peak; // integer type
782 at_token_parse_result_enum mean_parse_result;
783 kal_uint32 mean; // integer type
784} at_cgqreq_req_struct;
785
786//READ response = [+CGQREQ: <cid>,<precedence>,<delay>,<reliability>,<peak>,<mean>]
787typedef struct
788{
789 kal_uint32 src_id;
790 kal_bool cid_present;
791 kal_uint32 cid; // integer type
792 kal_bool precedence_present;
793 kal_uint32 precedence; // integer type
794 kal_bool delay_present;
795 kal_uint32 delay; // integer type
796 kal_bool reliability_present;
797 kal_uint32 reliability; // integer type
798 kal_bool peak_present;
799 kal_uint32 peak; // integer type
800 kal_bool mean_present;
801 kal_uint32 mean; // integer type
802} at_cgqreq_ind_struct;
803
804//+CGQMIN
805//SET command: +CGQMIN=[<cid>[,<precedence>[,<delay>[,<reliability>[,<peak>[,<mean>]]]]]]
806typedef struct
807{
808 ATCMD_HDR
809 at_token_parse_result_enum cid_parse_result;
810 kal_uint32 cid; // integer type
811 at_token_parse_result_enum precedence_parse_result;
812 kal_uint32 precedence; // integer type
813 at_token_parse_result_enum delay_parse_result;
814 kal_uint32 delay; // integer type
815 at_token_parse_result_enum reliability_parse_result;
816 kal_uint32 reliability; // integer type
817 at_token_parse_result_enum peak_parse_result;
818 kal_uint32 peak; // integer type
819 at_token_parse_result_enum mean_parse_result;
820 kal_uint32 mean; // integer type
821} at_cgqmin_req_struct;
822
823//READ response = [+CGQMIN: <cid>,<precedence>,<delay>,<reliability>,<peak>,<mean>]
824typedef struct
825{
826 kal_uint32 src_id;
827 kal_bool cid_present;
828 kal_uint32 cid; // integer type
829 kal_bool precedence_present;
830 kal_uint32 precedence; // integer type
831 kal_bool delay_present;
832 kal_uint32 delay; // integer type
833 kal_bool reliability_present;
834 kal_uint32 reliability; // integer type
835 kal_bool peak_present;
836 kal_uint32 peak; // integer type
837 kal_bool mean_present;
838 kal_uint32 mean; // integer type
839} at_cgqmin_ind_struct;
840
841//+CGEQREQ
842//SET command: +CGEQREQ=[<cid>[,<Traffic class>[,<Maximum bitrate UL>[,<Maximum bitrate DL>[,<Guaranteed bitrate UL>[,<Guaranteed bitrate DL>[,<Delivery order>[,<Maximum SDU size>[,<SDU error ratio>[,<Residual bit error ratio>[,<Delivery of erroneous SDUs>[,<Transfer delay>[,<Traffic handling priority>[,<Source statistics descriptor>[,<Signalling indication>]]]]]]]]]]]]]]]
843typedef struct
844{
845 ATCMD_HDR
846 at_token_parse_result_enum cid_parse_result;
847 kal_uint32 cid; // integer type
848 at_token_parse_result_enum Traffic_class_parse_result;
849 atcmd_Traffic_class_enum Traffic_class; // integer type
850 at_token_parse_result_enum Maximum_bitrate_UL_parse_result;
851 kal_uint32 Maximum_bitrate_UL; // integer type
852 at_token_parse_result_enum Maximum_bitrate_DL_parse_result;
853 kal_uint32 Maximum_bitrate_DL; // integer type
854 at_token_parse_result_enum Guaranteed_bitrate_UL_parse_result;
855 kal_uint32 Guaranteed_bitrate_UL; // integer type
856 at_token_parse_result_enum Guaranteed_bitrate_DL_parse_result;
857 kal_uint32 Guaranteed_bitrate_DL; // integer type
858 at_token_parse_result_enum Delivery_order_parse_result;
859 atcmd_Delivery_order_enum Delivery_order; // integer type
860 at_token_parse_result_enum Maximum_SDU_size_parse_result;
861 kal_uint32 Maximum_SDU_size; // integer type
862 at_token_parse_result_enum SDU_error_ratio_parse_result;
863 kal_uint8 SDU_error_ratio[SDU_ERROR_RATIO_STRING_LEN]; // string type
864 at_token_parse_result_enum Residual_bit_error_ratio_parse_result;
865 kal_uint8 Residual_bit_error_ratio[RESIDUAL_BIT_ERROR_RATIO_STRING_LEN]; // string type
866 at_token_parse_result_enum Delivery_of_erroneous_SDUs_parse_result;
867 atcmd_Delivery_of_erroneous_SDUs_enum Delivery_of_erroneous_SDUs; // integer type
868 at_token_parse_result_enum Transfer_delay_parse_result;
869 kal_uint32 Transfer_delay; // integer type
870 at_token_parse_result_enum Traffic_handling_priority_parse_result;
871 kal_uint32 Traffic_handling_priority; // integer type
872 at_token_parse_result_enum Source_statistics_descriptor_parse_result;
873 atcmd_Source_statistics_descriptor_enum Source_statistics_descriptor; // integer type
874 at_token_parse_result_enum Signalling_indication_parse_result;
875 atcmd_Signalling_indication_enum Signalling_indication; // integer type
876} at_cgeqreq_req_struct;
877
878typedef at_cgeqreq_req_struct at_cgeq_common_req_struct;
879
880
881//READ response = [+CGEQREQ: <cid>,<Traffic class>,<Maximum bitrate UL>,<Maximum bitrate DL>, <Guaranteed bitrate UL>,<Guaranteed bitrate DL>,<Delivery order>,<Maximum SDU size>,<SDU error ratio>,<Residual bit error ratio>,<Delivery of erroneous SDUs>,<Transfer delay>,<Traffic handling priority>,<Source statistics descriptor>,<Signalling indication>]
882typedef struct
883{
884 kal_uint32 src_id;
885 kal_bool cid_present;
886 kal_uint32 cid; // integer type
887 kal_bool Traffic_class_present;
888 atcmd_Traffic_class_enum Traffic_class; // integer type
889 kal_bool Maximum_bitrate_UL_present;
890 kal_uint32 Maximum_bitrate_UL; // integer type
891 kal_bool Maximum_bitrate_DL_present;
892 kal_uint32 Maximum_bitrate_DL; // integer type
893 kal_bool Guaranteed_bitrate_UL_present;
894 kal_uint32 Guaranteed_bitrate_UL; // integer type
895 kal_bool Guaranteed_bitrate_DL_present;
896 kal_uint32 Guaranteed_bitrate_DL; // integer type
897 kal_bool Delivery_order_present;
898 atcmd_Delivery_order_enum Delivery_order; // integer type
899 kal_bool Maximum_SDU_size_present;
900 kal_uint32 Maximum_SDU_size; // integer type
901 kal_bool SDU_error_ratio_present;
902 kal_uint8 SDU_error_ratio[SDU_ERROR_RATIO_STRING_LEN]; // string type
903 kal_bool Residual_bit_error_ratio_present;
904 kal_uint8 Residual_bit_error_ratio[RESIDUAL_BIT_ERROR_RATIO_STRING_LEN]; // string type
905 kal_bool Delivery_of_erroneous_SDUs_present;
906 atcmd_Delivery_of_erroneous_SDUs_enum Delivery_of_erroneous_SDUs; // integer type
907 kal_bool Transfer_delay_present;
908 kal_uint32 Transfer_delay; // integer type
909 kal_bool Traffic_handling_priority_present;
910 kal_uint32 Traffic_handling_priority; // integer type
911 kal_bool Source_statistics_descriptor_present;
912 atcmd_Source_statistics_descriptor_enum Source_statistics_descriptor; // integer type
913 kal_bool Signalling_indication_present;
914 atcmd_Signalling_indication_enum Signalling_indication; // integer type
915} at_cgeqreq_ind_struct;
916
917typedef at_cgeqreq_ind_struct at_cgeq_common_ind_struct;
918
919//+CGEQMIN
920//SET command: +CGEQMIN=[<cid>[,<Traffic class>[,<Maximum bitrate UL>[,<Maximum bitrate DL>[,<Guaranteed bitrate UL>[,<Guaranteed bitrate DL>[,<Delivery order>[,<Maximum SDU size>[,<SDU error ratio>[,<Residual bit error ratio>[,<Delivery of erroneous SDUs> [,<Transfer delay>[,<Traffic handling priority>[,<Source statistics descriptor>[,<Signalling indication>]]]]]]]]]]]]]]]
921typedef struct
922{
923 ATCMD_HDR
924 at_token_parse_result_enum cid_parse_result;
925 kal_uint32 cid; // integer type
926 at_token_parse_result_enum Traffic_class_parse_result;
927 atcmd_Traffic_class_enum Traffic_class; // integer type
928 at_token_parse_result_enum Maximum_bitrate_UL_parse_result;
929 kal_uint32 Maximum_bitrate_UL; // integer type
930 at_token_parse_result_enum Maximum_bitrate_DL_parse_result;
931 kal_uint32 Maximum_bitrate_DL; // integer type
932 at_token_parse_result_enum Guaranteed_bitrate_UL_parse_result;
933 kal_uint32 Guaranteed_bitrate_UL; // integer type
934 at_token_parse_result_enum Guaranteed_bitrate_DL_parse_result;
935 kal_uint32 Guaranteed_bitrate_DL; // integer type
936 at_token_parse_result_enum Delivery_order_parse_result;
937 atcmd_Delivery_order_enum Delivery_order; // integer type
938 at_token_parse_result_enum Maximum_SDU_size_parse_result;
939 kal_uint32 Maximum_SDU_size; // integer type
940 at_token_parse_result_enum SDU_error_ratio_parse_result;
941 kal_uint8 SDU_error_ratio[SDU_ERROR_RATIO_STRING_LEN]; // string type
942 at_token_parse_result_enum Residual_bit_error_ratio_parse_result;
943 kal_uint8 Residual_bit_error_ratio[RESIDUAL_BIT_ERROR_RATIO_STRING_LEN]; // string type
944 at_token_parse_result_enum Delivery_of_erroneous_SDUs_parse_result;
945 atcmd_Delivery_of_erroneous_SDUs_enum Delivery_of_erroneous_SDUs; // integer type
946 at_token_parse_result_enum Transfer_delay_parse_result;
947 kal_uint32 Transfer_delay; // integer type
948 at_token_parse_result_enum Traffic_handling_priority_parse_result;
949 kal_uint32 Traffic_handling_priority; // integer type
950 at_token_parse_result_enum Source_statistics_descriptor_parse_result;
951 atcmd_Source_statistics_descriptor_enum Source_statistics_descriptor; // integer type
952 at_token_parse_result_enum Signalling_indication_parse_result;
953 atcmd_Signalling_indication_enum Signalling_indication; // integer type
954} at_cgeqmin_req_struct;
955
956//READ response = [+CGEQMIN: <cid>,<Traffic class>,<Maximum bitrate UL>,<Maximum bitrate DL>,<Guaranteed bitrate UL>,<Guaranteed bitrate DL>,<Delivery order>,<Maximum SDU size>,<SDU error ratio>,<Residual bit error ratio>,<Delivery of erroneous SDUs>,<Transfer delay>,<Traffic handling priority>,<Source statistics descriptor>,<Signalling indication>]
957typedef struct
958{
959 kal_uint32 src_id;
960 kal_bool cid_present;
961 kal_uint32 cid; // integer type
962 kal_bool Traffic_class_present;
963 atcmd_Traffic_class_enum Traffic_class; // integer type
964 kal_bool Maximum_bitrate_UL_present;
965 kal_uint32 Maximum_bitrate_UL; // integer type
966 kal_bool Maximum_bitrate_DL_present;
967 kal_uint32 Maximum_bitrate_DL; // integer type
968 kal_bool Guaranteed_bitrate_UL_present;
969 kal_uint32 Guaranteed_bitrate_UL; // integer type
970 kal_bool Guaranteed_bitrate_DL_present;
971 kal_uint32 Guaranteed_bitrate_DL; // integer type
972 kal_bool Delivery_order_present;
973 atcmd_Delivery_order_enum Delivery_order; // integer type
974 kal_bool Maximum_SDU_size_present;
975 kal_uint32 Maximum_SDU_size; // integer type
976 kal_bool SDU_error_ratio_present;
977 kal_uint8 SDU_error_ratio[SDU_ERROR_RATIO_STRING_LEN]; // string type
978 kal_bool Residual_bit_error_ratio_present;
979 kal_uint8 Residual_bit_error_ratio[RESIDUAL_BIT_ERROR_RATIO_STRING_LEN]; // string type
980 kal_bool Delivery_of_erroneous_SDUs_present;
981 atcmd_Delivery_of_erroneous_SDUs_enum Delivery_of_erroneous_SDUs; // integer type
982 kal_bool Transfer_delay_present;
983 kal_uint32 Transfer_delay; // integer type
984 kal_bool Traffic_handling_priority_present;
985 kal_uint32 Traffic_handling_priority; // integer type
986 kal_bool Source_statistics_descriptor_present;
987 atcmd_Source_statistics_descriptor_enum Source_statistics_descriptor; // integer type
988 kal_bool Signalling_indication_present;
989 atcmd_Signalling_indication_enum Signalling_indication; // integer type
990} at_cgeqmin_ind_struct;
991
992//+CGEQNEG
993//SET command: +CGEQNEG[=<cid>[,<cid>[,...]]]
994typedef struct
995{
996 ATCMD_HDR
997 at_token_parse_result_enum cid_parse_result;
998 kal_uint32 cid; // integer type
999} at_cgeqneg_req_struct;
1000
1001//READ response = [+CGEQNEG: <cid>,<Traffic class>,<Maximum bitrate UL>,<Maximum bitrate DL>,<Guaranteed bitrate UL>,<Guaranteed bitrate DL>,<Delivery order>,<Maximum SDU size>,<SDU error ratio>,<Residual bit error ratio>,<Delivery of erroneous SDUs>,<Transfer delay>,<Traffic handling priority>]
1002typedef struct
1003{
1004 kal_uint32 src_id;
1005 kal_bool cid_present;
1006 kal_uint32 cid; // integer type
1007 kal_bool Traffic_class_present;
1008 atcmd_Traffic_class_enum Traffic_class; // integer type
1009 kal_bool Maximum_bitrate_UL_present;
1010 kal_uint32 Maximum_bitrate_UL; // integer type
1011 kal_bool Maximum_bitrate_DL_present;
1012 kal_uint32 Maximum_bitrate_DL; // integer type
1013 kal_bool Guaranteed_bitrate_UL_present;
1014 kal_uint32 Guaranteed_bitrate_UL; // integer type
1015 kal_bool Guaranteed_bitrate_DL_present;
1016 kal_uint32 Guaranteed_bitrate_DL; // integer type
1017 kal_bool Delivery_order_present;
1018 atcmd_Delivery_order_enum Delivery_order; // integer type
1019 kal_bool Maximum_SDU_size_present;
1020 kal_uint32 Maximum_SDU_size; // integer type
1021 kal_bool SDU_error_ratio_present;
1022 kal_uint8 SDU_error_ratio[SDU_ERROR_RATIO_STRING_LEN]; // string type
1023 kal_bool Residual_bit_error_ratio_present;
1024 kal_uint8 Residual_bit_error_ratio[RESIDUAL_BIT_ERROR_RATIO_STRING_LEN]; // string type
1025 kal_bool Delivery_of_erroneous_SDUs_present;
1026 atcmd_Delivery_of_erroneous_SDUs_enum Delivery_of_erroneous_SDUs; // integer type
1027 kal_bool Transfer_delay_present;
1028 kal_uint32 Transfer_delay; // integer type
1029 kal_bool Traffic_handling_priority_present;
1030 kal_uint32 Traffic_handling_priority; // integer type
1031} at_cgeqneg_ind_struct;
1032
1033//+CGACT
1034//SET command: +CGACT=[<state>[,<cid>[,<cid>[,...]]]]
1035typedef struct
1036{
1037 ATCMD_HDR
1038 at_token_parse_result_enum state_parse_result;
1039 atcmd_state_enum state; // integer type
1040 at_token_parse_result_enum cid_parse_result;
1041 kal_uint32 cid; // integer type
1042} at_cgact_req_struct;
1043
1044//READ response = [+CGACT: <cid>,<state>]
1045typedef struct
1046{
1047 kal_uint32 src_id;
1048 kal_bool cid_present;
1049 kal_uint32 cid; // integer type
1050 kal_bool state_present;
1051 atcmd_state_enum state; // integer type
1052} at_cgact_ind_struct;
1053
1054//+CGCMOD
1055//SET command: +CGCMOD[=<cid>[,<cid>[,...]]]
1056typedef struct
1057{
1058 ATCMD_HDR
1059 at_token_parse_result_enum cid_parse_result;
1060 kal_uint32 cid; // integer type
1061} at_cgcmod_req_struct;
1062
1063//+CGDATA
1064//SET command: +CGDATA[=<L2P>[,<cid>[,<cid>[,...]]]]
1065typedef struct
1066{
1067 ATCMD_HDR
1068 at_token_parse_result_enum L2P_parse_result;
1069 kal_uint8 L2P[L2P_STRING_LEN]; // string type
1070 at_token_parse_result_enum cid_parse_result;
1071 kal_uint32 cid; // integer type
1072} at_cgdata_req_struct;
1073
1074//+CGPADDR
1075//SET command: +CGPADDR[=<cid>[,<cid>[,...]]]
1076typedef struct
1077{
1078 ATCMD_HDR
1079 at_token_parse_result_enum cid_parse_result;
1080 kal_uint32 cid; // integer type
1081} at_cgpaddr_req_struct;
1082
1083//READ response = [+CGPADDR: <cid>[,<PDP_addr_1>[,<PDP_addr_2>]]]
1084typedef struct
1085{
1086 kal_uint32 src_id;
1087 kal_bool cid_present;
1088 kal_uint32 cid; // integer type
1089 kal_bool PDP_addr_1_present;
1090 at_addr_struct PDP_addr_1; // string type
1091 kal_bool PDP_addr_2_present;
1092 at_addr_struct PDP_addr_2; // string type
1093} at_cgpaddr_ind_struct;
1094
1095//+CGAUTO
1096//SET command: +CGAUTO=[<n>]
1097typedef struct
1098{
1099 ATCMD_HDR
1100 at_token_parse_result_enum cgauto_n_parse_result;
1101 atcmd_cgauto_n_enum cgauto_n; // integer type
1102} at_cgauto_req_struct;
1103
1104//READ response = +CGAUTO: <n>
1105typedef struct
1106{
1107 kal_uint32 src_id;
1108 kal_bool cgauto_n_present;
1109 atcmd_cgauto_n_enum cgauto_n; // integer type
1110} at_cgauto_ind_struct;
1111
1112//+CGANS
1113//SET command: +CGANS[=<response>,[<L2P>,[<cid>]]]
1114typedef struct
1115{
1116 ATCMD_HDR
1117 at_token_parse_result_enum response_parse_result;
1118 atcmd_response_enum response; // integer type
1119 at_token_parse_result_enum L2P_parse_result;
1120 kal_uint8 L2P[L2P_STRING_LEN]; // string type
1121 at_token_parse_result_enum cid_parse_result;
1122 kal_uint32 cid; // integer type
1123} at_cgans_req_struct;
1124
1125//+CGEREP
1126//SET command: +CGEREP=[<mode>[,<bfr>]]
1127typedef struct
1128{
1129 ATCMD_HDR
1130 at_token_parse_result_enum cgerep_mode_parse_result;
1131 atcmd_cgerep_mode_enum cgerep_mode; // integer type
1132 at_token_parse_result_enum bfr_parse_result;
1133 atcmd_bfr_enum bfr; // integer type
1134} at_cgerep_req_struct;
1135
1136//READ response = +CGEREP: <mode>,<bfr>
1137typedef struct
1138{
1139 kal_uint32 src_id;
1140 kal_bool cgerep_mode_present;
1141 atcmd_cgerep_mode_enum cgerep_mode; // integer type
1142 kal_bool bfr_present;
1143 atcmd_bfr_enum bfr; // integer type
1144} at_cgerep_ind_struct;
1145
1146//+CGCONTRDP
1147//SET command: +CGCONTRDP[=<cid>]
1148typedef struct
1149{
1150 ATCMD_HDR
1151 at_token_parse_result_enum cid_parse_result;
1152 kal_uint32 cid; // integer type
1153} at_cgcontrdp_req_struct;
1154
1155//READ response = [+CGCONTRDP: <cid>,<bearer_id>,<apn>[,<local_addr and subnet_mask>[,<gw_addr>[,<DNS_prim_addr>[,<DNS_sec_addr>[,<P-CSCF_prim_addr>[,<P-CSCF_sec_addr>[,<IM_CN_Signalling_Flag>[,<LIPA_indication>[,<IPv4_MTU>[,<WLAN_Offload>[,<Local_Addr_Ind>[,<Non-IP_MTU>[,<Serving_PLMN_rate_control_value>[,<Reliable_Data_Service>[,<PS_Data_Off_Support>[,<PSI>,<QFI>[,<SSC_mode>[,<S-NSSAI>[,<Access_type>[,<RQ_timer>]]]]]]]]]]]]]]]]]]]]]
1156typedef struct
1157{
1158 kal_uint32 src_id;
1159 kal_bool cid_present;
1160 kal_uint32 cid; // integer type
1161 kal_bool bearer_id_present;
1162 kal_uint32 bearer_id; // integer type
1163 kal_bool apn_present;
1164 kal_uint8 apn[APN_STRING_LEN]; // string type
1165 kal_bool local_addr_and_subnet_mask_present;
1166 at_addr_and_mask_struct local_addr_and_subnet_mask; // string type
1167 kal_bool gw_addr_present;
1168 at_addr_struct gw_addr; // string type
1169 kal_bool DNS_prim_addr_present;
1170 at_addr_struct DNS_prim_addr; // string type
1171 kal_bool DNS_sec_addr_present;
1172 at_addr_struct DNS_sec_addr; // string type
1173 kal_bool P_CSCF_prim_addr_present;
1174 at_addr_struct P_CSCF_prim_addr; // string type
1175 kal_bool P_CSCF_sec_addr_present;
1176 at_addr_struct P_CSCF_sec_addr; // string type
1177 kal_bool IM_CN_Signalling_Flag_present;
1178 atcmd_IM_CN_Signalling_Flag_enum IM_CN_Signalling_Flag; // integer type
1179 kal_bool LIPA_indication_present;
1180 atcmd_LIPA_indication_enum LIPA_indication; // integer type
1181 kal_bool IPv4_MTU_present;
1182 kal_uint32 IPv4_MTU; // integer type
1183 kal_bool WLAN_Offload_present;
1184 atcmd_WLAN_Offload_enum WLAN_Offload; // integer type
1185 kal_bool Local_Addr_Ind_present;
1186 atcmd_Local_Addr_Ind_enum Local_Addr_Ind; // integer type
1187 kal_bool Non_IP_MTU_present;
1188 kal_uint32 Non_IP_MTU; // integer type
1189 kal_bool Serving_PLMN_rate_control_value_present;
1190 kal_uint32 Serving_PLMN_rate_control_value; // integer type
1191 kal_bool Reliable_Data_Service_present;
1192 kal_uint8 Reliable_Data_Service; // integer type
1193 kal_bool PS_Data_off_Support_present;
1194 kal_uint8 PS_Data_off_Support; // integer type
1195 kal_bool PSI_present;
1196 kal_uint8 PSI; // integer type
1197 kal_bool QFI_present;
1198 kal_uint8 QFI; // integer type
1199 kal_bool SSC_mode_present;
1200 kal_uint8 SSC_mode; // integer type
1201 kal_bool S_NSSAI_present;
1202 at_s_nssai_struct S_NSSAI; // string type
1203 kal_bool Access_type_present;
1204 kal_uint8 Access_type; // integer type
1205 kal_bool RQ_timer_present;
1206 kal_uint32 RQ_timer; // integer type
1207} at_cgcontrdp_ind_struct;
1208
1209//+CGSCONTRDP
1210//SET command: +CGSCONTRDP[=<cid>]
1211typedef struct
1212{
1213 ATCMD_HDR
1214 at_token_parse_result_enum cid_parse_result;
1215 kal_uint32 cid; // integer type
1216} at_cgscontrdp_req_struct;
1217
1218//READ response = [+CGSCONTRDP: <cid>,<p_cid>,<bearer_id>[,<IM_CN_Signalling_Flag>[,<WLAN_Offload>[,<PSI>,<QFI>]]]]
1219typedef struct
1220{
1221 kal_uint32 src_id;
1222 kal_bool cid_present;
1223 kal_uint32 cid; // integer type
1224 kal_bool p_cid_present;
1225 kal_uint32 p_cid; // integer type
1226 kal_bool bearer_id_present;
1227 kal_uint32 bearer_id; // integer type
1228 kal_bool IM_CN_Signalling_Flag_present;
1229 atcmd_IM_CN_Signalling_Flag_enum IM_CN_Signalling_Flag; // integer type
1230 kal_bool WLAN_Offload_present;
1231 atcmd_WLAN_Offload_enum WLAN_Offload; // integer type
1232 kal_bool PSI_present;
1233 kal_uint8 PSI; // integer type
1234 kal_bool QFI_present;
1235 kal_uint8 QFI; // integer type
1236} at_cgscontrdp_ind_struct;
1237
1238//+CGTFTRDP
1239//SET command: +CGTFTRDP[=<cid>]
1240typedef struct
1241{
1242 ATCMD_HDR
1243 at_token_parse_result_enum cid_parse_result;
1244 kal_uint32 cid; // integer type
1245} at_cgtftrdp_req_struct;
1246
1247//READ response = [+CGTFTRDP: <cid>,<packet filter identifier>,<evaluation precedence index>,<remote address and subnet mask>,<protocol number (ipv4) / next header (ipv6)>,<local port range>,<remote port range>,<ipsec security parameter index (spi)>,<type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask>,<flow label (ipv6)>,<direction>,<NW packet filter Identifier>,<local address and subnet mask>,<QRI>]
1248typedef struct
1249{
1250 kal_uint32 src_id;
1251 kal_bool cid_present;
1252 kal_uint32 cid; // integer type
1253 kal_bool packet_filter_identifier_present;
1254 kal_uint32 packet_filter_identifier; // integer type
1255 kal_bool evaluation_precedence_index_present;
1256 kal_uint32 evaluation_precedence_index; // integer type
1257 kal_bool remote_address_and_subnet_mask_present;
1258 at_addr_and_mask_struct remote_address_and_subnet_mask; // string type
1259 kal_bool protocol_number_next_header_present;
1260 kal_uint32 protocol_number_next_header; // integer type
1261 kal_bool local_port_range_present;
1262 kal_uint8 local_port_range[LOCAL_PORT_RANGE_STRING_LEN]; // string type
1263 kal_bool remote_port_range_present;
1264 kal_uint8 remote_port_range[REMOTE_PORT_RANGE_STRING_LEN]; // string type
1265 kal_bool ipsec_spi_present;
1266 kal_uint32 ipsec_spi; // numeric value
1267 kal_bool tos_traffic_class_and_mask_present;
1268 kal_uint8 tos_traffic_class_and_mask[TOS_TRAFFIC_CLASS_AND_MASK_STRING_LEN]; // string type
1269 kal_bool flow_label_present;
1270 kal_uint32 flow_label; // numeric value
1271 kal_bool direction_present;
1272 atcmd_direction_enum direction; // integer type
1273 kal_bool NW_packet_filter_Identifier_present;
1274 kal_uint32 NW_packet_filter_Identifier; // integer type
1275 kal_bool local_address_and_subnet_mask_present;
1276 at_addr_and_mask_struct local_address_and_subnet_mask; // string type
1277 kal_bool QRI_present;
1278 kal_uint16 QRI; // integer type
1279} at_cgtftrdp_ind_struct;
1280
1281//+CGEQOS
1282//SET command: +CGEQOS=[<cid>[,<QCI>[,<DL_GBR>,<UL_GBR>[,<DL_MBR>,<UL_MBR>]]]]
1283typedef struct
1284{
1285 ATCMD_HDR
1286 at_token_parse_result_enum cid_parse_result;
1287 kal_uint32 cid; // integer type
1288 at_token_parse_result_enum QCI_parse_result;
1289 kal_uint32 QCI; // integer type
1290 at_token_parse_result_enum DL_GBR_parse_result;
1291 kal_uint64 DL_GBR; // integer type
1292 at_token_parse_result_enum UL_GBR_parse_result;
1293 kal_uint64 UL_GBR; // integer type
1294 at_token_parse_result_enum DL_MBR_parse_result;
1295 kal_uint64 DL_MBR; // integer type
1296 at_token_parse_result_enum UL_MBR_parse_result;
1297 kal_uint64 UL_MBR; // integer type
1298} at_cgeqos_req_struct;
1299
1300//READ response = [+CGEQOS: <cid>,<QCI>,[<DL_GBR>,<UL_GBR>],[<DL_MBR>,<UL_MBR>]]
1301typedef struct
1302{
1303 kal_uint32 src_id;
1304 kal_bool cid_present;
1305 kal_uint32 cid; // integer type
1306 kal_bool QCI_present;
1307 kal_uint32 QCI; // integer type
1308 kal_bool DL_GBR_present;
1309 kal_uint64 DL_GBR; // integer type
1310 kal_bool UL_GBR_present;
1311 kal_uint64 UL_GBR; // integer type
1312 kal_bool DL_MBR_present;
1313 kal_uint64 DL_MBR; // integer type
1314 kal_bool UL_MBR_present;
1315 kal_uint64 UL_MBR; // integer type
1316} at_cgeqos_ind_struct;
1317
1318//+CGEQOSRDP
1319//SET command: +CGEQOSRDP[=<cid>]
1320typedef struct
1321{
1322 ATCMD_HDR
1323 at_token_parse_result_enum cid_parse_result;
1324 kal_uint32 cid; // integer type
1325} at_cgeqosrdp_req_struct;
1326
1327//READ response = [+CGEQOSRDP: <cid>,<QCI>,[<DL_GBR>,<UL_GBR>],[<DL_MBR>,<UL_MBR>][,<DL_AMBR>,<UL_AMBR>]]
1328typedef struct
1329{
1330 kal_uint32 src_id;
1331 kal_bool cid_present;
1332 kal_uint32 cid; // integer type
1333 kal_bool QCI_present;
1334 kal_uint32 QCI; // integer type
1335 kal_bool DL_GBR_present;
1336 kal_uint64 DL_GBR; // integer type
1337 kal_bool UL_GBR_present;
1338 kal_uint64 UL_GBR; // integer type
1339 kal_bool DL_MBR_present;
1340 kal_uint64 DL_MBR; // integer type
1341 kal_bool UL_MBR_present;
1342 kal_uint64 UL_MBR; // integer type
1343 kal_bool DL_AMBR_present;
1344 kal_uint64 DL_AMBR; // integer type
1345 kal_bool UL_AMBR_present;
1346 kal_uint64 UL_AMBR; // integer type
1347} at_cgeqosrdp_ind_struct;
1348
1349//+CG5QOS
1350//SET command: +CG5QOS=[<cid>[,<5QI>[,<DL_GFBR>,<UL_GFBR>[,<DL_MFBR>,<UL_MFBR]]]]
1351typedef struct
1352{
1353 ATCMD_HDR
1354 at_token_parse_result_enum cid_parse_result;
1355 kal_uint32 cid; // integer type
1356 at_token_parse_result_enum VQI_parse_result;
1357 kal_uint32 VQI; // integer type
1358 at_token_parse_result_enum DL_GFBR_parse_result;
1359 kal_uint64 DL_GFBR; // integer type
1360 at_token_parse_result_enum UL_GFBR_parse_result;
1361 kal_uint64 UL_GFBR; // integer type
1362 at_token_parse_result_enum DL_MFBR_parse_result;
1363 kal_uint64 DL_MFBR; // integer type
1364 at_token_parse_result_enum UL_MFBR_parse_result;
1365 kal_uint64 UL_MFBR; // integer type
1366} at_c5gqos_req_struct;
1367
1368//READ response = [+CG5QOS: <cid>,<5QI>[,<DL_GFBR>,<UL_GFBR>[,<DL_MFBR>,<UL_MFBR>]]]
1369typedef struct
1370{
1371 kal_uint32 src_id;
1372 kal_bool cid_present;
1373 kal_uint32 cid; // integer type
1374 kal_bool VQI_present;
1375 kal_uint32 VQI; // integer type
1376 kal_bool DL_GFBR_present;
1377 kal_uint64 DL_GFBR; // integer type
1378 kal_bool UL_GFBR_present;
1379 kal_uint64 UL_GFBR; // integer type
1380 kal_bool DL_MFBR_present;
1381 kal_uint64 DL_MFBR; // integer type
1382 kal_bool UL_MFBR_present;
1383 kal_uint64 UL_MFBR; // integer type
1384} at_c5gqos_ind_struct;
1385
1386//+CG5QOSRDP
1387//SET command: +CG5QOSRDP[=<cid>]
1388typedef struct
1389{
1390 ATCMD_HDR
1391 at_token_parse_result_enum cid_parse_result;
1392 kal_uint32 cid; // integer type
1393} at_c5gqosrdp_req_struct;
1394
1395//READ response = [+CG5QOSRDP: <cid>,<5QI>[,<DL_GFBR>,<UL_GFBR>[,<DL_MFBR>,<UL_MFBR>[,<DL_SAMBR>,<UL_SAMBR>[,<Averaging_window>]]]]]
1396typedef struct
1397{
1398 kal_uint32 src_id;
1399 kal_bool cid_present;
1400 kal_uint32 cid; // integer type
1401 kal_bool VQI_present;
1402 kal_uint32 VQI; // integer type
1403 kal_bool DL_GFBR_present;
1404 kal_uint64 DL_GFBR; // integer type
1405 kal_bool UL_GFBR_present;
1406 kal_uint64 UL_GFBR; // integer type
1407 kal_bool DL_MFBR_present;
1408 kal_uint64 DL_MFBR; // integer type
1409 kal_bool UL_MFBR_present;
1410 kal_uint64 UL_MFBR; // integer type
1411 kal_bool DL_SAMBR_present;
1412 kal_uint64 DL_SAMBR; // integer type
1413 kal_bool UL_SAMBR_present;
1414 kal_uint64 UL_SAMBR; // integer type
1415 kal_bool Averaging_window_present;
1416 kal_uint32 Averaging_window; // integer type
1417} at_c5gqosrdp_ind_struct;
1418
1419//+CGDEL
1420//SET command: +CGDEL[=<cid>]
1421typedef struct
1422{
1423 ATCMD_HDR
1424 at_token_parse_result_enum cid_parse_result;
1425 kal_uint32 cid; // integer type
1426} at_cgdel_req_struct;
1427
1428//READ response = [+CGDEL: <cid>[,<cid>[,...]]]
1429typedef struct
1430{
1431 kal_uint32 src_id;
1432 kal_bool cid_present;
1433 kal_uint32 cid; // integer type
1434} at_cgdel_ind_struct;
1435
1436//+CGAUTH
1437//SET command: +CGAUTH=<cid>[,<auth_prot>[,<userid>[,<password>]]]
1438typedef struct
1439{
1440 ATCMD_HDR
1441 at_token_parse_result_enum cid_parse_result;
1442 kal_uint32 cid; // integer type
1443 at_token_parse_result_enum auth_prot_parse_result;
1444 atcmd_auth_prot_enum auth_prot; // integer type
1445 at_token_parse_result_enum userid_parse_result;
1446 kal_uint8 userid[USERID_STRING_LEN]; // string type
1447 at_token_parse_result_enum password_parse_result;
1448 kal_uint8 password[PASSWORD_STRING_LEN]; // string type
1449} at_cgauth_req_struct;
1450
1451//READ response = [+CGAUTH: <cid>,<auth_prot>,<userid>,<password>]
1452typedef struct
1453{
1454 kal_uint32 src_id;
1455 kal_bool cid_present;
1456 kal_uint32 cid; // integer type
1457 kal_bool auth_prot_present;
1458 atcmd_auth_prot_enum auth_prot; // integer type
1459 kal_bool userid_present;
1460 kal_uint8 userid[USERID_STRING_LEN]; // string type
1461 kal_bool password_present;
1462 kal_uint8 password[PASSWORD_STRING_LEN]; // string type
1463} at_cgauth_ind_struct;
1464
1465//+CLADN
1466//SET command: +CGAUTH=[<n>]
1467typedef struct
1468{
1469 ATCMD_HDR
1470 at_token_parse_result_enum n_parse_result;
1471 atcmd_cladn_n_enum n; // interger type
1472} at_cladn_req_struct;
1473
1474//READ response = [+CLADN: <n>,<ladn_information_length>,<ladn_information>]
1475typedef struct
1476{
1477 kal_uint32 src_id;
1478 kal_bool n_present;
1479 kal_uint8 n; // integer type
1480 kal_bool ladn_information_length_present;
1481 kal_uint16 ladn_information_length;
1482 kal_bool ladn_information_present;
1483 kal_uint8 ladn_information[LADN_INFO_LEN];
1484} at_cladn_ind_struct;
1485
1486//+CLADNU: <ladn_information_length>,<ladn_information>
1487typedef struct
1488{
1489 kal_uint32 src_id;
1490 kal_bool ladn_information_length_present;
1491 kal_uint16 ladn_information_length;
1492 kal_bool ladn_information_present;
1493 kal_uint8 ladn_information[LADN_INFO_LEN];
1494} at_cladnu_ind_struct;
1495
1496//+ECNCFG
1497//SET command: +ECNCFG=[<mobile_data>], [<data_roaming>],[<volte>], [<ims_test_mode>]
1498typedef struct
1499{
1500 ATCMD_HDR
1501 at_token_parse_result_enum mobile_data_parse_result;
1502 atcmd_mobile_data_enum mobile_data; // integer type
1503 at_token_parse_result_enum data_roaming_parse_result;
1504 atcmd_data_roaming_enum data_roaming; // integer type
1505 at_token_parse_result_enum volte_parse_result;
1506 atcmd_volte_enum volte; // integer type
1507 at_token_parse_result_enum ims_test_mode_parse_result;
1508 atcmd_ims_test_mode_enum ims_test_mode; // integer type
1509} at_ecncfg_req_struct;
1510
1511//+EGDCONT
1512//SET command: +EGDCONT=<cid>,<roaming_ip_type>
1513typedef struct
1514{
1515 ATCMD_HDR
1516 at_token_parse_result_enum cid_parse_result;
1517 kal_uint32 cid; // integer type
1518 at_token_parse_result_enum roaming_ip_type_parse_result;
1519 kal_uint8 roaming_ip_type[ROAMING_IP_TYPE_STRING_LEN]; // string type
1520} at_egdcont_req_struct;
1521
1522//+VZWAPNETMR
1523//SET command: +VZWAPNETMR=<wapn>,<max_conn>,<max_conn_t>,<wait_time>,<throttle_time>
1524typedef struct
1525{
1526 ATCMD_HDR
1527 at_token_parse_result_enum wapn_parse_result;
1528 kal_uint32 wapn; // integer type
1529 at_token_parse_result_enum max_conn_parse_result;
1530 kal_uint32 max_conn; // integer type
1531 at_token_parse_result_enum max_conn_t_parse_result;
1532 kal_uint32 max_conn_t; // integer type
1533 at_token_parse_result_enum wait_time_parse_result;
1534 kal_uint32 wait_time; // integer type
1535 at_token_parse_result_enum throttle_time_parse_result;
1536 kal_uint32 throttle_time; // integer type
1537} at_vzwapnetmr_req_struct;
1538
1539//READ response = +VZWAPNETMR: <wapn>,<max_conn>,<max_conn_t>,<wait_time>,<throttle_time>
1540typedef struct
1541{
1542 kal_uint32 src_id;
1543 kal_bool wapn_present;
1544 kal_uint32 wapn; // integer type
1545 kal_bool max_conn_present;
1546 kal_uint32 max_conn; // integer type
1547 kal_bool max_conn_t_present;
1548 kal_uint32 max_conn_t; // integer type
1549 kal_bool wait_time_present;
1550 kal_uint32 wait_time; // integer type
1551 kal_bool throttle_time_present;
1552 kal_uint32 throttle_time; // integer type
1553} at_vzwapnetmr_ind_struct;
1554
1555//+VZWAPNE
1556//SET command: +VZWAPNE[=<wapn>,<apncl>,<apnni>,<apntype>,<apnb>,<apned>,<apntimer>,<s-nssai>]
1557typedef struct
1558{
1559 ATCMD_HDR
1560 at_token_parse_result_enum wapn_parse_result;
1561 kal_uint32 wapn; // integer type
1562 at_token_parse_result_enum apncl_parse_result;
1563 kal_uint32 apncl; // integer type
1564 at_token_parse_result_enum apnni_parse_result;
1565 kal_uint8 apnni[APNNI_STRING_LEN]; // string type
1566 at_token_parse_result_enum apntype_parse_result;
1567 kal_uint8 apntype[APNTYPE_STRING_LEN]; // string type
1568 at_token_parse_result_enum apnb_parse_result;
1569 kal_uint8 apnb[APNB_STRING_LEN]; // string type
1570 at_token_parse_result_enum apned_parse_result;
1571 kal_uint8 apned[APNED_STRING_LEN]; // string type
1572 at_token_parse_result_enum apntimer_parse_result;
1573 kal_uint32 apntimer; // integer type
1574 at_token_parse_result_enum s_nssai_parse_result;
1575 at_s_nssai_struct s_nssai;
1576} at_vzwapne_req_struct;
1577
1578//READ response = +VZWAPNE: <wapn>,<apncl>,<apnni>,<apntype>,<apnb>,<apned>,<apntimer>
1579typedef struct
1580{
1581 kal_uint32 src_id;
1582 kal_bool wapn_present;
1583 kal_uint32 wapn; // integer type
1584 kal_bool apncl_present;
1585 kal_uint32 apncl; // integer type
1586 kal_bool apnni_present;
1587 kal_uint8 apnni[APNNI_STRING_LEN]; // string type
1588 kal_bool apntype_present;
1589 kal_uint8 apntype[APNTYPE_STRING_LEN]; // string type
1590 kal_bool apnb_present;
1591 kal_uint8 apnb[APNB_STRING_LEN]; // string type
1592 kal_bool apned_present;
1593 kal_uint8 apned[APNED_STRING_LEN]; // string type
1594 kal_bool apntimer_present;
1595 kal_uint32 apntimer; // integer type
1596} at_vzwapne_ind_struct;
1597
1598//+EGPAU
1599//SET command: +EGPAU=<op>,<cid>[,<auth_type>]
1600typedef struct
1601{
1602 ATCMD_HDR
1603 at_token_parse_result_enum op_parse_result;
1604 atcmd_op_enum op; // integer type
1605 at_token_parse_result_enum cid_parse_result;
1606 kal_uint32 cid; // integer type
1607 at_token_parse_result_enum auth_type_parse_result;
1608 atcmd_auth_type_enum auth_type; // integer type
1609} at_egpau_req_struct;
1610
1611//READ response = +EGPAU: <auth_type>
1612typedef struct
1613{
1614 kal_uint32 src_id;
1615 kal_bool auth_type_present;
1616 atcmd_auth_type_enum auth_type; // integer type
1617} at_egpau_ind_struct;
1618
1619//+EGACT
1620//SET command: +EGACT=<state>,<cid>,<rat>,<deact_cause>
1621typedef struct
1622{
1623 ATCMD_HDR
1624 at_token_parse_result_enum state_parse_result;
1625 atcmd_state_enum state; // integer type
1626 at_token_parse_result_enum cid_parse_result;
1627 kal_uint32 cid; // integer type
1628 at_token_parse_result_enum rat_parse_result;
1629 atcmd_rat_enum rat; // integer type
1630 at_token_parse_result_enum deact_cause_parse_result;
1631 atcmd_deact_cause_enum deact_cause; // integer type
1632} at_egact_req_struct;
1633
1634//+CGSDATA
1635//SET command: +CGSDATA=<byte>,<cid>
1636typedef struct
1637{
1638 ATCMD_HDR
1639 at_token_parse_result_enum byte_parse_result;
1640 kal_uint32 byte; // integer type
1641 at_token_parse_result_enum cid_parse_result;
1642 kal_uint32 cid; // integer type
1643} at_cgsdata_req_struct;
1644
1645//+ACTTEST
1646//SET command: +ACTTEST=<state> ,<cid>
1647typedef struct
1648{
1649 ATCMD_HDR
1650 at_token_parse_result_enum state_parse_result;
1651 atcmd_state_enum state; // integer type
1652 at_token_parse_result_enum cid_parse_result;
1653 kal_uint32 cid; // integer type
1654} at_acttest_req_struct;
1655
1656//+PSBEARER
1657//SET command: +PSBEARER=<mode>
1658typedef struct
1659{
1660 ATCMD_HDR
1661 at_token_parse_result_enum psbearer_mode_parse_result;
1662 atcmd_psbearer_mode_enum psbearer_mode; // integer type
1663} at_psbearer_req_struct;
1664
1665//READ response = +PSBEARER: <cell_data_speed_support>,<max_data_bearer_capability>,<scell_number_dl>,<scell_number_ul>
1666typedef struct
1667{
1668 kal_uint32 src_id;
1669 kal_bool cell_data_speed_support_present;
1670 atcmd_cell_data_speed_support_enum cell_data_speed_support; // integer type
1671 kal_bool max_data_bearer_capability_present;
1672 atcmd_max_data_bearer_capability_enum max_data_bearer_capability; // integer type
1673 kal_bool scell_number_dl_present;
1674 kal_uint32 scell_number_dl; // integer type
1675 kal_bool scell_number_ul_present;
1676 kal_uint32 scell_number_ul; // integer type
1677} at_psbearer_ind_struct;
1678
1679//+EGFB
1680//SET command: +EGFB=<fallback_enable>,<ipv4_first>
1681typedef struct
1682{
1683 ATCMD_HDR
1684 at_token_parse_result_enum fallback_enable_parse_result;
1685 atcmd_fallback_enable_enum fallback_enable; // integer type
1686 at_token_parse_result_enum ipv4_first_parse_result;
1687 atcmd_ipv4_first_enum ipv4_first; // integer type
1688} at_egfb_req_struct;
1689
1690//READ response = +EGFB: <fallback_enable>,<ipv4_first>
1691typedef struct
1692{
1693 kal_uint32 src_id;
1694 kal_bool fallback_enable_present;
1695 atcmd_fallback_enable_enum fallback_enable; // integer type
1696 kal_bool ipv4_first_present;
1697 atcmd_ipv4_first_enum ipv4_first; // integer type
1698} at_egfb_ind_struct;
1699
1700//+EGLD
1701//SET command: +EGLD=<cid>
1702typedef struct
1703{
1704 ATCMD_HDR
1705 at_token_parse_result_enum cid_parse_result;
1706 kal_uint32 cid; // integer type
1707} at_egld_req_struct;
1708
1709//+EGDELPF
1710//SET command: +EGDELPF=<cid>,<pfid>
1711typedef struct
1712{
1713 ATCMD_HDR
1714 at_token_parse_result_enum cid_parse_result;
1715 kal_uint32 cid; // integer type
1716 at_token_parse_result_enum pfid_parse_result;
1717 kal_uint32 pfid; // integer type
1718} at_egdelpf_req_struct;
1719
1720//READ response = +EGDELPF: <cid>
1721typedef struct
1722{
1723 kal_uint32 src_id;
1724 kal_bool cid_present;
1725 kal_uint32 cid; // integer type
1726 kal_uint32 egdel_pfid_count;
1727 kal_uint32 egdel_pfid[MAX_PACKET_FILTER_COUNT];
1728} at_egdelpf_ind_struct;
1729
1730//+EGLNKPF
1731//SET command: +EGLNKPF=<cid>,<linked_pfid>
1732typedef struct
1733{
1734 ATCMD_HDR
1735 at_token_parse_result_enum cid_parse_result;
1736 kal_uint32 cid; // integer type
1737 at_token_parse_result_enum linked_pfid_parse_result;
1738 kal_uint32 linked_pfid; // integer type
1739} at_eglnkpf_req_struct;
1740
1741//READ response = +EGLNKPF: <cid>
1742typedef struct
1743{
1744 kal_uint32 src_id;
1745 kal_bool cid_present;
1746 kal_uint32 cid; // integer type
1747 kal_uint32 eglnk_pfid_count;
1748 kal_uint32 eglnk_pfid[MAX_PACKET_FILTER_COUNT];
1749} at_eglnkpf_ind_struct;
1750
1751//+EGPCORDP
1752//SET command: +EGPCORDP=<cid>[,<IE>]
1753typedef struct
1754{
1755 ATCMD_HDR
1756 at_token_parse_result_enum cid_parse_result;
1757 kal_uint32 cid; // integer type
1758 at_token_parse_result_enum IE_parse_result;
1759 kal_uint8 IE[IE_STRING_LEN]; // string type
1760} at_egpcordp_req_struct;
1761typedef at_egpcordp_req_struct at_bgpcordp_req_struct;
1762
1763//READ response = +EGPCORDP: <cid>, <IE>, <contents>
1764typedef struct
1765{
1766 kal_uint32 src_id;
1767 kal_bool cid_present;
1768 kal_uint32 cid; // integer type
1769 kal_bool IE_present;
1770 kal_uint8 IE[IE_STRING_LEN]; // string type
1771 kal_bool contents_present;
1772 kal_uint8 contents[AT_EGPCORDP_CONTENTS_STRING_LEN]; // string type
1773} at_egpcordp_ind_struct;
1774typedef at_egpcordp_ind_struct at_bgpcordp_ind_struct;
1775
1776//+EGPCO
1777//SET command: +EGPCO=<cid>,<IE>,<content>[,<IE>,<content>[,...]]
1778typedef struct{
1779 at_token_parse_result_enum ID_parse_result;
1780 kal_uint8 ID[IE_STRING_LEN]; // string type
1781 at_token_parse_result_enum contents_parse_result;
1782 kal_uint8 contents[EGPCO_IE_CONTENTS_STRING_LEN]; // string type
1783}egpco_ie_struct;
1784
1785typedef struct
1786{
1787 ATCMD_HDR
1788 at_token_parse_result_enum cid_parse_result;
1789 kal_uint32 cid; // integer type
1790 kal_uint8 IE_count;
1791 egpco_ie_struct IE[MAX_IE_COUNT];
1792} at_egpco_req_struct;
1793
1794typedef struct
1795{
1796 kal_uint32 src_id;
1797 kal_bool cid_present;
1798 kal_uint32 cid; // integer type
1799 kal_bool ID_present;
1800 kal_uint8 ID[IE_STRING_LEN]; // string type
1801 kal_bool contents_present;
1802 kal_uint8 contents[EGPCO_IE_CONTENTS_STRING_LEN]; // string type
1803} at_egpco_ind_struct;
1804
1805//+EDALLOW
1806//SET command: +EDALLOW=<is_data_allowed>
1807typedef struct
1808{
1809 ATCMD_HDR
1810 at_token_parse_result_enum is_data_allowed_parse_result;
1811 atcmd_is_data_allowed_enum is_data_allowed; // integer type
1812} at_edallow_req_struct;
1813
1814
1815
1816typedef struct
1817{
1818 kal_uint32 src_id;
1819 kal_bool apn_index_present;
1820 kal_uint8 apn_index; // integer type
1821 kal_bool apn_present;
1822 kal_uint8 apn[APN_STRING_LEN]; // string type
1823 kal_bool inactivity_time_present;
1824 kal_uint32 inactivity_time; // integer type
1825} at_eapnsync_ind_struct;
1826
1827typedef struct
1828{
1829 ATCMD_HDR
1830 at_token_parse_result_enum apn_index_parse_result;
1831 kal_uint8 apn_index; // integer type
1832 at_token_parse_result_enum apn_parse_result;
1833 kal_uint8 apn[APN_STRING_LEN]; // string type
1834 at_token_parse_result_enum inactivity_time_parse_result;
1835 kal_uint32 inactivity_time; // integer type
1836} at_eapnsync_req_struct;
1837
1838typedef struct
1839{
1840 kal_uint32 src_id;
1841 kal_bool mode_present;
1842 kal_uint8 mode; // integer type
1843} at_evzwapfcia_ind_struct;
1844
1845typedef struct
1846{
1847 ATCMD_HDR
1848 at_token_parse_result_enum mode_parse_result;
1849 kal_uint8 mode; // integer type
1850} at_evzwapfcia_req_struct;
1851
1852typedef struct
1853{
1854 kal_uint32 src_id;
1855 kal_bool cid_present;
1856 kal_uint32 cid; // integer type
1857 kal_bool processing_time_limit_in_secs_present;
1858 kal_uint32 processing_time_limit_in_secs; // integer type
1859} at_eggrntrspt_ind_struct;
1860
1861typedef struct
1862{
1863 ATCMD_HDR
1864 at_token_parse_result_enum cid_parse_result;
1865 kal_uint32 cid; // integer type
1866 at_token_parse_result_enum processing_time_limit_in_secs_parse_result;
1867 kal_uint32 processing_time_limit_in_secs; // integer type
1868} at_eggrntrspt_req_struct;
1869
1870typedef struct
1871{
1872 ATCMD_HDR
1873} at_egpcap_req_struct;
1874
1875typedef struct
1876{
1877 kal_uint32 src_id;
1878 kal_bool max_pdp_support_num_present;
1879 kal_uint32 max_pdp_support_num;
1880 kal_bool max_epsb_support_num_present;
1881 kal_uint32 max_epsb_support_num;
1882} at_egpcap_test_mode_ind_struct;
1883
1884typedef struct
1885{
1886 kal_uint32 src_id;
1887 kal_bool ladn_info_len_present;
1888 kal_uint8 ladn_info_len;
1889 kal_bool ladn_info_present;
1890 kal_uint8 ladn_info[LADN_INFO_LEN]; // integer type
1891} at_crladn_ind_struct;
1892
1893typedef struct
1894{
1895 ATCMD_HDR
1896 at_token_parse_result_enum cid_parse_result;
1897 kal_uint32 cid; // integer type
1898} at_escontind_req_struct;
1899
1900#ifdef __TC01__
1901//+ETIMER IND
1902typedef struct
1903{
1904 kal_uint32 src_id;
1905 kal_char apn[APN_STRING_LEN];
1906 atcmd_backoff_timer_state_enum timer_state;
1907 kal_uint32 cause; //TBD: if needed
1908 kal_uint32 exp_time;
1909} at_backoff_timer_ind_struct;
1910#endif
1911#endif /* _ATCMD_STRUCT_H */