blob: 2d2512877733974b790114b46cf3d014e1096a82 [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) 2005
8*
9* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
10* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
11* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
12* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
13* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
14* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
15* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
16* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
17* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
18* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
19* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
20* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
21*
22* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
23* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
24* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
25* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
26* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
27*
28* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
29* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
30* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
31* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
32* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
33*
34*****************************************************************************/
35
36/*******************************************************************************
37 * Filename:
38 * ---------
39 * mmi_msg_struct.h
40 *
41 * Project:
42 * --------
43 * MAUI
44 *
45 * Description:
46 * ------------
47 * This file is intends for MMI message structures.
48 *
49 * Author:
50 * -------
51 * -------
52 *
53 *==============================================================================
54 * HISTORY
55 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
56 *------------------------------------------------------------------------------
57 * removed!
58 *
59 * removed!
60 * removed!
61 * removed!
62 * removed!
63 *
64 * removed!
65 * removed!
66 * removed!
67 * removed!
68 *
69 * removed!
70 * removed!
71 * removed!
72 *
73 * removed!
74 * removed!
75 * removed!
76 *
77 * removed!
78 * removed!
79 * removed!
80 *
81 * removed!
82 * removed!
83 *
84 * removed!
85 * removed!
86 *
87 * removed!
88 * removed!
89 * removed!
90 *
91 * removed!
92 * removed!
93 *
94 * removed!
95 *
96 * removed!
97 * removed!
98 * removed!
99 *
100 * removed!
101 * removed!
102 * removed!
103 *
104 * removed!
105 * removed!
106 * removed!
107 *
108 * removed!
109 * removed!
110 * removed!
111 *
112 * removed!
113 * removed!
114 * removed!
115 *
116 * removed!
117 * removed!
118 * removed!
119 *
120 * removed!
121 * removed!
122 * removed!
123 *
124 * removed!
125 * removed!
126 * removed!
127 *
128 * removed!
129 * removed!
130 * removed!
131 *
132 * removed!
133 * removed!
134 * removed!
135 *
136 * removed!
137 * removed!
138 * removed!
139 *
140 * removed!
141 * removed!
142 * removed!
143 *
144 * removed!
145 * removed!
146 * removed!
147 *
148 * removed!
149 * removed!
150 * removed!
151 *
152 * removed!
153 * removed!
154 * removed!
155 *
156 * removed!
157 * removed!
158 * removed!
159 *
160 * removed!
161 * removed!
162 * removed!
163 *
164 * removed!
165 * removed!
166 * removed!
167 *
168 * removed!
169 * removed!
170 * removed!
171 *
172 * removed!
173 * removed!
174 * removed!
175 *
176 * removed!
177 * removed!
178 * removed!
179 *
180 * removed!
181 * removed!
182 * removed!
183 *
184 * removed!
185 * removed!
186 * removed!
187 *
188 * removed!
189 * removed!
190 * removed!
191 *
192 * removed!
193 * removed!
194 * removed!
195 *
196 * removed!
197 * removed!
198 * removed!
199 *
200 * removed!
201 * removed!
202 * removed!
203 *
204 * removed!
205 * removed!
206 * removed!
207 *
208 * removed!
209 * removed!
210 * removed!
211 *
212 * removed!
213 * removed!
214 * removed!
215 *
216 * removed!
217 * removed!
218 * removed!
219 *
220 * removed!
221 * removed!
222 * removed!
223 *
224 * removed!
225 * removed!
226 * removed!
227 *
228 * removed!
229 * removed!
230 * removed!
231 *
232 * removed!
233 * removed!
234 * removed!
235 *
236 * removed!
237 * removed!
238 * removed!
239 *
240 * removed!
241 * removed!
242 * removed!
243 *
244 * removed!
245 * removed!
246 * removed!
247 *
248 * removed!
249 * removed!
250 * removed!
251 *
252 * removed!
253 * removed!
254 * removed!
255 *
256 * removed!
257 * removed!
258 * removed!
259 *
260 * removed!
261 * removed!
262 * removed!
263 *
264 * removed!
265 * removed!
266 * removed!
267 *
268 * removed!
269 * removed!
270 * removed!
271 *
272 * removed!
273 * removed!
274 * removed!
275 *
276 * removed!
277 * removed!
278 * removed!
279 *
280 * removed!
281 * removed!
282 * removed!
283 *
284 * removed!
285 * removed!
286 * removed!
287 *
288 * removed!
289 * removed!
290 * removed!
291 *
292 * removed!
293 * removed!
294 * removed!
295 *
296 * removed!
297 * removed!
298 * removed!
299 *
300 * removed!
301 * removed!
302 * removed!
303 *
304 * removed!
305 * removed!
306 * removed!
307 *
308 * removed!
309 * removed!
310 * removed!
311 *
312 * removed!
313 * removed!
314 * removed!
315 *
316 * removed!
317 * removed!
318 * removed!
319 *
320 * removed!
321 * removed!
322 * removed!
323 *
324 * removed!
325 * removed!
326 * removed!
327 *
328 * removed!
329 * removed!
330 * removed!
331 *
332 * removed!
333 * removed!
334 * removed!
335 *
336 * removed!
337 * removed!
338 * removed!
339 *
340 * removed!
341 * removed!
342 * removed!
343 *
344 * removed!
345 * removed!
346 * removed!
347 *
348 * removed!
349 * removed!
350 * removed!
351 *
352 * removed!
353 * removed!
354 * removed!
355 *
356 * removed!
357 * removed!
358 * removed!
359 *
360 * removed!
361 * removed!
362 *
363 *
364 * removed!
365 * removed!
366 *
367 *
368 * removed!
369 * removed!
370 *
371 *
372 * removed!
373 * removed!
374 *
375 *
376 * removed!
377 * removed!
378 *
379 *
380 * removed!
381 * removed!
382 * removed!
383 *
384 * removed!
385 * removed!
386 *
387 *
388 * removed!
389 * removed!
390 *
391 *
392 * removed!
393 * removed!
394 *
395 *
396 * removed!
397 * removed!
398 *
399 *
400 * removed!
401 * removed!
402 *
403 *
404 * removed!
405 * removed!
406 * removed!
407 *
408 * removed!
409 * removed!
410 *
411 *
412 * removed!
413 * removed!
414 * removed!
415 *
416 *
417 * removed!
418 * removed!
419 *
420 *
421 * removed!
422 * removed!
423 *
424 *
425 * removed!
426 * removed!
427 *
428 *
429 * removed!
430 * removed!
431 *
432 *
433 * removed!
434 * removed!
435 * removed!
436 *
437 * removed!
438 * removed!
439 *
440 *
441 * removed!
442 * removed!
443 *
444 *
445 * removed!
446 * removed!
447 *
448 *
449 * removed!
450 * removed!
451 *
452 *
453 * removed!
454 * removed!
455 *
456 *
457 * removed!
458 * removed!
459 *
460 *
461 * removed!
462 * removed!
463 *
464 *
465 * removed!
466 * removed!
467 *
468 *
469 * removed!
470 * removed!
471 *
472 *
473 * removed!
474 * removed!
475 *
476 *
477 * removed!
478 * removed!
479 *
480 *
481 * removed!
482 * removed!
483 *
484 *
485 * removed!
486 * removed!
487 * removed!
488 *
489 * removed!
490 * removed!
491 *
492 *
493 * removed!
494 * removed!
495 *
496 *
497 * removed!
498 * removed!
499 *
500 *
501 * removed!
502 * removed!
503 *
504 *
505 * removed!
506 * removed!
507 * removed!
508 *
509 * removed!
510 * removed!
511 *
512 *
513 * removed!
514 * removed!
515 *
516 *
517 * removed!
518 * removed!
519 *
520 *
521 * removed!
522 * removed!
523 *
524 *
525 * removed!
526 * removed!
527 * removed!
528 *
529 * removed!
530 * removed!
531 *
532 *
533 * removed!
534 * removed!
535 *
536 *
537 * removed!
538 * removed!
539 *
540 *
541 * removed!
542 * removed!
543 * removed!
544 *
545 * removed!
546 * removed!
547 *
548 *
549 * removed!
550 * removed!
551 *
552 *
553 * removed!
554 * removed!
555 *
556 *
557 * removed!
558 * removed!
559 * removed!
560 *
561 * removed!
562 * removed!
563 *
564 *
565 * removed!
566 * removed!
567 *
568 *
569 * removed!
570 * removed!
571 *
572 *
573 * removed!
574 * removed!
575 *
576 *
577 * removed!
578 * removed!
579 *
580 *
581 * removed!
582 * removed!
583 *
584 *
585 * removed!
586 * removed!
587 *
588 *
589 * removed!
590 * removed!
591 *
592 *
593 * removed!
594 * removed!
595 *
596 *
597 * removed!
598 * removed!
599 *
600 *
601 * removed!
602 * removed!
603 * removed!
604 *
605 * removed!
606 * removed!
607 * removed!
608 *
609 * removed!
610 * removed!
611 *
612 *
613 * removed!
614 * removed!
615 *
616 *
617 * removed!
618 * removed!
619 *
620 *
621 * removed!
622 * removed!
623 *
624 *
625 * removed!
626 * removed!
627 *
628 *
629 * removed!
630 * removed!
631 * removed!
632 *
633 * removed!
634 * removed!
635 *
636 *
637 * removed!
638 * removed!
639 * removed!
640 *
641 * removed!
642 * removed!
643 *
644 *
645 * removed!
646 * removed!
647 * removed!
648 *
649 * removed!
650 * removed!
651 * removed!
652 *
653 * removed!
654 * removed!
655 *
656 *
657 * removed!
658 *
659 *
660 *
661 * removed!
662 * removed!
663 *
664 *
665 * removed!
666 * removed!
667 *
668 *
669 * removed!
670 * removed!
671 *
672 *
673 * removed!
674 * removed!
675 *
676 *
677 * removed!
678 * removed!
679 *
680 *
681 * removed!
682 * removed!
683 *
684 *
685 * removed!
686 * removed!
687 * removed!
688 *
689 * removed!
690 * removed!
691 * removed!
692 *
693 * removed!
694 * removed!
695 *
696 *
697 * removed!
698 * removed!
699 *
700 *
701 * removed!
702 * removed!
703 *
704 *
705 * removed!
706 * removed!
707 * removed!
708 *
709 * removed!
710 * removed!
711 * removed!
712 *
713 * removed!
714 * removed!
715 *
716 *
717 * removed!
718 * removed!
719 * removed!
720 *
721 * removed!
722 * removed!
723 *
724 *
725 * removed!
726 * removed!
727 *
728 *
729 * removed!
730 * removed!
731 * removed!
732 *
733 * removed!
734 * removed!
735 *
736 *
737 * removed!
738 * removed!
739 *
740 *
741 * removed!
742 * removed!
743 *
744 *
745 * removed!
746 * removed!
747 * removed!
748 *
749 * removed!
750 * removed!
751 * removed!
752 *
753 * removed!
754 * removed!
755 *
756 *
757 * removed!
758 * removed!
759 * removed!
760 *
761 * removed!
762 * removed!
763 * removed!
764 * removed!
765 *
766 *
767 * removed!
768 * removed!
769 *
770 *
771 * removed!
772 * removed!
773 * removed!
774 *
775 * removed!
776 * removed!
777 *
778 *
779 * removed!
780 * removed!
781 *
782 *
783 * removed!
784 * removed!
785 *
786 *
787 * removed!
788 * removed!
789 *
790 *
791 * removed!
792 * removed!
793 *
794 *
795 * removed!
796 * removed!
797 *
798 *
799 * removed!
800 * removed!
801 *
802 *
803 * removed!
804 * removed!
805 *
806 *
807 * removed!
808 * removed!
809 *
810 *
811 * removed!
812 * removed!
813 *
814 *
815 * removed!
816 * removed!
817 *
818 *
819 * removed!
820 * removed!
821 *
822 *
823 * removed!
824 * removed!
825 *
826 *
827 * removed!
828 * removed!
829 *
830 *
831 * removed!
832 * removed!
833 *
834 *
835 * removed!
836 * removed!
837 *
838 *
839 * removed!
840 * removed!
841 *
842 *
843 * removed!
844 * removed!
845 *
846 *
847 * removed!
848 * removed!
849 *
850 *
851 * removed!
852 * removed!
853 *
854 *
855 * removed!
856 * removed!
857 *
858 *
859 * removed!
860 * removed!
861 *
862 *
863 * removed!
864 * removed!
865 *
866 *
867 * removed!
868 * removed!
869 *
870 *
871 * removed!
872 * removed!
873 * removed!
874 *
875 * removed!
876 * removed!
877 *
878 *
879 * removed!
880 * removed!
881 *
882 *
883 * removed!
884 * removed!
885 *
886 *
887 * removed!
888 * removed!
889 *
890 *
891 * removed!
892 * removed!
893 *
894 *
895 * removed!
896 * removed!
897 *
898 *
899 * removed!
900 * removed!
901 * removed!
902 *
903 * removed!
904 * removed!
905 *
906 *
907 * removed!
908 * removed!
909 * removed!
910 *
911 * removed!
912 * removed!
913 * removed!
914 *
915 * removed!
916 * removed!
917 * removed!
918 *
919 * removed!
920 * removed!
921 *
922 *
923 * removed!
924 * removed!
925 * removed!
926 *
927 * removed!
928 * removed!
929 * removed!
930 *
931 * removed!
932 * removed!
933 * removed!
934 *
935 * removed!
936 * removed!
937 *
938 *
939 * removed!
940 * removed!
941 * removed!
942 *
943 * removed!
944 * removed!
945 * removed!
946 *
947 * removed!
948 * removed!
949 *
950 *
951 * removed!
952 * removed!
953 *
954 *
955 * removed!
956 * removed!
957 *
958 *
959 * removed!
960 * removed!
961 * removed!
962 *
963 * removed!
964 * removed!
965 * removed!
966 *
967 * removed!
968 * removed!
969 * removed!
970 *
971 * removed!
972 * removed!
973 *
974 *
975 * removed!
976 * removed!
977 *
978 *
979 * removed!
980 * removed!
981 *
982 *
983 * removed!
984 * removed!
985 *
986 *
987 * removed!
988 * removed!
989 * removed!
990 *
991 * removed!
992 * removed!
993 * removed!
994 *
995 * removed!
996 * removed!
997 * removed!
998 *
999 * removed!
1000 * removed!
1001 * removed!
1002 *
1003 * removed!
1004 * removed!
1005 * removed!
1006 *
1007 * removed!
1008 * removed!
1009 *
1010 *
1011 * removed!
1012 * removed!
1013 *
1014 *
1015 * removed!
1016 * removed!
1017 *
1018 *
1019 * removed!
1020 * removed!
1021 *
1022 *
1023 * removed!
1024 * removed!
1025 *
1026 *
1027 * removed!
1028 * removed!
1029 *
1030 *
1031 * removed!
1032 * removed!
1033 *
1034 *
1035 * removed!
1036 * removed!
1037 *
1038 *
1039 * removed!
1040 * removed!
1041 *
1042 *
1043 * removed!
1044 * removed!
1045 *
1046 *
1047 * removed!
1048 * removed!
1049 * removed!
1050 *
1051 * removed!
1052 * removed!
1053 *
1054 *
1055 * removed!
1056 * removed!
1057 * removed!
1058 *
1059 * removed!
1060 * removed!
1061 * removed!
1062 *
1063 * removed!
1064 * removed!
1065 *
1066 *
1067 * removed!
1068 * removed!
1069 * removed!
1070 *
1071 * removed!
1072 * removed!
1073 * removed!
1074 *
1075 * removed!
1076 * removed!
1077 *
1078 *
1079 * removed!
1080 * removed!
1081 * removed!
1082 *
1083 * removed!
1084 * removed!
1085 *
1086 *
1087 * removed!
1088 * removed!
1089 *
1090 *
1091 * removed!
1092 * removed!
1093 * removed!
1094 *
1095 * removed!
1096 * removed!
1097 * removed!
1098 *
1099 * removed!
1100 * removed!
1101 *
1102 *
1103 * removed!
1104 * removed!
1105 *
1106 *
1107 * removed!
1108 * removed!
1109 *
1110 *
1111 * removed!
1112 * removed!
1113 * removed!
1114 *
1115 * removed!
1116 * removed!
1117 *
1118 *
1119 * removed!
1120 * removed!
1121 *
1122 *
1123 * removed!
1124 * removed!
1125 *
1126 *
1127 * removed!
1128 * removed!
1129 *
1130 *
1131 * removed!
1132 * removed!
1133 * removed!
1134 *
1135 *
1136 *------------------------------------------------------------------------------
1137 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
1138 *==============================================================================
1139 *******************************************************************************/
1140
1141/********************************************************************************
1142* Copyright Statement:
1143* --------------------
1144*
1145* This product has been developed using a protocol stack
1146* developed by Sasken Communication Technologies Limited.
1147*
1148********************************************************************************/
1149
1150
1151#ifndef __MMI_MSG_STRUCT_H__
1152#define __MMI_MSG_STRUCT_H__
1153
1154//#include "stack_ltlcom.h"
1155//#include "kal_non_specific_general_types.h"
1156//#include "l4c_common_enum.h"
1157//#include "l4c_aux_struct.h"
1158//#include "l4c_rspfmttr.h"
1159//#include "l4c2csm_ss_struct.h"
1160//#include "l4c_ss_parse.h"
1161#include "device.h"
1162#include "med_struct.h"
1163//#include "l4c2uem_struct.h"
1164#include "l4a.h"
1165#include "kal_public_defs.h" //MSBB change #include "stack_config.h"
1166#include "dcl.h"
1167//#include "ps2sim_struct.h"
1168//#include "sim_common_enums.h"
1169//#include "phb_defs.h"
1170//#include "l4c2phb_enums.h"
1171//#include "l4c2phb_struct.h"
1172//#include "smsal_l4c_defs.h"
1173//#include "l4c2smsal_struct.h"
1174//#include "smsal_l4c_enum.h"
1175//#include "smsal_defs.h"
1176//#include "l4c2tcm_func.h"
1177//#include "l4c2abm_struct.h"
1178//#include "ps2sat_struct.h"
1179#include "em_struct.h"
1180//#include "l4c2smu_struct.h"
1181#include "kal_general_types.h"
1182#include "ps_public_enum.h"
1183#include "ps_public_struct.h"
1184#include "sim_public_enum.h"
1185
1186/*MTK:BEGIN:generate_message_structure*/
1187/* Call Control Related Messages */
1188#if defined(__MOD_CSM__)
1189 typedef struct
1190 {
1191 LOCAL_PARA_HDR
1192 kal_uint8 pin[MAX_SIM_PASSWD_LEN];
1193 } mmi_cc_reset_acm_req_struct;
1194 typedef struct
1195 {
1196 LOCAL_PARA_HDR
1197 kal_bool result;
1198 kal_uint16 cause;
1199 } mmi_cc_reset_acm_rsp_struct;
1200 typedef struct
1201 {
1202 LOCAL_PARA_HDR
1203 kal_bool result;
1204 kal_uint32 acm;
1205 } mmi_cc_get_acm_rsp_struct;
1206 typedef struct
1207 {
1208 LOCAL_PARA_HDR
1209 kal_uint8 pin[MAX_SIM_PASSWD_LEN];
1210 kal_uint32 val;
1211 } mmi_cc_set_max_acm_req_struct;
1212 typedef struct
1213 {
1214 LOCAL_PARA_HDR
1215 kal_bool result;
1216 kal_uint16 cause;
1217 } mmi_cc_set_max_acm_rsp_struct;
1218 typedef struct
1219 {
1220 LOCAL_PARA_HDR
1221 kal_bool result;
1222 kal_uint32 acm_max;
1223 } mmi_cc_get_max_acm_rsp_struct;
1224 typedef struct
1225 {
1226 LOCAL_PARA_HDR
1227 kal_bool result;
1228 kal_uint16 cause;
1229 } mmi_cc_reset_ccm_rsp_struct;
1230 typedef struct
1231 {
1232 LOCAL_PARA_HDR
1233 kal_bool result;
1234 kal_uint32 ccm;
1235 } mmi_cc_get_ccm_rsp_struct;
1236 typedef struct
1237 {
1238 LOCAL_PARA_HDR
1239 kal_uint8 index; /* csmcc_cug_index_enum */
1240 kal_uint8 mode; /* csmcc_cug_temporary_mode_enum */
1241 kal_uint8 info; /* csmcc_cug_suppress_enum */
1242 } mmi_cc_set_cug_req_struct;
1243 typedef struct
1244 {
1245 LOCAL_PARA_HDR
1246 kal_bool result;
1247 } mmi_cc_set_cug_rsp_struct;
1248 typedef struct
1249 {
1250 LOCAL_PARA_HDR
1251 kal_uint8 opcode; /* csmcc_crss_req_enum */
1252 kal_uint8 call_id;
1253 kal_uint8 source_id;
1254 } mmi_cc_chld_req_struct;
1255 typedef struct
1256 {
1257 LOCAL_PARA_HDR
1258 kal_bool result;
1259 kal_uint16 cause;
1260 kal_uint8 opcode; /* csmcc_crss_req_enum */
1261 } mmi_cc_chld_rsp_struct;
1262 typedef struct
1263 {
1264 LOCAL_PARA_HDR
1265 kal_uint8 op_code; /* l4c_ath_req_enum */
1266 kal_uint8 source_id;
1267 } mmi_cc_ath_req_struct;
1268 typedef struct
1269 {
1270 LOCAL_PARA_HDR
1271 kal_bool result;
1272 l4c_call_list_struct call_list;
1273 } mmi_cc_get_call_list_rsp_struct;
1274 typedef struct
1275 {
1276 LOCAL_PARA_HDR
1277 l4c_number_struct dest;
1278 kal_bool sub_addr_flag;
1279 l4c_sub_addr_struct sub_dest;
1280 } mmi_cc_call_deflect_req_struct;
1281 typedef struct
1282 {
1283 LOCAL_PARA_HDR
1284 kal_bool result;
1285 kal_uint16 cause;
1286 } mmi_cc_call_deflect_rsp_struct;
1287 typedef struct
1288 {
1289 LOCAL_PARA_HDR
1290 kal_uint8 digit;
1291 kal_uint8 call_id;
1292 } mmi_cc_start_dtmf_req_struct;
1293 typedef struct
1294 {
1295 LOCAL_PARA_HDR
1296 kal_uint8 call_id;
1297 kal_uint8 response;
1298 kal_uint8 tone;
1299 kal_uint8 cause_present;
1300 kal_uint16 cause;
1301 } mmi_cc_start_dtmf_rsp_struct;
1302 typedef struct
1303 {
1304 LOCAL_PARA_HDR
1305 kal_uint8 call_id;
1306 } mmi_cc_stop_dtmf_req_struct;
1307 typedef struct
1308 {
1309 LOCAL_PARA_HDR
1310 kal_uint8 call_id;
1311 kal_uint8 response;
1312 kal_uint8 tone;
1313 kal_uint8 cause_present;
1314 kal_uint16 cause;
1315 } mmi_cc_stop_dtmf_rsp_struct;
1316 typedef struct
1317 {
1318 LOCAL_PARA_HDR
1319 kal_uint8 digit[MAX_CC_DTMF_LEN-1];
1320 } mmi_cc_start_auto_dtmf_req_struct;
1321 typedef struct
1322 {
1323 LOCAL_PARA_HDR
1324 kal_bool result;
1325 } mmi_cc_start_auto_dtmf_rsp_struct;
1326 typedef struct
1327 {
1328 LOCAL_PARA_HDR
1329 kal_uint8 call_id;
1330 kal_uint8 digits[MAX_CC_DTMF_LEN-1];
1331 } mmi_cc_start_auto_dtmf_ind_struct;
1332 typedef struct
1333 {
1334 LOCAL_PARA_HDR
1335 kal_uint8 call_id;
1336 } mmi_cc_start_auto_dtmf_finish_ind_struct;
1337 typedef struct
1338 {
1339 LOCAL_PARA_HDR
1340 kal_uint8 source_id;
1341 } mmi_cc_ata_req_struct;
1342 typedef struct
1343 {
1344 LOCAL_PARA_HDR
1345 l4c_result_struct result;
1346 kal_uint8 call_mode; /* clcc_mode_enum */
1347 } mmi_cc_ata_rsp_struct;
1348 typedef struct
1349 {
1350 LOCAL_PARA_HDR
1351 l4c_number_struct dest;
1352 kal_uint8 redial_count;
1353 kal_uint8 call_type; /* csmcc_call_type_enum */
1354 kal_uint8 clir_flag; /* csmcc_clir_info_enum */
1355 kal_bool cug_option;
1356 kal_uint8 als_type;
1357 kal_uint8 ecc_info;
1358 } mmi_cc_dial_req_struct;
1359 typedef struct
1360 {
1361 LOCAL_PARA_HDR
1362 kal_bool result;
1363 } mmi_cc_dial_rsp_struct;
1364 typedef struct
1365 {
1366 LOCAL_PARA_HDR
1367 l4c_number_struct dest;
1368 kal_uint8 call_type; /* csmcc_call_type_enum */
1369 kal_uint8 clir_flag; /* csmcc_clir_info_enum */
1370 kal_bool cug_option;
1371 } mmi_cc_dial_req_ind_struct;
1372 typedef struct
1373 {
1374 LOCAL_PARA_HDR
1375 l4c_result_struct result;
1376 kal_uint8 call_id;
1377 kal_bool is_diag_present;
1378 kal_uint8 diag;
1379 } mmi_cc_dial_ind_struct;
1380 typedef struct
1381 {
1382 LOCAL_PARA_HDR
1383 kal_uint8 call_id;
1384 kal_uint32 ccm;
1385 kal_uint8 warning;
1386 kal_uint32 total_ccm;
1387 kal_uint8 puct_valid;
1388 kal_uint8 currency[3];
1389 kal_uint8 ppu[18];
1390 } mmi_cc_ccm_ind_struct;
1391 typedef struct
1392 {
1393 LOCAL_PARA_HDR
1394 kal_uint8 alert;
1395 } mmi_cc_internal_alert_ind_struct;
1396 typedef struct
1397 {
1398 LOCAL_PARA_HDR
1399 kal_uint8 call_id;
1400 l4c_number_struct num;
1401 kal_uint8 call_mode; /* csmcc_call_mode_enum */
1402 kal_uint8 name_present;
1403 kal_uint8 cnap_info_exist;
1404 kal_uint8 tag;
1405 kal_uint8 name[30];
1406 kal_uint8 dcs;
1407 kal_uint8 length;
1408 kal_uint8 auto_answer;
1409 kal_uint8 addr_ind_present;
1410 kal_uint8 addr_ind;
1411 kal_uint8 signal_value_present;
1412 kal_uint8 signal_value;
1413 kal_uint8 alerting_pattern_present;
1414 kal_uint8 alerting_pattern;
1415 kal_uint8 no_cli_cause_present;
1416 kal_uint8 no_cli_cause;
1417 kal_uint8 call_priority_present;
1418 kal_uint8 call_priority;
1419 } mmi_cc_call_wait_ind_struct;
1420 typedef struct
1421 {
1422 LOCAL_PARA_HDR
1423 kal_uint8 call_id;
1424 l4c_number_struct num;
1425 l4c_sub_addr_struct sub_addr;
1426 l4c_number_struct redirect_num;
1427 kal_uint8 name_present;
1428 kal_uint8 cnap_info_exist;
1429 kal_uint8 tag;
1430 kal_uint8 name[30];
1431 kal_uint8 dcs;
1432 kal_uint8 length;
1433 kal_uint8 auto_answer;
1434 kal_uint8 call_type;
1435 kal_uint8 addr_ind_present;
1436 kal_uint8 addr_ind;
1437 kal_uint8 signal_value_present;
1438 kal_uint8 signal_value;
1439 kal_uint8 alerting_pattern_present;
1440 kal_uint8 alerting_pattern;
1441 kal_uint8 no_cli_cause_present;
1442 kal_uint8 no_cli_cause;
1443 kal_uint8 call_priority_present;
1444 kal_uint8 call_priority;
1445 } mmi_cc_call_ring_ind_struct;
1446 typedef struct
1447 {
1448 LOCAL_PARA_HDR
1449 l4c_number_struct num;
1450 l4c_sub_addr_struct sub_addr;
1451 kal_uint8 call_type;
1452 kal_uint8 call_id;
1453 } mmi_cc_call_connect_ind_struct;
1454 typedef struct
1455 {
1456 LOCAL_PARA_HDR
1457 kal_uint8 call_id;
1458 kal_bool ccbs;
1459 kal_uint16 cause;
1460 kal_uint8 call_type;
1461 kal_bool is_diag_present;
1462 kal_uint8 diag;
1463 } mmi_cc_call_disconnect_ind_struct;
1464 typedef struct
1465 {
1466 LOCAL_PARA_HDR
1467 kal_uint8 call_id;
1468 kal_uint16 cause;
1469 kal_bool is_diag_present;
1470 kal_uint8 diag;
1471 } mmi_cc_call_release_ind_struct;
1472 typedef struct
1473 {
1474 LOCAL_PARA_HDR
1475 kal_bool on_off;
1476 kal_uint8 rat;
1477 kal_uint8 irho_speech_on_off;
1478 } mmi_cc_speech_ind_struct;
1479 typedef struct
1480 {
1481 LOCAL_PARA_HDR
1482 kal_uint8 call_id;
1483 kal_uint8 type; /* csmcc_notify_ss_type_enum */
1484 kal_bool status_present;
1485 kal_uint8 status;
1486 kal_bool notification_present;
1487 kal_uint8 notification;
1488 } mmi_cc_notify_ss_ind_struct;
1489 typedef struct
1490 {
1491 LOCAL_PARA_HDR
1492 kal_uint8 call_id;
1493 kal_bool present;
1494 l4c_number_struct addr;
1495 l4c_sub_addr_struct sub_addr;
1496 } mmi_cc_notify_ss_ect_ind_struct;
1497 typedef struct
1498 {
1499 LOCAL_PARA_HDR
1500 kal_uint8 call_id;
1501 kal_uint8 name_present;
1502 kal_uint8 cnap_info_exist;
1503 kal_uint8 tag;
1504 kal_uint8 name[30];
1505 kal_uint8 dcs;
1506 kal_uint8 length;
1507 } mmi_cc_notify_ss_cnap_ind_struct;
1508 typedef struct
1509 {
1510 LOCAL_PARA_HDR
1511 kal_uint8 call_id;
1512 kal_bool number_present;
1513 l4c_number_struct addr;
1514 kal_bool sub_addr_present;
1515 l4c_sub_addr_struct sub_addr;
1516 kal_bool index_present;
1517 kal_uint8 index;
1518 kal_bool bs_code_present;
1519 kal_uint8 bs_code;
1520 kal_bool alert_present;
1521 kal_uint8 alert_pattern;
1522 } mmi_cc_notify_ss_ccbs_ind_struct;
1523 typedef struct
1524 {
1525 LOCAL_PARA_HDR
1526 kal_uint8 call_id;
1527 } mmi_cc_call_accept_req_ind_struct;
1528 typedef struct
1529 {
1530 LOCAL_PARA_HDR
1531 kal_uint8 call_id;
1532 kal_uint8 action;
1533 kal_bool result;
1534 kal_uint8 cause;
1535 } mmi_cc_video_call_status_ind_struct;
1536 typedef struct
1537 {
1538 LOCAL_PARA_HDR
1539 kal_uint8 call_id;
1540 } mmi_cc_rel_comp_req_struct;
1541 typedef struct
1542 {
1543 LOCAL_PARA_HDR
1544 kal_bool result;
1545 } mmi_cc_rel_comp_rsp_struct;
1546 typedef struct
1547 {
1548 LOCAL_PARA_HDR
1549 kal_uint8 call_id;
1550 l4c_number_struct num;
1551 l4c_sub_addr_struct sub_addr;
1552 l4c_number_struct redirect_num;
1553 kal_uint8 name_present;
1554 kal_uint8 cnap_info_exist;
1555 kal_uint8 tag;
1556 kal_uint8 name[30];
1557 kal_uint8 dcs;
1558 kal_uint8 length;
1559 kal_uint8 auto_answer;
1560 kal_uint8 call_type;
1561 kal_uint8 addr_ind_present;
1562 kal_uint8 addr_ind;
1563 kal_uint8 signal_value_present;
1564 kal_uint8 signal_value;
1565 kal_uint8 alerting_pattern_present;
1566 kal_uint8 alerting_pattern;
1567 kal_uint8 no_cli_cause_present;
1568 kal_uint8 no_cli_cause;
1569 kal_uint8 call_priority_present;
1570 kal_uint8 call_priority;
1571 kal_uint8 seq_num;
1572 } mmi_cc_call_present_ind_struct;
1573 typedef struct
1574 {
1575 LOCAL_PARA_HDR
1576 kal_uint8 is_mt_call_allowed;
1577 kal_uint8 call_id;
1578 kal_uint8 seq_num;
1579 } mmi_cc_call_present_res_req_struct;
1580 typedef struct
1581 {
1582 LOCAL_PARA_HDR
1583 kal_uint8 call_id;
1584 kal_uint8 msg_type; /* csmcc_cpi_msg_type_enum */
1585 kal_uint8 is_ibt;
1586 kal_uint8 is_tch;
1587 kal_uint8 dir; /* clcc_dir_enum */
1588 kal_uint8 call_mode; /* clcc_mode_enum */
1589 kal_uint8 numberP;
1590 l4c_number_struct number;
1591 kal_uint16 disc_cause;
1592 kal_uint8 src_id;
1593 kal_uint8 call_type;
1594 } mmi_cc_cpi_ind_struct;
1595 typedef struct
1596 {
1597 LOCAL_PARA_HDR
1598 kal_uint32 mode;
1599 } mmi_cc_cpi_req_struct;
1600 typedef struct
1601 {
1602 LOCAL_PARA_HDR
1603 kal_uint8 source_id;
1604 kal_uint8 opcode;
1605 kal_uint8 call_type;
1606 l4c_number_struct number;
1607 } mmi_data_call_req_ind_struct;
1608 typedef struct
1609 {
1610 LOCAL_PARA_HDR
1611 kal_uint8 source_id;
1612 kal_uint8 result;
1613 kal_uint8 cause;
1614 kal_uint8 opcode;
1615 kal_uint8 call_type;
1616 l4c_number_struct number;
1617 } mmi_data_call_res_req_struct;
1618#endif /* defined(__MOD_CSM__) */
1619/* Non-Call-Related Supplementary Service Messages */
1620#if defined(__MOD_CSM__)
1621 typedef struct
1622 {
1623 LOCAL_PARA_HDR
1624 kal_uint8 opcode; /* l4_op_code_enum */
1625 kal_uint8 priority;
1626 } mmi_ss_emlpp_req_struct;
1627 typedef struct
1628 {
1629 LOCAL_PARA_HDR
1630 l4c_result_struct result;
1631 kal_uint8 para_present;
1632 kal_uint8 opcode; /* l4_op_code_enum */
1633 kal_uint8 default_pri;
1634 kal_uint8 max_pri;
1635 } mmi_ss_emlpp_rsp_struct;
1636 typedef struct
1637 {
1638 LOCAL_PARA_HDR
1639 kal_uint8 opcode; /* l4_op_code_enum */
1640 kal_uint8 type; /* l4_ss_code_enum */
1641 kal_uint8 bs_code; /* l4_bs_code_enum */
1642 kal_uint8 timer;
1643 l4c_number_struct dest;
1644 kal_bool sub_addr_flag;
1645 l4c_sub_addr_struct sub_dest;
1646 } mmi_ss_call_forward_req_struct;
1647 typedef struct
1648 {
1649 LOCAL_PARA_HDR
1650 l4c_result_struct result;
1651 kal_uint8 para_present;
1652 kal_uint8 opcode; /* l4_op_code_enum */
1653 kal_uint8 type; /* l4_ss_code_enum */
1654 kal_uint8 count;
1655 forwarding_list_struct list[13];
1656 } mmi_ss_call_forward_rsp_struct;
1657 typedef struct
1658 {
1659 LOCAL_PARA_HDR
1660 kal_uint8 opcode; /* l4_op_code_enum */
1661 kal_uint8 bs_code; /* l4_bs_code_enum */
1662 } mmi_ss_call_wait_req_struct;
1663 typedef struct
1664 {
1665 LOCAL_PARA_HDR
1666 l4c_result_struct result;
1667 kal_uint8 para_present;
1668 kal_uint8 opcode; /* l4_op_code_enum */
1669 kal_uint8 count;
1670 kal_uint8 status;
1671 kal_uint8 list[13]; /* l4_bs_code_enum */
1672 } mmi_ss_call_wait_rsp_struct;
1673 typedef struct
1674 {
1675 LOCAL_PARA_HDR
1676 l4c_result_struct result;
1677 kal_uint8 para_present;
1678 kal_uint8 status;
1679 kal_uint8 clir_option;
1680 } mmi_ss_clip_interrogate_ind_struct;
1681 typedef struct
1682 {
1683 LOCAL_PARA_HDR
1684 l4c_result_struct result;
1685 kal_uint8 para_present;
1686 kal_uint8 status;
1687 kal_uint8 clir_option;
1688 } mmi_ss_clir_interrogate_ind_struct;
1689 typedef struct
1690 {
1691 LOCAL_PARA_HDR
1692 l4c_result_struct result;
1693 kal_uint8 para_present;
1694 kal_uint8 status;
1695 kal_uint8 clir_option;
1696 } mmi_ss_cnap_interrogate_ind_struct;
1697 typedef struct
1698 {
1699 LOCAL_PARA_HDR
1700 l4c_result_struct result;
1701 kal_uint8 para_present;
1702 kal_uint8 status;
1703 kal_uint8 clir_option;
1704 } mmi_ss_colp_interrogate_ind_struct;
1705 typedef struct
1706 {
1707 LOCAL_PARA_HDR
1708 l4c_result_struct result;
1709 kal_uint8 para_present;
1710 kal_uint8 status;
1711 kal_uint8 clir_option;
1712 } mmi_ss_colr_interrogate_ind_struct;
1713 typedef struct
1714 {
1715 LOCAL_PARA_HDR
1716 kal_uint8 opcode; /* l4_op_code_enum */
1717 kal_uint8 type; /* l4_ss_code_enum */
1718 kal_uint8 bs_code; /* l4_bs_code_enum */
1719 kal_uint8 passwd[MAX_SIM_PASSWD_LEN];
1720 } mmi_ss_call_barring_req_struct;
1721 typedef struct
1722 {
1723 LOCAL_PARA_HDR
1724 l4c_result_struct result;
1725 kal_uint8 para_present;
1726 kal_uint8 opcode; /* l4_op_code_enum */
1727 kal_uint8 type;
1728 kal_uint8 count;
1729 barring_list_struct list[13];
1730 } mmi_ss_call_barring_rsp_struct;
1731 typedef struct
1732 {
1733 LOCAL_PARA_HDR
1734 kal_uint8 str[MAX_DIGITS_USSD];
1735 kal_uint8 dcs; /* smsal_dcs_enum */
1736 kal_uint8 length;
1737 } mmi_ss_ussd_req_struct;
1738 typedef struct
1739 {
1740 LOCAL_PARA_HDR
1741 l4c_result_struct result;
1742 kal_uint8 para_present;
1743 kal_uint8 op_code;
1744 kal_uint8 dcs;
1745 kal_uint8 ussd_str[MAX_DIGITS_USSD];
1746 kal_uint8 length;
1747 kal_uint8 ussd_version;
1748 } mmi_ss_ussd_rsp_struct;
1749 typedef struct
1750 {
1751 LOCAL_PARA_HDR
1752 kal_uint8 dcs; /* smsal_dcs_enum */
1753 kal_uint8 ussd_string[MAX_DIGITS_USSD];
1754 kal_uint8 length;
1755 kal_uint8 direction;
1756 } mmi_ss_ussr_ind_struct;
1757 typedef struct
1758 {
1759 LOCAL_PARA_HDR
1760 kal_uint8 dcs; /* smsal_dcs_enum */
1761 kal_uint8 ussd_string[MAX_DIGITS_USSD];
1762 kal_uint8 length;
1763 kal_uint8 direction;
1764 } mmi_ss_ussn_ind_struct;
1765 typedef struct
1766 {
1767 LOCAL_PARA_HDR
1768 kal_uint8 type; /* l4_ss_code_enum */
1769 kal_uint8 old[MAX_SIM_PASSWD_LEN];
1770 kal_uint8 new1[MAX_SIM_PASSWD_LEN];
1771 kal_uint8 new2[MAX_SIM_PASSWD_LEN];
1772 } mmi_ss_change_password_req_struct;
1773 typedef struct
1774 {
1775 LOCAL_PARA_HDR
1776 l4c_result_struct result;
1777 } mmi_ss_change_password_rsp_struct;
1778 typedef struct
1779 {
1780 LOCAL_PARA_HDR
1781 kal_uint8 input[MAX_DIGITS_USSD];
1782 kal_uint8 dcs;
1783 kal_uint8 length;
1784 kal_uint8 ip_string[21];
1785 kal_uint8 source_id;
1786 kal_uint8 call_type;
1787 kal_bool is_sim_operation;
1788 kal_uint8 als_type;
1789 kal_uint8 ecc_info;
1790 } mmi_ss_parsing_string_req_struct;
1791 typedef struct
1792 {
1793 LOCAL_PARA_HDR
1794 l4c_result_struct result;
1795 l4c_ss_string_info_struct info;
1796 } mmi_ss_parsing_string_rsp_struct;
1797 typedef struct
1798 {
1799 LOCAL_PARA_HDR
1800 kal_uint8 input[MAX_DIGITS_USSD];
1801 kal_uint8 dcs;
1802 kal_uint8 length;
1803 kal_uint8 cf_number_length;
1804 } mmi_ss_operation_req_struct;
1805 typedef struct
1806 {
1807 LOCAL_PARA_HDR
1808 l4c_result_struct result;
1809 } mmi_ss_operation_rsp_struct;
1810 typedef struct
1811 {
1812 LOCAL_PARA_HDR
1813 kal_uint8 geography_type;
1814 } mmi_sms_cb_gs_change_ind_struct;
1815 typedef struct
1816 {
1817 LOCAL_PARA_HDR
1818 kal_uint8 op_code; /* l4_op_code_enum */
1819 kal_uint8 index;
1820 } mmi_ss_ccbs_req_struct;
1821 typedef struct
1822 {
1823 LOCAL_PARA_HDR
1824 l4c_result_struct result;
1825 kal_uint8 para_present;
1826 kal_uint8 opcode; /* l4_op_code_enum */
1827 kal_uint8 ccbs_count;
1828 ccbs_list_struct list;
1829 } mmi_ss_ccbs_rsp_struct;
1830 typedef struct
1831 {
1832 LOCAL_PARA_HDR
1833 kal_bool result;
1834 } mmi_ss_abort_rsp_struct;
1835 typedef struct
1836 {
1837 LOCAL_PARA_HDR
1838 kal_uint8 clir_flag; /* rmmi_clir_enum */
1839 } mmi_ss_set_clir_flag_req_struct;
1840 typedef struct
1841 {
1842 LOCAL_PARA_HDR
1843 kal_bool result;
1844 } mmi_ss_set_clir_flag_rsp_struct;
1845 typedef struct
1846 {
1847 LOCAL_PARA_HDR
1848 kal_uint8 cause;
1849 } mmi_ss_ack_req_struct;
1850 typedef struct
1851 {
1852 LOCAL_PARA_HDR
1853 kal_bool result;
1854 } mmi_ss_ack_rsp_struct;
1855#endif /* defined(__MOD_CSM__) */
1856/* Hardware - Audio Related Service Messages */
1857#if defined(__MOD_UEM__)
1858 typedef struct
1859 {
1860 LOCAL_PARA_HDR
1861 kal_uint8 volume_type; /* volume_type_enum */
1862 kal_uint8 volume_level;
1863 } mmi_eq_set_volume_req_struct;
1864 typedef struct
1865 {
1866 LOCAL_PARA_HDR
1867 kal_bool result;
1868 kal_uint8 ret_volume_type; /* volume_type_enum */
1869 } mmi_eq_set_volume_rsp_struct;
1870 typedef struct
1871 {
1872 LOCAL_PARA_HDR
1873 kal_uint8 volume_type; /* volume_type_enum */
1874 kal_uint8 volume_level;
1875 } mmi_eq_exe_volume_req_ind_struct;
1876 typedef struct
1877 {
1878 LOCAL_PARA_HDR
1879 kal_uint8 volume_type; /* volume_type_enum */
1880 kal_uint8 volume_level;
1881 } mmi_eq_volume_change_ind_struct;
1882 typedef struct
1883 {
1884 LOCAL_PARA_HDR
1885 kal_uint8 audio_device;
1886 kal_bool mute_onoff;
1887 } mmi_eq_set_mute_req_struct;
1888 typedef struct
1889 {
1890 LOCAL_PARA_HDR
1891 kal_bool result;
1892 kal_uint8 ret_audio_device;
1893 } mmi_eq_set_mute_rsp_struct;
1894 typedef struct
1895 {
1896 LOCAL_PARA_HDR
1897 kal_uint8 audio_device;
1898 kal_bool mute_onoff;
1899 } mmi_eq_exe_mute_req_ind_struct;
1900 typedef struct
1901 {
1902 LOCAL_PARA_HDR
1903 kal_uint8 audio_device;
1904 kal_bool mute_onoff;
1905 } mmi_eq_mute_change_ind_struct;
1906 typedef struct
1907 {
1908 LOCAL_PARA_HDR
1909 kal_bool mode;
1910 } mmi_eq_set_silent_mode_req_ind_struct;
1911 typedef struct
1912 {
1913 LOCAL_PARA_HDR
1914 kal_uint8 gpio_dev_type; /* gpio_device_enum */
1915 kal_uint8 gpio_dev_level;
1916 } mmi_eq_set_gpio_level_req_struct;
1917 typedef struct
1918 {
1919 LOCAL_PARA_HDR
1920 kal_bool result;
1921 } mmi_eq_set_gpio_level_rsp_struct;
1922 typedef struct
1923 {
1924 LOCAL_PARA_HDR
1925 kal_uint8 gpio_dev_type; /* gpio_device_enum */
1926 kal_uint8 gpio_dev_level;
1927 } mmi_eq_set_gpio_level_req_ind_struct;
1928 typedef struct
1929 {
1930 LOCAL_PARA_HDR
1931 kal_uint8 gpio_dev_type; /* gpio_device_enum */
1932 } mmi_eq_get_gpio_level_req_struct;
1933 typedef struct
1934 {
1935 LOCAL_PARA_HDR
1936 kal_bool result;
1937 kal_uint8 gpio_dev_level;
1938 } mmi_eq_get_gpio_level_rsp_struct;
1939 typedef struct
1940 {
1941 LOCAL_PARA_HDR
1942 kal_uint8 gpio_dev_type; /* gpio_device_enum */
1943 kal_uint8 gpio_dev_level;
1944 } mmi_eq_exe_gpio_level_req_struct;
1945 typedef struct
1946 {
1947 LOCAL_PARA_HDR
1948 kal_bool result;
1949 } mmi_eq_exe_gpio_level_rsp_struct;
1950 typedef struct
1951 {
1952 LOCAL_PARA_HDR
1953 kal_uint8 gpio_dev_type; /* gpio_device_enum */
1954 kal_uint8 gpio_dev_level;
1955 kal_uint16 duration;
1956 } mmi_eq_exe_gpio_level_req_ind_struct;
1957 typedef struct
1958 {
1959 LOCAL_PARA_HDR
1960 kal_uint8 sound_id;
1961 kal_uint8 style; /* audio_play_style_enum */
1962 kal_uint16 identifier;
1963 } mmi_eq_play_audio_req_struct;
1964 typedef struct
1965 {
1966 LOCAL_PARA_HDR
1967 kal_bool result;
1968 } mmi_eq_play_audio_rsp_struct;
1969 typedef struct
1970 {
1971 LOCAL_PARA_HDR
1972 kal_uint8 result;
1973 kal_uint16 identifier;
1974 } mmi_eq_play_audio_finish_ind_struct;
1975 typedef struct
1976 {
1977 LOCAL_PARA_HDR
1978 kal_uint8 sound_id;
1979 } mmi_eq_stop_audio_req_struct;
1980 typedef struct
1981 {
1982 LOCAL_PARA_HDR
1983 kal_bool result;
1984 } mmi_eq_stop_audio_rsp_struct;
1985 typedef struct
1986 {
1987 LOCAL_PARA_HDR
1988 kal_uint8 imelody[MAX_RING_COMPOSE_LEN];
1989 kal_uint16 len;
1990 kal_uint8 play_style;
1991 kal_uint16 identifier;
1992 } mmi_eq_play_ext_imelody_req_struct;
1993 typedef struct
1994 {
1995 LOCAL_PARA_HDR
1996 kal_bool result;
1997 } mmi_eq_play_ext_imelody_rsp_struct;
1998 typedef struct
1999 {
2000 LOCAL_PARA_HDR
2001 kal_uint8 gpio_device; /* ext_device_enum */
2002 kal_bool on_off;
2003 } mmi_eq_gpio_detect_ind_struct;
2004 typedef struct
2005 {
2006 LOCAL_PARA_HDR
2007 kal_uint8 ext_gpio_device;
2008 } mmi_eq_gpio_detect_res_req_struct;
2009 typedef struct
2010 {
2011 LOCAL_PARA_HDR
2012 kal_bool result;
2013 } mmi_eq_gpio_detect_res_rsp_struct;
2014 typedef struct
2015 {
2016 LOCAL_PARA_HDR
2017 kal_bool on_off;
2018 } mmi_eq_set_speech_mode_req_struct;
2019 typedef struct
2020 {
2021 LOCAL_PARA_HDR
2022 kal_bool result;
2023 } mmi_eq_set_speech_mode_rsp_struct;
2024 typedef struct
2025 {
2026 LOCAL_PARA_HDR
2027 kal_wchar file_name[50];
2028 kal_uint8 style;
2029 kal_uint16 identifier;
2030 } mmi_eq_play_audio_by_name_req_struct;
2031 typedef struct
2032 {
2033 LOCAL_PARA_HDR
2034 kal_bool result;
2035 kal_uint16 cause;
2036 } mmi_eq_play_audio_by_name_rsp_struct;
2037 typedef struct
2038 {
2039 LOCAL_PARA_HDR
2040 kal_wchar file_name[50];
2041 } mmi_eq_stop_audio_by_name_req_struct;
2042 typedef struct
2043 {
2044 LOCAL_PARA_HDR
2045 kal_bool result;
2046 kal_uint16 cause;
2047 } mmi_eq_stop_audio_by_name_rsp_struct;
2048 typedef struct
2049 {
2050 LOCAL_PARA_HDR
2051 audio_profile_struct audio_prof;
2052 } mmi_eq_set_audio_profile_req_struct;
2053 typedef struct
2054 {
2055 LOCAL_PARA_HDR
2056 kal_bool result;
2057 kal_uint16 cause;
2058 } mmi_eq_set_audio_profile_rsp_struct;
2059 typedef struct
2060 {
2061 LOCAL_PARA_HDR
2062 audio_profile_struct audio_prof_in;
2063 } mmi_eq_get_audio_profile_req_struct;
2064 typedef struct
2065 {
2066 LOCAL_PARA_HDR
2067 kal_bool result;
2068 audio_profile_struct audio_prof_out;
2069 } mmi_eq_get_audio_profile_rsp_struct;
2070 typedef struct
2071 {
2072 LOCAL_PARA_HDR
2073 audio_param_struct audio_para;
2074 } mmi_eq_set_audio_param_req_struct;
2075 typedef struct
2076 {
2077 LOCAL_PARA_HDR
2078 kal_bool result;
2079 kal_uint16 cause;
2080 } mmi_eq_set_audio_param_rsp_struct;
2081 typedef struct
2082 {
2083 LOCAL_PARA_HDR
2084 kal_bool result;
2085 audio_param_struct audio_para;
2086 } mmi_eq_get_audio_param_rsp_struct;
2087 typedef struct
2088 {
2089 LOCAL_PARA_HDR
2090 kal_bool result;
2091 } mmi_eq_start_adc_all_channel_rsp_struct;
2092 typedef struct
2093 {
2094 LOCAL_PARA_HDR
2095 kal_bool result;
2096 } mmi_eq_stop_adc_all_channel_rsp_struct;
2097 typedef struct
2098 {
2099 LOCAL_PARA_HDR
2100 kal_int32 vbat;
2101 kal_int32 bat_temp;
2102 kal_int32 vaux;
2103 kal_int32 charge_current;
2104 kal_int32 vcharge;
2105 } mmi_eq_adc_all_channel_ind_struct;
2106 typedef struct
2107 {
2108 LOCAL_PARA_HDR
2109 kal_uint8 mode; /* audio_mode_enum */
2110 } mmi_eq_set_audio_mode_req_struct;
2111 typedef struct
2112 {
2113 LOCAL_PARA_HDR
2114 kal_bool result;
2115 } mmi_eq_set_audio_mode_rsp_struct;
2116 typedef struct
2117 {
2118 LOCAL_PARA_HDR
2119 kal_uint8 pattern;
2120 kal_uint8 action;
2121 } mmi_eq_play_pattern_req_struct;
2122 typedef struct
2123 {
2124 LOCAL_PARA_HDR
2125 kal_bool result;
2126 } mmi_eq_play_pattern_rsp_struct;
2127 typedef struct
2128 {
2129 LOCAL_PARA_HDR
2130 l4c_hw_profile_struct hw_profile;
2131 } mmi_eq_set_hw_level_req_struct;
2132 typedef struct
2133 {
2134 LOCAL_PARA_HDR
2135 kal_bool result;
2136 kal_uint16 cause;
2137 } mmi_eq_set_hw_level_rsp_struct;
2138 typedef struct
2139 {
2140 LOCAL_PARA_HDR
2141 kal_bool result;
2142 l4c_hw_profile_struct hw_profile;
2143 } mmi_eq_get_hw_level_rsp_struct;
2144 typedef struct
2145 {
2146 LOCAL_PARA_HDR
2147 kal_bool on_off;
2148 } mmi_eq_set_sleep_mode_req_struct;
2149 typedef struct
2150 {
2151 LOCAL_PARA_HDR
2152 kal_bool result;
2153 } mmi_eq_set_sleep_mode_rsp_struct;
2154 typedef struct
2155 {
2156 LOCAL_PARA_HDR
2157 kal_bool on_off;
2158 } mmi_eq_set_sleep_mode_req_ind_struct;
2159 typedef struct
2160 {
2161 LOCAL_PARA_HDR
2162 kal_bool is_hand_free;
2163 } mmi_eq_set_hand_free_mode_req_ind_struct;
2164 typedef struct
2165 {
2166 LOCAL_PARA_HDR
2167 kal_bool is_hand_free;
2168 } mmi_eq_query_hand_free_mode_res_req_struct;
2169 typedef struct
2170 {
2171 LOCAL_PARA_HDR
2172 kal_uint8 mode;
2173 } mmi_eq_set_cam_req_ind_struct;
2174 typedef struct
2175 {
2176 LOCAL_PARA_HDR
2177 kal_uint8 result;
2178 kal_uint8 mode;
2179 } mmi_eq_set_cam_res_req_struct;
2180 typedef struct
2181 {
2182 LOCAL_PARA_HDR
2183 kal_uint8 mode;
2184 } mmi_eq_set_avr_req_ind_struct;
2185 typedef struct
2186 {
2187 LOCAL_PARA_HDR
2188 kal_uint8 result;
2189 kal_uint8 mode;
2190 } mmi_eq_set_avr_res_req_struct;
2191#endif /* defined(__MOD_UEM__) */
2192/* Hardware - RTC, Clock, Alarm Related Messages */
2193#if defined(__MOD_UEM__)
2194 typedef struct
2195 {
2196 LOCAL_PARA_HDR
2197 kal_uint8 rtc_type;
2198 kal_uint8 set_type;
2199 rtc_alarm_info_struct info;
2200 } mmi_eq_set_rtc_time_req_struct;
2201 typedef struct
2202 {
2203 LOCAL_PARA_HDR
2204 kal_bool result;
2205 kal_uint16 cause;
2206 } mmi_eq_set_rtc_time_rsp_struct;
2207 typedef struct
2208 {
2209 LOCAL_PARA_HDR
2210 kal_uint8 rtc_type;
2211 kal_uint8 set_type;
2212 rtc_alarm_info_struct alarm;
2213 } mmi_eq_set_rtc_time_req_ind_struct;
2214 typedef struct
2215 {
2216 LOCAL_PARA_HDR
2217 kal_uint8 rtc_type;
2218 kal_uint8 set_type;
2219 rtc_alarm_info_struct info;
2220 } mmi_eq_exe_rtc_timer_req_struct;
2221 typedef struct
2222 {
2223 LOCAL_PARA_HDR
2224 kal_bool result;
2225 } mmi_eq_exe_rtc_timer_rsp_struct;
2226 typedef struct
2227 {
2228 LOCAL_PARA_HDR
2229 kal_uint8 rtc_type;
2230 } mmi_eq_get_rtc_time_req_struct;
2231 typedef struct
2232 {
2233 LOCAL_PARA_HDR
2234 kal_bool result;
2235 kal_uint8 num;
2236 rtc_alarm_info_struct rtctime[MAX_ALARM_NUM];
2237 } mmi_eq_get_rtc_time_rsp_struct;
2238 typedef struct
2239 {
2240 LOCAL_PARA_HDR
2241 kal_uint8 rtc_type;
2242 kal_uint8 rtc_index;
2243 } mmi_eq_del_rtc_timer_req_struct;
2244 typedef struct
2245 {
2246 LOCAL_PARA_HDR
2247 kal_bool result;
2248 kal_uint16 cause;
2249 } mmi_eq_del_rtc_timer_rsp_struct;
2250 typedef struct
2251 {
2252 LOCAL_PARA_HDR
2253 kal_uint8 rtc_type;
2254 kal_uint8 rtc_index;
2255 } mmi_eq_del_rtc_timer_req_ind_struct;
2256 typedef struct
2257 {
2258 LOCAL_PARA_HDR
2259 kal_uint8 rtc_type;
2260 kal_uint8 rtc_index;
2261 } mmi_eq_exe_del_rtc_timer_req_struct;
2262 typedef struct
2263 {
2264 LOCAL_PARA_HDR
2265 kal_bool result;
2266 } mmi_eq_exe_del_rtc_timer_rsp_struct;
2267 typedef struct
2268 {
2269 LOCAL_PARA_HDR
2270 kal_bool is_date_set;
2271 kal_uint8 mode;
2272 } mmi_eq_set_date_time_format_req_struct;
2273 typedef struct
2274 {
2275 LOCAL_PARA_HDR
2276 kal_bool result;
2277 } mmi_eq_set_date_time_format_rsp_struct;
2278 typedef struct
2279 {
2280 LOCAL_PARA_HDR
2281 kal_bool is_date_set;
2282 kal_uint8 mode;
2283 } mmi_eq_set_date_time_format_req_ind_struct;
2284 typedef struct
2285 {
2286 LOCAL_PARA_HDR
2287 kal_uint8 rtc_type;
2288 rtc_format_struct rtc_time;
2289 } mmi_eq_clock_tick_ind_struct;
2290 typedef struct
2291 {
2292 LOCAL_PARA_HDR
2293 rtc_format_struct rtc_time;
2294 } mmi_eq_alarm_ind_struct;
2295 typedef struct
2296 {
2297 LOCAL_PARA_HDR
2298 kal_uint8 totalAlarm;
2299 kal_uint8 activeAlarm;
2300 mmi_at_alarm_info_struct* alarmList;
2301 } mmi_at_alarm_query_res_req_struct;
2302 typedef struct
2303 {
2304 LOCAL_PARA_HDR
2305 mmi_at_alarm_info_struct alarm;
2306 } mmi_at_alarm_set_req_ind_struct;
2307 typedef struct
2308 {
2309 LOCAL_PARA_HDR
2310 kal_bool result;
2311 } mmi_at_alarm_set_res_req_struct;
2312 typedef struct
2313 {
2314 LOCAL_PARA_HDR
2315 kal_uint8 alarm_index;
2316 } mmi_at_alarm_delete_req_ind_struct;
2317 typedef struct
2318 {
2319 LOCAL_PARA_HDR
2320 kal_bool result;
2321 } mmi_at_alarm_delete_res_req_struct;
2322#endif /* defined(__MOD_UEM__) */
2323/* Hardware - Keypad, Indicator, LCD Related Messages */
2324#if defined(__MOD_UEM__)
2325 typedef struct
2326 {
2327 LOCAL_PARA_HDR
2328 kal_uint8 keypad_status; /* keypad_status_enum */
2329 kal_uint8 keycode; /* keypad_code_enum */
2330 } mmi_eq_simulate_key_press_req_ind_struct;
2331 typedef struct
2332 {
2333 LOCAL_PARA_HDR
2334 kal_uint8 icon_id; /* indicator_type_enum */
2335 kal_uint8 value;
2336 } mmi_eq_set_indicator_req_ind_struct;
2337 typedef struct
2338 {
2339 LOCAL_PARA_HDR
2340 kal_uint8 text_string[UEM_DISPLAY_TEXT_LEN];
2341 } mmi_eq_display_text_req_ind_struct;
2342 typedef struct
2343 {
2344 LOCAL_PARA_HDR
2345 kal_uint8 func_type;
2346 } mmi_eq_keypad_detect_ind_struct;
2347 typedef struct
2348 {
2349 LOCAL_PARA_HDR
2350 kal_uint8 level;
2351 kal_uint16 duration;
2352 } mmi_at_cbklt_query_res_req_struct;
2353 typedef struct
2354 {
2355 LOCAL_PARA_HDR
2356 kal_uint8 mode;
2357 } mmi_at_keypad_event_act_ind_struct;
2358 typedef struct
2359 {
2360 LOCAL_PARA_HDR
2361 kal_uint8 keypad_status;
2362 kal_uint8 keypad_code;
2363 } mmi_at_keypad_event_output_req_struct;
2364#endif /* defined(__MOD_UEM__) */
2365/* Hardware - Misc Messages */
2366#if defined(__MOD_UEM__)
2367 typedef struct
2368 {
2369 LOCAL_PARA_HDR
2370 kal_uint8 lang_code;
2371 } mmi_eq_set_language_req_struct;
2372 typedef struct
2373 {
2374 LOCAL_PARA_HDR
2375 kal_bool result;
2376 kal_uint16 cause;
2377 } mmi_eq_set_language_rsp_struct;
2378 typedef struct
2379 {
2380 LOCAL_PARA_HDR
2381 kal_uint8 lang_code;
2382 } mmi_eq_set_language_req_ind_struct;
2383 typedef struct
2384 {
2385 LOCAL_PARA_HDR
2386 kal_bool mode;
2387 kal_uint8 dcs;
2388 kal_uint8 text[UEM_GREETING_LEN];
2389 kal_uint8 length;
2390 } mmi_eq_set_greeting_text_req_ind_struct;
2391 typedef struct
2392 {
2393 LOCAL_PARA_HDR
2394 kal_bool mode;
2395 } mmi_eq_set_vibrator_mode_req_ind_struct;
2396 typedef struct
2397 {
2398 LOCAL_PARA_HDR
2399 kal_uint8 equip_type; /* equip_id_enum */
2400 } mmi_eq_get_equip_id_req_struct;
2401 typedef struct
2402 {
2403 LOCAL_PARA_HDR
2404 kal_bool result;
2405 kal_uint8 equip_id[UEM_EQUIP_ID_LEN];
2406 } mmi_eq_get_equip_id_rsp_struct;
2407 typedef struct
2408 {
2409 LOCAL_PARA_HDR
2410 kal_uint8 fun;
2411 kal_uint8 rst;
2412 } mmi_eq_power_on_req_struct;
2413 typedef struct
2414 {
2415 LOCAL_PARA_HDR
2416 kal_bool result;
2417 } mmi_eq_power_on_rsp_struct;
2418 typedef struct
2419 {
2420 LOCAL_PARA_HDR
2421 kal_bool result;
2422 } mmi_eq_power_off_rsp_struct;
2423 typedef struct
2424 {
2425 LOCAL_PARA_HDR
2426 kal_uint8 poweron_mode;
2427 kal_uint8 battery_level;
2428 kal_uint8 build_label;
2429 rtc_format_struct rtc_time;
2430 kal_uint8 flightmode_state;
2431 kal_uint8 dual_sim_mode_setting;
2432 kal_uint8 dual_sim_uart_setting;
2433 } mmi_eq_power_on_ind_struct;
2434 typedef struct
2435 {
2436 LOCAL_PARA_HDR
2437 kal_uint8 type;
2438 } mmi_eq_cancel_lock_poweron_req_struct;
2439 typedef struct
2440 {
2441 LOCAL_PARA_HDR
2442 kal_bool result;
2443 kal_uint16 cause;
2444 } mmi_eq_cancel_lock_poweron_rsp_struct;
2445 typedef struct
2446 {
2447 LOCAL_PARA_HDR
2448 kal_uint8 battery_status; /* battery_status_enum */
2449 kal_uint8 battery_voltage;
2450 } mmi_eq_battery_status_ind_struct;
2451 typedef struct
2452 {
2453 LOCAL_PARA_HDR
2454 kal_uint8 request_type;
2455 pmic_config_param_struct request;
2456 } mmi_eq_pmic_config_req_struct;
2457 typedef struct
2458 {
2459 LOCAL_PARA_HDR
2460 kal_uint8 request_type;
2461 pmic_config_param_struct request;
2462 } mmi_eq_pmic_config_rsp_struct;
2463 typedef struct
2464 {
2465 LOCAL_PARA_HDR
2466 kal_uint8 status_type;
2467 } mmi_eq_battery_status_res_req_struct;
2468 typedef struct
2469 {
2470 LOCAL_PARA_HDR
2471 kal_uint8 request_type;
2472 rf_test_gsm_param_struct request;
2473 } mmi_eq_rf_test_gsm_req_struct;
2474 typedef struct
2475 {
2476 LOCAL_PARA_HDR
2477 kal_uint8 request_type;
2478 rf_test_gsm_param_struct request;
2479 } mmi_eq_rf_test_gsm_rsp_struct;
2480 typedef struct
2481 {
2482 LOCAL_PARA_HDR
2483 kal_uint8 request_type;
2484 fm_radio_config_param_struct request;
2485 } mmi_eq_fm_radio_config_req_struct;
2486 typedef struct
2487 {
2488 LOCAL_PARA_HDR
2489 kal_uint8 request_type;
2490 fm_radio_config_param_struct request;
2491 } mmi_eq_fm_radio_config_rsp_struct;
2492 typedef struct
2493 {
2494 LOCAL_PARA_HDR
2495 kal_uint8 opcode;
2496 kal_uint16 frequency;
2497 } mmi_eq_fm_test_req_ind_struct;
2498 #if defined(__WIFI_SUPPORT__)
2499 typedef struct
2500 {
2501 LOCAL_PARA_HDR
2502 kal_uint8 request_type;
2503 rf_test_wifi_param_struct request;
2504 } mmi_eq_rf_test_wifi_req_struct;
2505 typedef struct
2506 {
2507 LOCAL_PARA_HDR
2508 kal_uint8 request_type;
2509 rf_test_wifi_param_struct request;
2510 } mmi_eq_rf_test_wifi_rsp_struct;
2511 #endif
2512 typedef struct
2513 {
2514 LOCAL_PARA_HDR
2515 kal_uint8 call_status;
2516 } mmi_eq_call_status_req_struct;
2517 typedef struct
2518 {
2519 LOCAL_PARA_HDR
2520 kal_uint8 request_type;
2521 } mmi_eq_factory_reset_ind_struct;
2522 typedef struct
2523 {
2524 LOCAL_PARA_HDR
2525 kal_bool cal_data_valid;
2526 } mmi_eq_query_cal_data_dl_status_rsp_struct;
2527#endif /* defined(__MOD_UEM__) */
2528/* Hardware - NVRAM messages */
2529#if defined(__MOD_NVRAM__)
2530 typedef struct
2531 {
2532 LOCAL_PARA_HDR
2533 kal_uint16 file_idx;
2534 kal_uint16 para;
2535 kal_uint16 rec_amount;
2536 } mmi_eq_nvram_read_req_struct;
2537 typedef struct
2538 {
2539 LOCAL_PARA_HDR
2540 l4c_result_struct result;
2541 kal_uint16 file_idx;
2542 kal_uint16 length;
2543 kal_uint16 para;
2544 kal_uint8 data[1];
2545 } mmi_eq_nvram_read_rsp_struct;
2546 typedef struct
2547 {
2548 LOCAL_PARA_HDR
2549 kal_uint16 file_idx;
2550 kal_uint16 para;
2551 kal_uint16 length;
2552 kal_uint8 data[1];
2553 } mmi_eq_nvram_write_req_struct;
2554 typedef struct
2555 {
2556 LOCAL_PARA_HDR
2557 l4c_result_struct result;
2558 kal_uint16 file_idx;
2559 kal_uint16 para;
2560 } mmi_eq_nvram_write_rsp_struct;
2561 typedef struct
2562 {
2563 LOCAL_PARA_HDR
2564 kal_uint8 reset_category;
2565 kal_uint16 lid;
2566 kal_uint16 rec_index;
2567 kal_uint16 rec_amount;
2568 } mmi_eq_nvram_reset_req_struct;
2569 typedef struct
2570 {
2571 LOCAL_PARA_HDR
2572 l4c_result_struct result;
2573 } mmi_eq_nvram_reset_rsp_struct;
2574 typedef struct
2575 {
2576 LOCAL_PARA_HDR
2577 kal_uint8 func_id;
2578 kal_uint8 ps_port;
2579 kal_uint8 tst_port_ps;
2580 kal_uint32 ps_baud_rate;
2581 kal_uint32 tst_baud_rate_ps;
2582 kal_bool High_Speed_SIM_Enabled;
2583 kal_uint8 swdbg;
2584 kal_uint8 uart_power_setting;
2585 kal_uint8 cti_uart_port;
2586 kal_uint32 cti_baud_rate;
2587 kal_uint8 tst_port_l1;
2588 kal_uint32 tst_baud_rate_l1;
2589 kal_uint8 tst_output_mode;
2590 kal_uint8 usb_logging_mode;
2591 kal_uint8 tst_port_dsp;
2592 kal_uint32 tst_baud_rate_dsp;
2593 } mmi_eq_set_uart_req_struct;
2594 typedef struct
2595 {
2596 LOCAL_PARA_HDR
2597 kal_bool result;
2598 } mmi_eq_set_uart_rsp_struct;
2599 typedef struct
2600 {
2601 LOCAL_PARA_HDR
2602 kal_bool result;
2603 kal_uint8 ps_uart_port;
2604 kal_uint32 ps_baud_rate;
2605 kal_uint8 tst_uart_port_ps;
2606 kal_uint32 tst_baud_rate_ps;
2607 kal_uint8 cti_uart_port;
2608 kal_uint32 cti_baud_rate;
2609 kal_uint8 tst_uart_port_l1;
2610 kal_uint32 tst_baud_rate_l1;
2611 kal_uint8 tst_output_mode;
2612 kal_uint8 usb_logging_mode;
2613 kal_uint8 tst_port_dsp;
2614 kal_uint32 tst_baud_rate_dsp;
2615 kal_bool high_Speed_SIM_Enabled;
2616 kal_uint8 swdbg;
2617 kal_uint8 uart_power_setting;
2618 } mmi_eq_get_uart_rsp_struct;
2619 typedef struct
2620 {
2621 LOCAL_PARA_HDR
2622 module_type module_id;
2623 UART_PORT port;
2624 kal_uint32 baud_rate;
2625 } mmi_attach_uart_port_req_struct;
2626 typedef struct
2627 {
2628 LOCAL_PARA_HDR
2629 kal_uint8 result;
2630 } mmi_attach_uart_port_rsp_struct;
2631 typedef struct
2632 {
2633 LOCAL_PARA_HDR
2634 module_type module_id;
2635 UART_PORT port;
2636 } mmi_detach_uart_port_req_struct;
2637 typedef struct
2638 {
2639 LOCAL_PARA_HDR
2640 kal_uint8 result;
2641 } mmi_detach_uart_port_rsp_struct;
2642 typedef struct
2643 {
2644 LOCAL_PARA_HDR
2645 kal_bool enable;
2646 } mmi_eq_dcm_enable_req_struct;
2647#endif /* defined(__MOD_NVRAM__) */
2648/* Network Related Messages */
2649#if defined(__MOD_RAC__)
2650 typedef struct
2651 {
2652 LOCAL_PARA_HDR
2653 kal_bool result;
2654 kal_uint8 imei[16];
2655 kal_uint8 svn[3];
2656 } mmi_nw_get_imei_rsp_struct;
2657 typedef struct
2658 {
2659 LOCAL_PARA_HDR
2660 kal_bool result;
2661 } mmi_nw_abort_plmn_list_rsp_struct;
2662 typedef struct
2663 {
2664 LOCAL_PARA_HDR
2665 kal_uint8 type; /* l4crac_attach_type_enum */
2666 kal_uint8 opcode; /* l4crac_ps_attach_enum */
2667 kal_bool is_poweroff;
2668 } mmi_nw_set_attach_req_struct;
2669 typedef struct
2670 {
2671 LOCAL_PARA_HDR
2672 kal_bool result;
2673 } mmi_nw_set_attach_rsp_struct;
2674 typedef struct
2675 {
2676 LOCAL_PARA_HDR
2677 kal_uint8 mode;
2678 } mmi_nw_set_plmn_select_mode_req_struct;
2679 typedef struct
2680 {
2681 LOCAL_PARA_HDR
2682 kal_bool result;
2683 } mmi_nw_set_plmn_select_mode_rsp_struct;
2684 typedef struct
2685 {
2686 LOCAL_PARA_HDR
2687 kal_bool result;
2688 kal_uint8 mode;
2689 } mmi_nw_get_plmn_select_mode_rsp_struct;
2690 typedef struct
2691 {
2692 LOCAL_PARA_HDR
2693 kal_uint8 prefer;
2694 } mmi_nw_set_gprs_transfer_preference_req_struct;
2695 typedef struct
2696 {
2697 LOCAL_PARA_HDR
2698 kal_bool result;
2699 } mmi_nw_set_gprs_transfer_preference_rsp_struct;
2700 typedef struct
2701 {
2702 LOCAL_PARA_HDR
2703 kal_bool result;
2704 kal_uint8 prefer;
2705 } mmi_nw_get_gprs_transfer_preference_rsp_struct;
2706 typedef struct
2707 {
2708 LOCAL_PARA_HDR
2709 kal_uint8 opcode; /* l4crac_cops_opcode_enum */
2710 kal_uint8 oper[MAX_PLMN_LEN+1];
2711 kal_uint8 rat;
2712 } mmi_nw_set_plmn_req_struct;
2713 typedef struct
2714 {
2715 LOCAL_PARA_HDR
2716 l4c_result_struct result;
2717 kal_uint8 status;
2718 kal_uint8 plmn[MAX_PLMN_LEN+1];
2719 kal_uint8 rat;
2720 } mmi_nw_set_plmn_rsp_struct;
2721 typedef struct
2722 {
2723 LOCAL_PARA_HDR
2724 l4c_result_struct result;
2725 kal_uint8 length;
2726 l4c_rat_plmn_info_struct list[MAX_PLMN_LIST_LEN];
2727 kal_uint8 num_of_hplmn;
2728 } mmi_nw_get_plmn_list_rsp_struct;
2729 typedef struct
2730 {
2731 LOCAL_PARA_HDR
2732 kal_bool result;
2733 kal_uint8 gsm_band;
2734 kal_uint8 umts_fdd_band[SIZE_OF_UMTS_BAND];
2735 kal_uint8 supported_gsm_band;
2736 kal_uint8 supported_umts_fdd_band[SIZE_OF_UMTS_BAND];
2737 } mmi_nw_get_band_rsp_struct;
2738 typedef struct
2739 {
2740 LOCAL_PARA_HDR
2741 kal_uint8 status; /* l4c_rac_response_enum */
2742 kal_uint8 plmn[MAX_PLMN_LEN+1];
2743 kal_uint8 gsm_state;
2744 kal_uint8 gprs_state;
2745 kal_uint8 gprs_status; /* l4c_gprs_status_enum */
2746 kal_uint8 rat;
2747 kal_uint8 cell_support_egprs;
2748 kal_uint8 lac[2];
2749 kal_uint8 rac;
2750 kal_uint16 cell_id;
2751 kal_uint8 cause;
2752 kal_uint8 data_speed_support;
2753 kal_bool is_on_hplmn;
2754 kal_uint8 domain; /* domain_id_enum */
2755 } mmi_nw_attach_ind_struct;
2756 typedef struct
2757 {
2758 LOCAL_PARA_HDR
2759 kal_uint8 domain;
2760 kal_uint8 cause;
2761 } mmi_nw_reg_cause_ind_struct;
2762 typedef struct
2763 {
2764 LOCAL_PARA_HDR
2765 kal_uint8 lac;
2766 kal_uint16 cell_id;
2767 kal_uint8 status;
2768 kal_uint8 gprs_state;
2769 kal_uint8 gprs_status; /* l4c_gprs_status_enum */
2770 } mmi_nw_reg_state_ind_struct;
2771 typedef struct
2772 {
2773 LOCAL_PARA_HDR
2774 kal_uint8 rat;
2775 kal_int32 rssi_in_qdbm;
2776 kal_int32 RSCP_in_qdbm;
2777 kal_int32 EcN0_in_qdbm;
2778 kal_uint8 ber;
2779 kal_uint8 current_band;
2780 } mmi_nw_rx_level_ind_struct;
2781 typedef struct
2782 {
2783 LOCAL_PARA_HDR
2784 kal_uint8 full_nw_nameP;
2785 kal_uint8 full_nw_name_dcs;
2786 kal_bool full_nw_name_add_ci;
2787 kal_uint8 full_nw_name_len;
2788 kal_uint8 full_nw_name[MAX_NW_NAME_LENGTH];
2789 kal_uint8 short_nw_nameP;
2790 kal_uint8 short_nw_name_dcs;
2791 kal_bool short_nw_name_add_ci;
2792 kal_uint8 short_nw_name_len;
2793 kal_uint8 short_nw_name[MAX_NW_NAME_LENGTH];
2794 kal_uint8 nw_time_zoneP;
2795 kal_uint8 nw_time_zone;
2796 kal_uint8 nw_time_zone_timeP;
2797 l4c_nw_time_zone_time_struct nw_time_zone_time;
2798 kal_uint8 lsa_idP;
2799 kal_uint8 lsa_id_len;
2800 kal_uint8 lsa_id[3];
2801 kal_uint8 nw_day_light_saving_timeP;
2802 kal_uint8 nw_day_light_saving_time;
2803 kal_uint8 plmn[MAX_PLMN_LEN+1];
2804 } mmi_nw_time_zone_ind_struct;
2805 typedef struct
2806 {
2807 LOCAL_PARA_HDR
2808 kal_uint8 network_mode;
2809 } mmi_nw_sel_mode_ind_struct;
2810 typedef struct
2811 {
2812 LOCAL_PARA_HDR
2813 kal_uint8 service_status;
2814 } mmi_nw_mmrr_service_status_ind_struct;
2815 typedef struct
2816 {
2817 LOCAL_PARA_HDR
2818 kal_uint8 no_ecc;
2819 l4c_rac_ecc_number_struct ecc_list[16];
2820 } mmi_nw_update_ecc_ind_struct;
2821 typedef struct
2822 {
2823 LOCAL_PARA_HDR
2824 kal_uint8 is_valid_ef_rat_mode;
2825 kal_uint8 ef_rat_mode;
2826 } mmi_nw_ef_rat_mode_change_ind_struct;
2827 typedef struct
2828 {
2829 LOCAL_PARA_HDR
2830 kal_uint8 gsm_band;
2831 kal_uint8 umts_fdd_band[SIZE_OF_UMTS_BAND];
2832 } mmi_nw_set_preferred_band_req_struct;
2833 typedef struct
2834 {
2835 LOCAL_PARA_HDR
2836 kal_bool result;
2837 kal_uint8 status;
2838 } mmi_nw_set_preferred_band_rsp_struct;
2839 typedef struct
2840 {
2841 LOCAL_PARA_HDR
2842 kal_uint8 type; /* l4c_gprs_connect_type_enum */
2843 } mmi_nw_set_gprs_connect_type_req_struct;
2844 typedef struct
2845 {
2846 LOCAL_PARA_HDR
2847 kal_bool result;
2848 } mmi_nw_set_gprs_connect_type_rsp_struct;
2849 typedef struct
2850 {
2851 LOCAL_PARA_HDR
2852 kal_bool result;
2853 kal_uint8 type; /* l4c_gprs_connect_type_enum */
2854 } mmi_nw_get_gprs_connect_type_rsp_struct;
2855 typedef struct
2856 {
2857 LOCAL_PARA_HDR
2858 l4c_result_struct result;
2859 } mmi_nw_pwroff_detach_rsp_struct;
2860 typedef struct
2861 {
2862 LOCAL_PARA_HDR
2863 kal_uint8 cfun_state;
2864 } mmi_nw_cfun_state_req_struct;
2865 typedef struct
2866 {
2867 LOCAL_PARA_HDR
2868 kal_bool result;
2869 } mmi_nw_cfun_state_rsp_struct;
2870 typedef struct
2871 {
2872 LOCAL_PARA_HDR
2873 kal_uint8 efun_state;
2874 } mmi_nw_efun_state_req_struct;
2875 typedef struct
2876 {
2877 LOCAL_PARA_HDR
2878 kal_bool result;
2879 } mmi_nw_efun_state_rsp_struct;
2880 typedef struct
2881 {
2882 LOCAL_PARA_HDR
2883 kal_bool result;
2884 kal_uint8 rat_mode;
2885 kal_uint8 prefer_rat; /* l4c_prefer_rat_enum */
2886 } mmi_nw_get_rat_mode_rsp_struct;
2887 typedef struct
2888 {
2889 LOCAL_PARA_HDR
2890 kal_uint8 rat_mode;
2891 kal_uint8 prefer_rat; /* l4c_prefer_rat_enum */
2892 } mmi_nw_set_rat_mode_req_struct;
2893 typedef struct
2894 {
2895 LOCAL_PARA_HDR
2896 kal_bool result;
2897 } mmi_nw_set_rat_mode_rsp_struct;
2898 typedef struct
2899 {
2900 LOCAL_PARA_HDR
2901 kal_bool result;
2902 kal_uint8 prefer_rat;
2903 } mmi_nw_get_prefer_rat_rsp_struct;
2904 typedef struct
2905 {
2906 LOCAL_PARA_HDR
2907 kal_uint8 prefer_rat;
2908 } mmi_nw_set_prefer_rat_req_struct;
2909 typedef struct
2910 {
2911 LOCAL_PARA_HDR
2912 kal_bool result;
2913 } mmi_nw_set_prefer_rat_rsp_struct;
2914 typedef struct
2915 {
2916 LOCAL_PARA_HDR
2917 kal_uint8 hspa_mode;
2918 kal_uint8 apply_mode;
2919 } mmi_nw_set_hspa_mode_req_struct;
2920 typedef struct
2921 {
2922 LOCAL_PARA_HDR
2923 kal_bool result;
2924 } mmi_nw_set_hspa_mode_rsp_struct;
2925 typedef struct
2926 {
2927 LOCAL_PARA_HDR
2928 kal_bool result;
2929 kal_uint8 hspa_mode;
2930 } mmi_nw_get_hspa_mode_rsp_struct;
2931 typedef struct
2932 {
2933 LOCAL_PARA_HDR
2934 kal_uint8 preference;
2935 } mmi_nw_set_plmn_list_preference_req_struct;
2936 typedef struct
2937 {
2938 LOCAL_PARA_HDR
2939 kal_bool result;
2940 } mmi_nw_set_plmn_list_preference_rsp_struct;
2941 typedef struct
2942 {
2943 LOCAL_PARA_HDR
2944 kal_bool result;
2945 kal_uint8 preference;
2946 } mmi_nw_get_plmn_list_preference_rsp_struct;
2947 typedef struct
2948 {
2949 LOCAL_PARA_HDR
2950 kal_bool force_send_SCRI;
2951 } mmi_nw_end_ps_data_session_req_struct;
2952 typedef struct
2953 {
2954 LOCAL_PARA_HDR
2955 kal_uint8 result; /* end_session_result_enum */
2956 } mmi_nw_end_ps_data_session_rsp_struct;
2957#endif /* defined(__MOD_RAC__) */
2958/* Security Related Messages */
2959#if defined(__MOD_SMU__)
2960 typedef struct
2961 {
2962 LOCAL_PARA_HDR
2963 kal_bool result;
2964 kal_uint8 imsi[17];
2965 } mmi_smu_get_imsi_rsp_struct;
2966 typedef struct
2967 {
2968 LOCAL_PARA_HDR
2969 kal_uint8 opcode; /* sim_security_operation_enum */
2970 kal_uint8 type; /* smu_security_type_enum */
2971 kal_uint8 passwd[MAX_SIM_PASSWD_LEN];
2972 } mmi_smu_lock_req_struct;
2973 typedef struct
2974 {
2975 LOCAL_PARA_HDR
2976 kal_bool result;
2977 kal_uint16 cause;
2978 sim_chv_info_struct chv_info;
2979 } mmi_smu_lock_rsp_struct;
2980 typedef struct
2981 {
2982 LOCAL_PARA_HDR
2983 kal_bool result;
2984 kal_uint8 dial_mode; /* sim_dn_enum */
2985 } mmi_smu_get_dial_mode_rsp_struct;
2986 typedef struct
2987 {
2988 LOCAL_PARA_HDR
2989 kal_uint8 pin_type; /* smu_security_type_enum */
2990 kal_uint8 pin[17];
2991 kal_uint8 new_pin[17];
2992 } mmi_smu_verify_pin_req_struct;
2993 typedef struct
2994 {
2995 LOCAL_PARA_HDR
2996 kal_bool result;
2997 kal_uint8 next_type; /* smu_security_type_enum */
2998 sim_chv_info_struct chv_info;
2999 } mmi_smu_verify_pin_rsp_struct;
3000 typedef struct
3001 {
3002 LOCAL_PARA_HDR
3003 kal_uint8 index;
3004 kal_uint8 opcode;
3005 kal_uint8 oper[MAX_PLMN_LEN+1];
3006 kal_uint8 rat;
3007 } mmi_smu_set_preferred_oper_list_req_struct;
3008 typedef struct
3009 {
3010 LOCAL_PARA_HDR
3011 kal_bool result;
3012 kal_uint16 cause;
3013 } mmi_smu_set_preferred_oper_list_rsp_struct;
3014 typedef struct
3015 {
3016 LOCAL_PARA_HDR
3017 kal_uint8 index;
3018 kal_uint16 num;
3019 kal_uint16 file_idx_req;
3020 } mmi_smu_get_preferred_oper_list_req_struct;
3021 typedef struct
3022 {
3023 LOCAL_PARA_HDR
3024 kal_bool result;
3025 kal_uint16 retnum;
3026 kal_uint8 oper_list[MAX_SUPPORT_EF_PLMNSEL_REC*7];
3027 kal_uint8 rat_list[MAX_SUPPORT_EF_PLMNSEL_REC*2];
3028 kal_uint16 file_idx_rsp;
3029 } mmi_smu_get_preferred_oper_list_rsp_struct;
3030 typedef struct
3031 {
3032 LOCAL_PARA_HDR
3033 kal_uint8 pin[MAX_SIM_PASSWD_LEN];
3034 kal_uint8 currency[3];
3035 kal_uint8 ppu[18];
3036 } mmi_smu_set_puc_req_struct;
3037 typedef struct
3038 {
3039 LOCAL_PARA_HDR
3040 kal_bool result;
3041 kal_uint16 cause;
3042 } mmi_smu_set_puc_rsp_struct;
3043 typedef struct
3044 {
3045 LOCAL_PARA_HDR
3046 kal_bool result;
3047 kal_uint8 currency[3];
3048 kal_uint8 ppu[18];
3049 } mmi_smu_get_puc_rsp_struct;
3050 typedef struct
3051 {
3052 LOCAL_PARA_HDR
3053 kal_uint8 type;
3054 kal_uint8 old[MAX_SIM_PASSWD_LEN];
3055 kal_uint8 new1[MAX_SIM_PASSWD_LEN];
3056 kal_uint8 new2[MAX_SIM_PASSWD_LEN];
3057 } mmi_smu_change_password_req_struct;
3058 typedef struct
3059 {
3060 LOCAL_PARA_HDR
3061 kal_bool result;
3062 kal_uint16 cause;
3063 sim_chv_info_struct chv_info;
3064 } mmi_smu_change_password_rsp_struct;
3065 typedef struct
3066 {
3067 LOCAL_PARA_HDR
3068 kal_uint8 type;
3069 kal_uint8 on_off;
3070 kal_uint8 pin[MAX_SIM_PASSWD_LEN];
3071 } mmi_smu_set_dial_mode_req_struct;
3072 typedef struct
3073 {
3074 LOCAL_PARA_HDR
3075 kal_bool result;
3076 kal_uint16 cause;
3077 } mmi_smu_set_dial_mode_rsp_struct;
3078 typedef struct
3079 {
3080 LOCAL_PARA_HDR
3081 kal_uint16 file_idx;
3082 kal_uint8 para;
3083 kal_uint8 data[260];
3084 kal_uint16 length;
3085 kal_uint8 path[6];
3086 kal_uint8 access_id;
3087 } mmi_smu_write_sim_req_struct;
3088 typedef struct
3089 {
3090 LOCAL_PARA_HDR
3091 kal_bool result;
3092 kal_uint16 cause;
3093 kal_uint8 access_id;
3094 } mmi_smu_write_sim_rsp_struct;
3095 typedef struct
3096 {
3097 LOCAL_PARA_HDR
3098 kal_uint16 file_idx;
3099 kal_uint16 para;
3100 kal_uint16 length;
3101 kal_uint8 path[6];
3102 kal_uint8 access_id;
3103 } mmi_smu_read_sim_req_struct;
3104 typedef struct
3105 {
3106 LOCAL_PARA_HDR
3107 l4c_result_struct result;
3108 kal_uint16 length;
3109 kal_uint8 data[260];
3110 kal_uint8 access_id;
3111 } mmi_smu_read_sim_rsp_struct;
3112 typedef struct
3113 {
3114 LOCAL_PARA_HDR
3115 kal_bool result;
3116 } mmi_smu_power_off_rsp_struct;
3117 typedef struct
3118 {
3119 LOCAL_PARA_HDR
3120 kal_uint8 is_sim_inserted;
3121 kal_uint8 is_df_gsm_existed;
3122 kal_uint8 is_df_cdma_existed;
3123 } mmi_sim_get_gsmcdma_dualsim_info_rsp_struct;
3124 typedef struct
3125 {
3126 LOCAL_PARA_HDR
3127 kal_uint8 op;
3128 } mmi_sim_set_gsmcdma_dualsim_mode_req_struct;
3129 typedef struct
3130 {
3131 LOCAL_PARA_HDR
3132 kal_uint8 op;
3133 kal_uint8 result;
3134 } mmi_sim_set_gsmcdma_dualsim_mode_rsp_struct;
3135 typedef struct
3136 {
3137 LOCAL_PARA_HDR
3138 kal_uint8 type;
3139 kal_uint8 is_sim_change;
3140 sim_chv_info_struct chv_info;
3141 kal_uint8 cphs_retry_count;
3142 } mmi_smu_password_required_ind_struct;
3143 typedef struct
3144 {
3145 LOCAL_PARA_HDR
3146 kal_uint16 length;
3147 } mmi_smu_support_plmn_list_ind_struct;
3148 typedef struct
3149 {
3150 LOCAL_PARA_HDR
3151 kal_uint16 cause;
3152 } mmi_smu_fail_ind_struct;
3153 typedef struct
3154 {
3155 LOCAL_PARA_HDR
3156 kal_uint16 file_idx;
3157 kal_uint8 path[6];
3158 kal_uint8 access_id;
3159 } mmi_smu_read_file_info_req_struct;
3160 typedef struct
3161 {
3162 LOCAL_PARA_HDR
3163 l4c_result_struct result;
3164 kal_uint16 file_size;
3165 kal_uint8 num_of_rec;
3166 kal_uint8 access_id;
3167 kal_uint8 file_type;
3168 } mmi_smu_read_file_info_rsp_struct;
3169 typedef struct
3170 {
3171 LOCAL_PARA_HDR
3172 kal_bool result;
3173 sim_chv_info_struct chv_info;
3174 sim_chv_status_struct chv_status;
3175 } mmi_smu_check_pin_status_rsp_struct;
3176 typedef struct
3177 {
3178 LOCAL_PARA_HDR
3179 kal_uint8 num;
3180
3181 #ifdef __TC01__
3182 sim_ecc_entry_struct ecc_entry[16];
3183 #else
3184 sim_ecc_entry_struct ecc_entry[5];
3185 #endif
3186 kal_uint8 language[5];
3187 kal_uint8 alpha_set;
3188 kal_uint8 language_ext[5];
3189 kal_uint8 alpha_set_ext;
3190 kal_uint8 sim_type;
3191 } mmi_smu_startup_info_ind_struct;
3192 typedef struct
3193 {
3194 LOCAL_PARA_HDR
3195 kal_bool cipher_ind;
3196 kal_uint8 is_gsm_conn_exist;
3197 kal_uint8 gsm_cipher_cond;
3198 kal_uint8 gprs_cipher_cond;
3199 } mmi_smu_cipher_ind_struct;
3200 typedef struct
3201 {
3202 LOCAL_PARA_HDR
3203 kal_uint8 category;
3204 kal_uint8 op;
3205 kal_uint8 key[17];
3206 kal_uint8 len;
3207 kal_uint8 data[10];
3208 } mmi_smu_set_personalization_req_struct;
3209 typedef struct
3210 {
3211 LOCAL_PARA_HDR
3212 l4c_result_struct result;
3213 kal_uint8 category;
3214 kal_uint8 op;
3215 kal_uint8 state;
3216 kal_uint8 retry_count;
3217 kal_uint8 num_of_sets;
3218 kal_uint8 space_of_sets;
3219 } mmi_smu_set_personalization_rsp_struct;
3220 typedef struct
3221 {
3222 LOCAL_PARA_HDR
3223 l4c_result_struct result;
3224 kal_uint8 state[7];
3225 kal_uint8 retry_count[7];
3226 kal_uint8 autolock_count[7];
3227 kal_uint8 num_of_sets[7];
3228 kal_uint8 total_size_of_cat[7];
3229 kal_uint8 key_state[7];
3230 kal_uint8 imsi[16];
3231 kal_uint8 is_valid_gid1;
3232 kal_uint8 ef_gid1;
3233 kal_uint8 is_valid_gid2;
3234 kal_uint8 ef_gid2;
3235 kal_uint8 digits_of_mnc;
3236 } mmi_smu_sml_status_rsp_struct;
3237 typedef struct
3238 {
3239 LOCAL_PARA_HDR
3240 kal_uint8 next_type;
3241 sim_chv_info_struct chv_info;
3242 sim_chv_status_struct chv_status;
3243 } mmi_smu_verify_pin_result_ind_struct;
3244 typedef struct
3245 {
3246 LOCAL_PARA_HDR
3247 kal_bool is_o2_prepaid_sim;
3248 } mmi_sim_o2_prepaid_sim_ind_struct;
3249 typedef struct
3250 {
3251 LOCAL_PARA_HDR
3252 kal_uint8 access_id;
3253 kal_uint16 file_idx;
3254 } mmi_smu_read_sim_plmn_req_struct;
3255 typedef struct
3256 {
3257 LOCAL_PARA_HDR
3258 kal_uint8 access_id;
3259 kal_uint16 file_idx;
3260 l4c_result_struct result;
3261 kal_uint16 file_size;
3262 kal_uint8 file[MAX_SUPPORT_PLMN_DATA_SIZE+0];
3263 } mmi_smu_read_sim_plmn_rsp_struct;
3264 typedef struct
3265 {
3266 LOCAL_PARA_HDR
3267 kal_uint8 access_id;
3268 kal_uint16 file_idx;
3269 kal_uint16 file_size;
3270 kal_uint8 file[MAX_SUPPORT_PLMN_DATA_SIZE+0];
3271 } mmi_smu_write_sim_plmn_req_struct;
3272 typedef struct
3273 {
3274 LOCAL_PARA_HDR
3275 kal_uint8 access_id;
3276 kal_uint16 file_idx;
3277 l4c_result_struct result;
3278 } mmi_smu_write_sim_plmn_rsp_struct;
3279 typedef struct
3280 {
3281 LOCAL_PARA_HDR
3282 kal_bool is_sim_inserted;
3283 kal_uint8 dual_sim_mode_setting;
3284 } mmi_smu_reset_sim_rsp_struct;
3285 typedef struct
3286 {
3287 LOCAL_PARA_HDR
3288 kal_uint16 file_idx;
3289 kal_uint16 para;
3290 kal_uint8 access_id;
3291 kal_uint8 path[6];
3292 kal_uint8 pattern_len;
3293 kal_uint8 data[MAX_SUPPORT_RECORD_SIZE+6];
3294 } mmi_smu_search_record_req_struct;
3295 typedef struct
3296 {
3297 LOCAL_PARA_HDR
3298 kal_bool result;
3299 kal_uint16 cause;
3300 kal_uint8 access_id;
3301 kal_uint8 record_num;
3302 kal_uint8 record[258];
3303 } mmi_smu_search_record_rsp_struct;
3304#endif /* defined(__MOD_SMU__) */
3305
3306/* Short Message Service Related Messages */
3307#if defined(__MOD_SMSAL__)
3308 typedef struct
3309 {
3310 LOCAL_PARA_HDR
3311 kal_uint16 para_ind;
3312 kal_uint8 profile_no;
3313 kal_uint8 pid;
3314 kal_uint8 dcs;
3315 kal_uint8 vp;
3316 l4c_number_struct sc_addr;
3317 l4_name_struct profile_name;
3318 } mmi_sms_set_profile_params_req_struct;
3319 typedef struct
3320 {
3321 LOCAL_PARA_HDR
3322 kal_bool result;
3323 kal_uint16 cause;
3324 } mmi_sms_set_profile_params_rsp_struct;
3325 typedef struct
3326 {
3327 LOCAL_PARA_HDR
3328 kal_uint8 profile_no;
3329 } mmi_sms_get_profile_params_req_struct;
3330 typedef struct
3331 {
3332 LOCAL_PARA_HDR
3333 kal_bool result;
3334 kal_uint8 pid;
3335 kal_uint8 dcs;
3336 kal_uint8 vp;
3337 l4c_number_struct sc_addr;
3338 l4_name_struct profile_name;
3339 } mmi_sms_get_profile_params_rsp_struct;
3340 typedef struct
3341 {
3342 LOCAL_PARA_HDR
3343 kal_uint16 para_ind;
3344 kal_uint8 fo;
3345 kal_uint8 bearer_service;
3346 kal_uint8 status_report;
3347 kal_uint8 reply_path;
3348 } mmi_sms_set_common_params_req_struct;
3349 typedef struct
3350 {
3351 LOCAL_PARA_HDR
3352 kal_bool result;
3353 kal_uint16 cause;
3354 } mmi_sms_set_common_params_rsp_struct;
3355 typedef struct
3356 {
3357 LOCAL_PARA_HDR
3358 kal_bool result;
3359 kal_uint8 fo;
3360 kal_uint8 bearer_service;
3361 kal_uint8 status_report;
3362 kal_uint8 reply_path;
3363 } mmi_sms_get_common_params_rsp_struct;
3364 typedef struct
3365 {
3366 LOCAL_PARA_HDR
3367 kal_uint8 fo;
3368 kal_uint8 ct;
3369 kal_uint8 mn;
3370 kal_uint8 pid; /* smsal_pid_enum */
3371 l4c_number_struct dest;
3372 kal_uint8 length;
3373 kal_uint8 cmd[SMSAL_MAX_CMD_LEN];
3374 kal_uint8 source_id;
3375 } mmi_sms_send_command_req_struct;
3376 typedef struct
3377 {
3378 LOCAL_PARA_HDR
3379 kal_bool result;
3380 kal_uint16 cause;
3381 kal_uint8 mr;
3382 kal_uint8 scts[7];
3383 kal_uint8 source_id;
3384 } mmi_sms_send_command_rsp_struct;
3385 typedef struct
3386 {
3387 LOCAL_PARA_HDR
3388 kal_uint8 del_flag; /* smsal_del_flag_enum */
3389 kal_uint16 index;
3390 kal_uint8 del_bitmap[480];
3391 kal_uint8 source_id;
3392 } mmi_sms_del_msg_req_struct;
3393 typedef struct
3394 {
3395 LOCAL_PARA_HDR
3396 kal_bool result;
3397 kal_uint16 cause;
3398 kal_uint8 del_flag; /* smsal_del_flag_enum */
3399 kal_uint16 index;
3400 kal_uint8 storage_type;
3401 kal_uint8 del_bitmap[480];
3402 kal_uint8 source_id;
3403 } mmi_sms_del_msg_rsp_struct;
3404 typedef struct
3405 {
3406 LOCAL_PARA_HDR
3407 kal_uint16 index;
3408 kal_bool change_status;
3409 kal_uint8 source_id;
3410 } mmi_sms_get_msg_req_struct;
3411 typedef struct
3412 {
3413 LOCAL_PARA_HDR
3414 kal_bool result;
3415 kal_uint16 cause;
3416 smsal_concat_struct concat_info;
3417 kal_uint8 mti;
3418 kal_uint8 status;
3419 kal_uint8 storage_type;
3420 kal_uint8 fo;
3421 kal_uint8 scts[7];
3422 l4c_number_struct sca_number;
3423 l4c_number_struct addr_number;
3424 kal_uint8 pid;
3425 kal_uint8 dcs;
3426 kal_uint8 ori_dcs;
3427 kal_uint8 vp;
3428 kal_uint8 mr;
3429 kal_uint8 dt[7];
3430 kal_uint8 st;
3431 kal_uint16 dest_port;
3432 kal_uint16 src_port;
3433 kal_uint8 source_id;
3434 kal_uint16 no_msg_data;
3435 kal_uint8 msg_data[1];
3436 } mmi_sms_get_msg_rsp_struct;
3437 typedef struct
3438 {
3439 LOCAL_PARA_HDR
3440 kal_uint8 profile;
3441 kal_uint16 reply_index;
3442 l4c_number_struct dest;
3443 kal_uint16 para;
3444 l4c_number_struct sc_addr;
3445 kal_uint8 vp;
3446 kal_uint8 pid; /* smsal_pid_enum */
3447 kal_uint8 udhi;
3448 kal_uint8 dcs; /* smsal_dcs_enum */
3449 kal_uint16 length;
3450 kal_uint8 msg[SMSAL_MAX_MSG_LEN];
3451 kal_uint8 seq_num;
3452 kal_uint8 mms_mode;
3453 kal_uint8 source_id;
3454 kal_uint8 tp_srr;
3455 kal_uint8 tp_rp;
3456 } mmi_sms_send_msg_req_struct;
3457 typedef struct
3458 {
3459 LOCAL_PARA_HDR
3460 kal_bool result;
3461 kal_uint16 cause;
3462 kal_uint8 mr;
3463 kal_uint8 scts[7];
3464 kal_uint8 seq_num;
3465 smsal_concat_struct concat_info;
3466 kal_uint8 source_id;
3467 } mmi_sms_send_msg_rsp_struct;
3468 typedef struct
3469 {
3470 LOCAL_PARA_HDR
3471 kal_uint8 profile;
3472 kal_uint8 status;
3473 l4c_number_struct dest;
3474 kal_uint16 para;
3475 l4c_number_struct sc_addr;
3476 kal_uint8 scts[7];
3477 kal_uint8 vp;
3478 kal_uint8 pid; /* smsal_pid_enum */
3479 kal_uint8 udhi;
3480 kal_uint8 dcs; /* smsal_dcs_enum */
3481 kal_uint16 index;
3482 kal_uint16 length;
3483 kal_uint8 msg[SMSAL_MAX_MSG_LEN];
3484 kal_uint8 source_id;
3485 kal_uint8 tp_srr;
3486 kal_uint8 tp_mms;
3487 kal_uint8 tp_rp;
3488 kal_uint8 tp_sri;
3489 } mmi_sms_set_msg_req_struct;
3490 typedef struct
3491 {
3492 LOCAL_PARA_HDR
3493 kal_bool result;
3494 kal_uint16 cause;
3495 kal_uint16 index;
3496 kal_uint8 status;
3497 kal_uint8 storage_type;
3498 kal_uint8 source_id;
3499 } mmi_sms_set_msg_rsp_struct;
3500 typedef struct
3501 {
3502 LOCAL_PARA_HDR
3503 kal_uint8 mem1; /* smsal_storage_enum */
3504 kal_uint8 mem2; /* smsal_storage_enum */
3505 kal_uint8 mem3; /* smsal_storage_enum */
3506 } mmi_sms_set_preferred_storage_req_struct;
3507 typedef struct
3508 {
3509 LOCAL_PARA_HDR
3510 kal_bool result;
3511 smsal_prefer_storage_struct param;
3512 } mmi_sms_set_preferred_storage_rsp_struct;
3513 typedef struct
3514 {
3515 LOCAL_PARA_HDR
3516 kal_bool result;
3517 smsal_prefer_storage_struct info;
3518 } mmi_sms_get_preferred_storage_rsp_struct;
3519 typedef struct
3520 {
3521 LOCAL_PARA_HDR
3522 kal_bool enable;
3523 kal_uint32 port_num;
3524 kal_uint16 mod_id;
3525 kal_uint8 source_id;
3526 } mmi_sms_reg_port_num_req_struct;
3527 typedef struct
3528 {
3529 LOCAL_PARA_HDR
3530 kal_bool result;
3531 kal_uint16 cause;
3532 kal_uint32 ret_port_num;
3533 kal_uint16 ret_mod_id;
3534 kal_uint8 ret_source_id;
3535 } mmi_sms_reg_port_num_rsp_struct;
3536 typedef struct
3537 {
3538 LOCAL_PARA_HDR
3539 kal_uint8 fo;
3540 kal_uint8 scts[7];
3541 l4c_number_struct sca_number;
3542 l4c_number_struct oa_number;
3543 kal_uint8 pid; /* smsal_pid_enum */
3544 kal_uint8 dcs; /* smsal_dcs_enum */
3545 kal_uint8 ori_dcs;
3546 kal_uint16 index;
3547 kal_uint16 dest_port;
3548 kal_uint16 src_port;
3549 kal_uint8 mti;
3550 kal_uint8 display_type;
3551 kal_uint8 storage_type;
3552 kal_uint32 concat_info;
3553 kal_uint16 no_msg_data;
3554 kal_uint8 msg_data[1];
3555 } mmi_sms_deliver_msg_ind_struct;
3556 typedef struct
3557 {
3558 LOCAL_PARA_HDR
3559 kal_uint8 fo;
3560 kal_uint8 scts[7];
3561 kal_uint8 dt[7];
3562 l4c_number_struct ra_number;
3563 kal_uint8 st; /* smsal_st_enum */
3564 kal_uint8 pid; /* smsal_pid_enum */
3565 kal_uint8 dcs; /* smsal_dcs_enum */
3566 kal_uint8 mr;
3567 kal_uint16 no_msg_data;
3568 kal_uint8 msg_data[1];
3569 } mmi_sms_status_report_ind_struct;
3570 typedef struct
3571 {
3572 LOCAL_PARA_HDR
3573 kal_uint8 type;
3574 } mmi_sms_mem_available_ind_struct;
3575 typedef struct
3576 {
3577 LOCAL_PARA_HDR
3578 kal_uint8 type;
3579 } mmi_sms_mem_exceed_ind_struct;
3580 typedef struct
3581 {
3582 LOCAL_PARA_HDR
3583 kal_uint8 type;
3584 } mmi_sms_mem_full_ind_struct;
3585 typedef struct
3586 {
3587 LOCAL_PARA_HDR
3588 kal_bool result;
3589 } mmi_sms_ready_ind_struct;
3590 typedef struct
3591 {
3592 LOCAL_PARA_HDR
3593 kal_uint16 dest_mod_id;
3594 kal_uint16 dest_port;
3595 kal_uint16 src_port;
3596 kal_uint8 dcs;
3597 kal_uint8 mti;
3598 kal_uint16 message_len;
3599 kal_uint32 concat_info[(sizeof(smsal_concat_struct)+3)/4];
3600 l4c_number_struct oa;
3601 kal_uint8 scts[7];
3602 kal_uint8 msg_data[SMSAL_MAX_MSG_LEN];
3603 } mmi_sms_app_data_ind_struct;
3604 typedef struct
3605 {
3606 LOCAL_PARA_HDR
3607 kal_bool result;
3608 kal_bool is_sim_card_change;
3609 kal_uint16 in_sim_no;
3610 kal_uint16 in_me_no;
3611 kal_uint16 out_sim_no;
3612 kal_uint16 out_me_no;
3613 kal_uint16 unread_msg_num;
3614 kal_uint16 total_sim_num;
3615 kal_uint16 total_me_num;
3616 } mmi_sms_get_msg_num_rsp_struct;
3617 typedef struct
3618 {
3619 LOCAL_PARA_HDR
3620 kal_bool result;
3621 kal_uint8 profile_no;
3622 kal_uint8 name_len;
3623 } mmi_sms_get_profile_num_rsp_struct;
3624 typedef struct
3625 {
3626 LOCAL_PARA_HDR
3627 kal_uint8 source_id;
3628 kal_uint8 seq_num;
3629 } mmi_sms_abort_req_struct;
3630 typedef struct
3631 {
3632 LOCAL_PARA_HDR
3633 kal_bool result;
3634 kal_uint8 source_id;
3635 kal_uint8 seq_num;
3636 } mmi_sms_abort_rsp_struct;
3637 typedef struct
3638 {
3639 LOCAL_PARA_HDR
3640 kal_uint8 line_no;
3641 kal_uint8 waiting_num;
3642 kal_uint8 ind_type;
3643 kal_bool is_show_num;
3644 kal_bool is_clear;
3645 kal_bool is_from_storage;
3646 kal_uint8 msp_no;
3647 kal_uint8 ext_indicator;
3648 l4csmsal_msg_waiting_ind_ext_struct msg_waiting[5];
3649 } mmi_sms_msg_waiting_ind_struct;
3650 typedef struct
3651 {
3652 LOCAL_PARA_HDR
3653 kal_uint8 evm_pdu_type;
3654 kal_uint8 multi_sub_profile;
3655 kal_uint8 is_store;
3656 kal_uint8 vm_almost_full;
3657 kal_uint8 vm_full;
3658 kal_uint8 vm_status_ext_flg;
3659 l4_addr_bcd_struct vm_access_addr;
3660 kal_uint8 number_of_vm_unread;
3661 kal_uint8 number_of_vm_notify;
3662 kal_uint8 number_of_vm_delete;
3663 kal_uint8 l4_status;
3664 kal_uint8 vm_status_ext_len;
3665 kal_uint8* vm_status_ext_data;
3666 smsal_evmi_msg_struct* vm_msg[32];
3667 } mmi_sms_enhanced_voice_mail_ind_struct;
3668 typedef struct
3669 {
3670 LOCAL_PARA_HDR
3671 kal_uint8 mailbox_num;
3672 l4c_number_struct num_addr;
3673 l4_name_struct name;
3674 } mmi_sms_set_mailbox_address_req_struct;
3675 typedef struct
3676 {
3677 LOCAL_PARA_HDR
3678 kal_bool result;
3679 kal_uint16 cause;
3680 } mmi_sms_set_mailbox_address_rsp_struct;
3681 typedef struct
3682 {
3683 LOCAL_PARA_HDR
3684 kal_bool result;
3685 kal_uint8 mailbox_num;
3686 kal_uint8 alpha_length;
3687 kal_uint8 max_num_length;
3688 l4c_sms_mailbox_info_struct mailbox_info[SMSAL_MAX_MAILBOX_NUM];
3689 } mmi_sms_get_mailbox_address_rsp_struct;
3690 typedef struct
3691 {
3692 LOCAL_PARA_HDR
3693 kal_uint8 msp_no;
3694 smsal_mbi_struct mbi;
3695 } mmi_sms_set_mbi_req_struct;
3696 typedef struct
3697 {
3698 LOCAL_PARA_HDR
3699 kal_bool result;
3700 kal_uint16 cause;
3701 } mmi_sms_set_mbi_rsp_struct;
3702 typedef struct
3703 {
3704 LOCAL_PARA_HDR
3705 kal_bool result;
3706 kal_uint8 msp_num;
3707 smsal_mbi_struct mbi[4];
3708 } mmi_sms_get_mbi_rsp_struct;
3709 typedef struct
3710 {
3711 LOCAL_PARA_HDR
3712 kal_uint8 msp_no;
3713 } mmi_sms_set_msp_req_struct;
3714 typedef struct
3715 {
3716 LOCAL_PARA_HDR
3717 kal_bool result;
3718 } mmi_sms_set_msp_rsp_struct;
3719 typedef struct
3720 {
3721 LOCAL_PARA_HDR
3722 kal_bool result;
3723 kal_uint8 msp_no;
3724 } mmi_sms_get_msp_rsp_struct;
3725 typedef struct
3726 {
3727 LOCAL_PARA_HDR
3728 kal_uint8 action;
3729 kal_uint16 index;
3730 kal_uint8 status;
3731 kal_uint8 del_bitmap[480];
3732 } mmi_sms_sync_msg_ind_struct;
3733 typedef struct
3734 {
3735 LOCAL_PARA_HDR
3736 kal_bool result;
3737 } mmi_sms_sync_msg_res_req_struct;
3738 typedef struct
3739 {
3740 LOCAL_PARA_HDR
3741 kal_bool result;
3742 kal_uint16 cause;
3743 kal_uint8 source_id;
3744 kal_uint8 seq_num;
3745 } mmi_sms_send_abort_finish_ind_struct;
3746 typedef struct
3747 {
3748 LOCAL_PARA_HDR
3749 kal_bool result;
3750 } mmi_sms_startup_read_next_rsp_struct;
3751 typedef struct
3752 {
3753 LOCAL_PARA_HDR
3754 kal_uint8 startup_seq_num;
3755 kal_uint8 mti;
3756 kal_uint8 status;
3757 kal_uint8 storage_type;
3758 kal_uint8 fo;
3759 kal_uint16 index;
3760 kal_uint8 scts[7];
3761 l4c_number_struct addr_number;
3762 kal_uint8 pid;
3763 kal_uint8 dcs;
3764 kal_uint8 ori_dcs;
3765 kal_uint8 vp;
3766 kal_uint8 mr;
3767 kal_uint8 dt[7];
3768 kal_uint8 st;
3769 kal_uint16 dest_port;
3770 kal_uint16 src_port;
3771 kal_uint32 concat_info;
3772 kal_uint16 no_msg_data;
3773 kal_uint8 msg_data[1];
3774 } mmi_sms_startup_read_msg_ind_struct;
3775 typedef struct
3776 {
3777 LOCAL_PARA_HDR
3778 kal_uint8 action;
3779 kal_uint8 dst_storage;
3780 kal_uint16 src_index;
3781 kal_uint8 source_id;
3782 } mmi_sms_copy_msg_req_struct;
3783 typedef struct
3784 {
3785 LOCAL_PARA_HDR
3786 kal_uint8 result;
3787 kal_uint16 cause;
3788 kal_uint8 action;
3789 kal_uint8 dst_storage;
3790 kal_uint16 src_index;
3791 kal_uint16 dst_index;
3792 kal_uint8 source_id;
3793 } mmi_sms_copy_msg_rsp_struct;
3794 typedef struct
3795 {
3796 LOCAL_PARA_HDR
3797 kal_uint8 change_status;
3798 kal_uint8 status;
3799 kal_uint16 start_index;
3800 kal_uint8 no_msg;
3801 } mmi_sms_get_msg_list_req_struct;
3802 typedef struct
3803 {
3804 LOCAL_PARA_HDR
3805 smsal_inbox_list_struct inbox;
3806 smsal_outbox_list_struct outbox;
3807 } mmi_sms_get_msg_list_rsp_struct;
3808 typedef struct
3809 {
3810 LOCAL_PARA_HDR
3811 kal_uint16 index;
3812 kal_bool addr_present;
3813 l4c_number_struct da;
3814 kal_uint8 source_id;
3815 kal_uint8 profile_no_tag;
3816 kal_uint8 profile_no;
3817 } mmi_sms_send_from_storage_req_struct;
3818 typedef struct
3819 {
3820 LOCAL_PARA_HDR
3821 kal_bool result;
3822 kal_uint16 cause;
3823 kal_uint8 mr;
3824 kal_uint16 index;
3825 smsal_concat_struct concat_info;
3826 kal_uint8 source_id;
3827 } mmi_sms_send_from_storage_rsp_struct;
3828 typedef struct
3829 {
3830 LOCAL_PARA_HDR
3831 kal_uint8 new_status;
3832 kal_uint16 index;
3833 kal_uint8 source_id;
3834 } mmi_sms_set_status_req_struct;
3835 typedef struct
3836 {
3837 LOCAL_PARA_HDR
3838 kal_bool result;
3839 kal_uint16 error_cause;
3840 kal_uint16 index;
3841 kal_uint8 source_id;
3842 } mmi_sms_set_status_rsp_struct;
3843 typedef struct
3844 {
3845 LOCAL_PARA_HDR
3846 kal_uint8 source_id;
3847 } mmi_sms_send_smma_req_struct;
3848 typedef struct
3849 {
3850 LOCAL_PARA_HDR
3851 kal_bool result;
3852 kal_uint8 source_id;
3853 } mmi_sms_send_smma_rsp_struct;
3854 typedef struct
3855 {
3856 LOCAL_PARA_HDR
3857 kal_uint8 source_id;
3858 kal_uint8 line_no;
3859 kal_uint8 waiting_num;
3860 kal_uint8 ind_type;
3861 } mmi_sms_set_msg_waiting_req_struct;
3862 typedef struct
3863 {
3864 LOCAL_PARA_HDR
3865 kal_bool result;
3866 kal_uint16 cause;
3867 kal_uint8 source_id;
3868 kal_uint8 line_no;
3869 kal_uint8 waiting_num;
3870 kal_uint8 ind_type;
3871 } mmi_sms_set_msg_waiting_rsp_struct;
3872 typedef struct
3873 {
3874 LOCAL_PARA_HDR
3875 kal_uint16 index;
3876 } mmi_sms_read_raw_data_req_struct;
3877 typedef struct
3878 {
3879 LOCAL_PARA_HDR
3880 kal_uint8 result;
3881 kal_uint16 cause;
3882 kal_uint16 index;
3883 kal_uint8 status;
3884 kal_uint8 storage_type;
3885 kal_uint16 data_len;
3886 kal_uint8 data[1];
3887 } mmi_sms_read_raw_data_rsp_struct;
3888 typedef struct
3889 {
3890 LOCAL_PARA_HDR
3891 kal_uint8 storage_type;
3892 kal_uint16 data_len;
3893 kal_uint8 data[1];
3894 } mmi_sms_write_raw_data_req_struct;
3895 typedef struct
3896 {
3897 LOCAL_PARA_HDR
3898 kal_uint8 result;
3899 kal_uint16 cause;
3900 kal_uint16 index;
3901 kal_uint8 status;
3902 kal_uint8 storage_type;
3903 } mmi_sms_write_raw_data_rsp_struct;
3904 typedef struct
3905 {
3906 LOCAL_PARA_HDR
3907 kal_uint8 atcmd_type;
3908 kal_uint8 domain_type;
3909 kal_uint8 memory_type;
3910 kal_uint8 stat_type;
3911 kal_uint32 atcmd_index;
3912 l4c_usm_cmgw_struct cmgw_message;
3913 kal_uint32 cmgd_delflag;
3914 l4c_usm_cnmi_struct cnmi_parameter;
3915 } mmi_usm_at_req_ind_struct;
3916 typedef struct
3917 {
3918 LOCAL_PARA_HDR
3919 kal_uint8 atcmd_type; /* rmmi_usm_atcmd_enum */
3920 kal_uint32 atcmd_index;
3921 kal_uint8 tag_type; /* rmmi_usm_message_stat_enum */
3922 kal_bool iscomplete;
3923 kal_uint8 pdu_length;
3924 kal_uint8 pdu[176];
3925 l4c_usm_cnmi_struct cnmi_parameter;
3926 l4c_usm_cmss_struct cmss_struct;
3927 kal_uint8 result;
3928 kal_uint16 cause;
3929 } mmi_usm_general_rcode_req_struct;
3930 typedef struct
3931 {
3932 LOCAL_PARA_HDR
3933 kal_uint16 reply_index;
3934 kal_uint16 data_len;
3935 kal_uint8 source_id;
3936 kal_uint8 seq_num;
3937 kal_uint8 mms_mode;
3938 kal_uint16 length;
3939 kal_uint8 pdu[176];
3940 } mmi_sms_send_pdu_msg_req_struct;
3941 typedef struct
3942 {
3943 LOCAL_PARA_HDR
3944 kal_bool result;
3945 kal_uint16 cause;
3946 kal_uint8 source_id;
3947 kal_uint8 mr;
3948 kal_uint8 seq_num;
3949 } mmi_sms_send_pdu_msg_rsp_struct;
3950 typedef struct
3951 {
3952 LOCAL_PARA_HDR
3953 kal_uint32 sm_max_num;
3954 kal_uint32 sm_current_num;
3955 kal_uint32 me_max_num;
3956 kal_uint32 me_current_num;
3957 kal_uint32 sr_max_num;
3958 kal_uint32 sr_current_num;
3959 } mmi_sms_sync_msg_storage_req_struct;
3960 typedef struct
3961 {
3962 LOCAL_PARA_HDR
3963 kal_uint8 result;
3964 kal_uint32 error_cause;
3965 kal_uint8 mem;
3966 kal_uint32 index;
3967 kal_uint8 uid;
3968 kal_uint8 msg_class;
3969 kal_bool is_msg_wait;
3970 kal_uint8 msg_wait_store;
3971 } mmi_sms_send_deliver_report_req_struct;
3972 typedef struct
3973 {
3974 LOCAL_PARA_HDR
3975 kal_bool result;
3976 kal_uint32 error_cause;
3977 kal_uint8 uid;
3978 } mmi_sms_send_deliver_report_rsp_struct;
3979 typedef struct
3980 {
3981 LOCAL_PARA_HDR
3982 kal_uint8 result;
3983 kal_uint32 error_cause;
3984 } mmi_sms_mt_sms_final_ack_ind_struct;
3985 typedef struct
3986 {
3987 LOCAL_PARA_HDR
3988 kal_uint8 id;
3989 kal_uint8 mti;
3990 kal_uint16 pdu_length;
3991 kal_uint8 pdu[176];
3992 } mmi_sms_new_msg_pdu_ind_struct;
3993 typedef struct
3994 {
3995 LOCAL_PARA_HDR
3996 kal_uint16 msg_length;
3997 kal_uint8 msg_data[88];
3998 } mmi_sms_cb_msg_pdu_ind_struct;
3999 typedef struct
4000 {
4001 LOCAL_PARA_HDR
4002 kal_uint8 sim_status;
4003 } mmi_sms_startup_read_ind_struct;
4004 typedef struct
4005 {
4006 LOCAL_PARA_HDR
4007 kal_bool result;
4008 } mmi_sms_startup_read_res_rsp_struct;
4009 typedef struct
4010 {
4011 LOCAL_PARA_HDR
4012 kal_uint8 source_id;
4013 } mmi_sms_get_mem_status_ind_struct;
4014 typedef struct
4015 {
4016 LOCAL_PARA_HDR
4017 kal_uint32 sim_max_num;
4018 kal_uint32 sim_current_num;
4019 kal_uint32 me_max_num;
4020 kal_uint32 me_current_num;
4021 kal_uint32 sr_max_num;
4022 kal_uint32 sr_current_num;
4023 kal_uint8 source_id;
4024 } mmi_sms_get_mem_status_res_req_struct;
4025 typedef struct
4026 {
4027 LOCAL_PARA_HDR
4028 kal_bool result;
4029 } mmi_sms_get_mem_status_res_rsp_struct;
4030 typedef struct
4031 {
4032 LOCAL_PARA_HDR
4033 kal_uint8 mem_status;
4034 } mmi_sms_mem_status_req_struct;
4035 typedef struct
4036 {
4037 LOCAL_PARA_HDR
4038 kal_bool result;
4039 } mmi_sms_mem_status_rsp_struct;
4040 typedef struct
4041 {
4042 LOCAL_PARA_HDR
4043 kal_uint8 source_id;
4044 kal_uint8 mem;
4045 kal_uint32 index;
4046 kal_uint8 esmss_mode;
4047 } mmi_sms_atcmd_cmgr_ind_struct;
4048 typedef struct
4049 {
4050 LOCAL_PARA_HDR
4051 kal_uint8 result;
4052 kal_uint16 cause;
4053 kal_uint8 source_id;
4054 kal_uint8 mem;
4055 kal_uint32 index;
4056 kal_uint8 stat;
4057 kal_uint16 pdu_length;
4058 kal_uint8 pdu[176];
4059 } mmi_sms_atcmd_cmgr_res_req_struct;
4060 typedef struct
4061 {
4062 LOCAL_PARA_HDR
4063 kal_bool result;
4064 } mmi_sms_atcmd_cmgr_res_rsp_struct;
4065 typedef struct
4066 {
4067 LOCAL_PARA_HDR
4068 kal_uint8 source_id;
4069 kal_uint8 mem;
4070 kal_uint8 stat;
4071 kal_uint8 esmss_mode;
4072 } mmi_sms_atcmd_cmgl_ind_struct;
4073 typedef struct
4074 {
4075 LOCAL_PARA_HDR
4076 kal_uint8 mem;
4077 kal_uint32 index;
4078 kal_uint8 stat;
4079 kal_uint16 pdu_length;
4080 kal_uint8 pdu[176];
4081 kal_uint8 result;
4082 kal_uint16 cause;
4083 kal_uint8 is_complete;
4084 kal_uint8 source_id;
4085 } mmi_sms_atcmd_cmgl_res_req_struct;
4086 typedef struct
4087 {
4088 LOCAL_PARA_HDR
4089 kal_bool result;
4090 } mmi_sms_atcmd_cmgl_res_rsp_struct;
4091 typedef struct
4092 {
4093 LOCAL_PARA_HDR
4094 kal_uint8 source_id;
4095 kal_uint8 mem;
4096 kal_uint16 index;
4097 kal_uint8 delflag;
4098 } mmi_sms_atcmd_cmgd_ind_struct;
4099 typedef struct
4100 {
4101 LOCAL_PARA_HDR
4102 kal_uint8 result;
4103 kal_uint16 cause;
4104 kal_uint8 source_id;
4105 } mmi_sms_atcmd_cmgd_res_req_struct;
4106 typedef struct
4107 {
4108 LOCAL_PARA_HDR
4109 kal_bool result;
4110 } mmi_sms_atcmd_cmgd_res_rsp_struct;
4111 typedef struct
4112 {
4113 LOCAL_PARA_HDR
4114 kal_uint8 source_id;
4115 kal_uint8 mem;
4116 kal_uint8 stat;
4117 kal_uint16 pdu_length;
4118 kal_uint8 pdu[176];
4119 } mmi_sms_atcmd_cmgw_ind_struct;
4120 typedef struct
4121 {
4122 LOCAL_PARA_HDR
4123 kal_uint32 index;
4124 kal_uint8 result;
4125 kal_uint16 cause;
4126 kal_uint8 source_id;
4127 } mmi_sms_atcmd_cmgw_res_req_struct;
4128 typedef struct
4129 {
4130 LOCAL_PARA_HDR
4131 kal_bool result;
4132 } mmi_sms_atcmd_cmgw_res_rsp_struct;
4133 typedef struct
4134 {
4135 LOCAL_PARA_HDR
4136 kal_uint8 source_id;
4137 kal_uint8 mem;
4138 } mmi_sms_atcmd_eqsi_ind_struct;
4139 typedef struct
4140 {
4141 LOCAL_PARA_HDR
4142 kal_uint8 mem;
4143 kal_uint32 begin;
4144 kal_uint32 end;
4145 kal_uint32 used;
4146 kal_uint8 source_id;
4147 } mmi_sms_atcmd_eqsi_res_req_struct;
4148 typedef struct
4149 {
4150 LOCAL_PARA_HDR
4151 kal_bool result;
4152 } mmi_sms_atcmd_eqsi_res_rsp_struct;
4153 typedef struct
4154 {
4155 LOCAL_PARA_HDR
4156 kal_uint8 bearer;
4157 } mmi_sms_atcmd_cgsms_ind_struct;
4158 typedef struct
4159 {
4160 LOCAL_PARA_HDR
4161 kal_uint8 profile;
4162 } mmi_sms_atcmd_csas_ind_struct;
4163 typedef struct
4164 {
4165 LOCAL_PARA_HDR
4166 kal_bool is_etws_needed;
4167 kal_bool is_etws_security_needed;
4168 kal_bool is_etws_testing_on;
4169 kal_bool write_to_nvram;
4170 } mmi_sms_etws_setting_req_struct;
4171 typedef struct
4172 {
4173 LOCAL_PARA_HDR
4174 kal_bool result;
4175 kal_uint16 cause;
4176 } mmi_sms_etws_setting_rsp_struct;
4177 typedef struct
4178 {
4179 LOCAL_PARA_HDR
4180 kal_uint16 warning_type;
4181 kal_uint16 message_id;
4182 kal_uint16 serial_nubmer;
4183 kal_bool is_security_information_valid;
4184 kal_uint8 etws_security_information[L4C_MAX_ETWS_SECURITY_INFO_LEN];
4185 kal_uint8 plmn_id[6];
4186 } mmi_sms_etws_info_ind_struct;
4187#endif /* defined(__MOD_SMSAL__) */
4188/* GPRS Related Messages */
4189#if defined(__MOD_TCM__)
4190 typedef struct
4191 {
4192 LOCAL_PARA_HDR
4193 kal_uint8 opcode;
4194 kal_uint8 cid;
4195 } mmi_ps_act_test_req_struct;
4196 typedef struct
4197 {
4198 LOCAL_PARA_HDR
4199 kal_bool result;
4200 kal_uint16 cause;
4201 } mmi_ps_act_test_rsp_struct;
4202 typedef struct
4203 {
4204 LOCAL_PARA_HDR
4205 l4c_prim_pdp_info_struct pdp;
4206 } mmi_ps_set_definition_req_struct;
4207 typedef struct
4208 {
4209 LOCAL_PARA_HDR
4210 kal_bool result;
4211 kal_uint16 cause;
4212 } mmi_ps_set_definition_rsp_struct;
4213 typedef struct
4214 {
4215 LOCAL_PARA_HDR
4216 l4c_sec_pdp_info_struct pdp;
4217 } mmi_ps_set_sec_definition_req_struct;
4218 typedef struct
4219 {
4220 LOCAL_PARA_HDR
4221 kal_bool result;
4222 kal_uint16 cause;
4223 } mmi_ps_set_sec_definition_rsp_struct;
4224 typedef struct
4225 {
4226 LOCAL_PARA_HDR
4227#if defined(__LTE_RAT__)
4228 l4c_tft_struct_only_for_mmi tft;
4229#else
4230 l4c_tft_struct tft;
4231#endif
4232 } mmi_ps_set_tft_req_struct;
4233 typedef struct
4234 {
4235 LOCAL_PARA_HDR
4236 kal_bool result;
4237 kal_uint16 cause;
4238 } mmi_ps_set_tft_rsp_struct;
4239 typedef struct
4240 {
4241 LOCAL_PARA_HDR
4242 kal_bool result;
4243#if defined(__LTE_RAT__)
4244 l4c_tft_struct_only_for_mmi info;
4245#else
4246 l4c_tft_struct info;
4247#endif
4248 } mmi_ps_get_tft_rsp_struct;
4249 typedef struct
4250 {
4251 LOCAL_PARA_HDR
4252 kal_uint8 qos_type;
4253 l4c_qos_struct min;
4254 } mmi_ps_set_qos_req_struct;
4255 typedef struct
4256 {
4257 LOCAL_PARA_HDR
4258 kal_bool result;
4259 kal_uint16 cause;
4260 } mmi_ps_set_qos_rsp_struct;
4261 typedef struct
4262 {
4263 LOCAL_PARA_HDR
4264 kal_uint8 qos_type;
4265 l4c_eqos_struct min;
4266 } mmi_ps_set_eqos_req_struct;
4267 typedef struct
4268 {
4269 LOCAL_PARA_HDR
4270 kal_bool result;
4271 kal_uint16 cause;
4272 } mmi_ps_set_eqos_rsp_struct;
4273 typedef struct
4274 {
4275 LOCAL_PARA_HDR
4276 kal_uint8 cid;
4277 kal_uint32 size;
4278 } mmi_ps_send_data_req_struct;
4279 typedef struct
4280 {
4281 LOCAL_PARA_HDR
4282 kal_bool result;
4283 } mmi_ps_send_data_rsp_struct;
4284 typedef struct
4285 {
4286 LOCAL_PARA_HDR
4287 kal_uint8 status; /* l4c_gprs_status_enum */
4288 kal_uint8 cell_support_egprs;
4289 kal_uint8 data_speed_support;
4290 kal_uint8 data_bearer_capability;
4291 } mmi_ps_gprs_status_update_ind_struct;
4292 typedef struct
4293 {
4294 LOCAL_PARA_HDR
4295 kal_bool result;
4296 kal_uint8 entry_num;
4297 } mmi_ps_get_gprs_empty_profile_rsp_struct;
4298 typedef struct
4299 {
4300 LOCAL_PARA_HDR
4301 kal_bool result;
4302 l4c_gprs_statistics_info_struct counter_info;
4303 } mmi_ps_get_gprs_data_counter_rsp_struct;
4304 typedef struct
4305 {
4306 LOCAL_PARA_HDR
4307 l4c_gprs_account_info_struct gprs_account;
4308 kal_uint8 profile_type;
4309 } mmi_ps_set_gprs_data_account_req_struct;
4310 typedef struct
4311 {
4312 LOCAL_PARA_HDR
4313 kal_bool result;
4314 kal_uint16 cause;
4315 } mmi_ps_set_gprs_data_account_rsp_struct;
4316 typedef struct
4317 {
4318 LOCAL_PARA_HDR
4319 kal_uint8 profile_id;
4320 kal_uint8 profile_type;
4321 } mmi_ps_get_gprs_data_account_req_struct;
4322 typedef struct
4323 {
4324 LOCAL_PARA_HDR
4325 kal_bool result;
4326 l4c_gprs_account_info_struct gprs_account;
4327 } mmi_ps_get_gprs_data_account_rsp_struct;
4328 typedef struct
4329 {
4330 LOCAL_PARA_HDR
4331 kal_bool result;
4332 kal_uint16 cause;
4333 } mmi_ps_reset_gprs_data_counter_rsp_struct;
4334 typedef struct
4335 {
4336 LOCAL_PARA_HDR
4337 kal_bool result;
4338 kal_uint8 dial_mode;
4339 } mmi_ps_get_acl_mode_rsp_struct;
4340 typedef struct
4341 {
4342 LOCAL_PARA_HDR
4343 kal_uint8 on_off;
4344 kal_uint8 pin[MAX_SIM_PASSWD_LEN];
4345 } mmi_ps_set_acl_mode_req_struct;
4346 typedef struct
4347 {
4348 LOCAL_PARA_HDR
4349 kal_bool result;
4350 kal_uint16 cause;
4351 } mmi_ps_set_acl_mode_rsp_struct;
4352 typedef struct
4353 {
4354 LOCAL_PARA_HDR
4355 kal_uint16 start_index;
4356 kal_uint16 max_read_entries;
4357 } mmi_ps_get_acl_entries_req_struct;
4358 typedef struct
4359 {
4360 LOCAL_PARA_HDR
4361 l4c_result_struct result;
4362 kal_uint16 start_index;
4363 kal_uint16 num_of_entries;
4364 kal_bool more_flag;
4365 l4c_tcm_acl_entry_struct acl_list[TCM_MAX_PEER_ACL_ENTRIES];
4366 } mmi_ps_get_acl_entries_rsp_struct;
4367 typedef struct
4368 {
4369 LOCAL_PARA_HDR
4370 l4c_tcm_acl_entry_struct acl_entry;
4371 } mmi_ps_add_acl_entry_req_struct;
4372 typedef struct
4373 {
4374 LOCAL_PARA_HDR
4375 l4c_result_struct result;
4376 } mmi_ps_add_acl_entry_rsp_struct;
4377 typedef struct
4378 {
4379 LOCAL_PARA_HDR
4380 kal_uint16 index;
4381 l4c_tcm_acl_entry_struct acl_entry;
4382 } mmi_ps_set_acl_entry_req_struct;
4383 typedef struct
4384 {
4385 LOCAL_PARA_HDR
4386 l4c_result_struct result;
4387 } mmi_ps_set_acl_entry_rsp_struct;
4388 typedef struct
4389 {
4390 LOCAL_PARA_HDR
4391 kal_bool del_all;
4392 kal_uint16 index;
4393 l4c_tcm_acl_entry_struct acl_entry;
4394 } mmi_ps_del_acl_entry_req_struct;
4395 typedef struct
4396 {
4397 LOCAL_PARA_HDR
4398 l4c_result_struct result;
4399 } mmi_ps_del_acl_entry_rsp_struct;
4400 typedef struct
4401 {
4402 LOCAL_PARA_HDR
4403 kal_bool result;
4404 } mmi_ps_leave_acl_menu_rsp_struct;
4405#endif /* defined(__MOD_TCM__) */
4406/* STK/SAT Related Messages */
4407#if defined(__SAT__)
4408 typedef struct
4409 {
4410 LOCAL_PARA_HDR
4411 kal_uint8 cmd_detail[5];
4412 kal_uint8 priority;
4413 kal_uint8 clear_text_type;
4414 kal_uint8 immediate_res;
4415 kal_uint8 is_icon_available;
4416 sat_icon_struct icon_info;
4417 kal_uint16 no_text_string;
4418 kal_uint8* text_string;
4419 kal_uint8 dcs_of_text_string;
4420 } mmi_sat_display_text_ind_struct;
4421 typedef struct
4422 {
4423 LOCAL_PARA_HDR
4424 kal_uint8 cmd_detail[5];
4425 kal_uint8 res;
4426 kal_uint8 additional_info;
4427 } mmi_sat_display_text_res_req_struct;
4428 typedef struct
4429 {
4430 LOCAL_PARA_HDR
4431 kal_bool result;
4432 } mmi_sat_display_text_res_rsp_struct;
4433 typedef struct
4434 {
4435 LOCAL_PARA_HDR
4436 kal_uint8 cmd_detail[5];
4437 kal_uint8 is_help_info_available;
4438 kal_uint8 type_of_input;
4439 kal_uint8 is_icon_available;
4440 sat_icon_struct icon_info;
4441 kal_uint16 no_text_string;
4442 kal_uint8* text_string;
4443 kal_uint8 dcs_of_text_string;
4444 } mmi_sat_get_inkey_ind_struct;
4445 typedef struct
4446 {
4447 LOCAL_PARA_HDR
4448 kal_uint8 cmd_detail[5];
4449 kal_uint8 res;
4450 kal_uint8 is_yes_selected;
4451 kal_uint8 dcs_of_text_string;
4452 kal_uint8 no_text_string;
4453 kal_uint8 text_string[1];
4454 } mmi_sat_get_inkey_res_req_struct;
4455 typedef struct
4456 {
4457 LOCAL_PARA_HDR
4458 kal_bool result;
4459 } mmi_sat_get_inkey_res_rsp_struct;
4460 typedef struct
4461 {
4462 LOCAL_PARA_HDR
4463 kal_uint8 cmd_detail[5];
4464 kal_uint8 is_help_info_available;
4465 kal_uint8 type_of_input;
4466 kal_uint8 is_input_revealed_to_user;
4467 kal_uint8 is_icon_available;
4468 sat_icon_struct icon_info;
4469 kal_uint8 len_of_min_input;
4470 kal_uint8 len_of_max_input;
4471 kal_uint16 no_text_string;
4472 kal_uint8* text_string;
4473 kal_uint8 dcs_of_text_string;
4474 kal_uint16 no_default_text;
4475 kal_uint8* default_text;
4476 kal_uint8 dcs_of_default_text;
4477 } mmi_sat_get_input_ind_struct;
4478 typedef struct
4479 {
4480 LOCAL_PARA_HDR
4481 kal_uint8 cmd_detail[5];
4482 kal_uint8 res;
4483 kal_uint8 dcs_of_text_string;
4484 kal_uint8 no_text_string;
4485 kal_uint8 text_string[1];
4486 } mmi_sat_get_input_res_req_struct;
4487 typedef struct
4488 {
4489 LOCAL_PARA_HDR
4490 kal_bool result;
4491 } mmi_sat_get_input_res_rsp_struct;
4492 typedef struct
4493 {
4494 LOCAL_PARA_HDR
4495 kal_uint8 cmd_detail[5];
4496 kal_uint8 is_help_info_available;
4497 kal_uint8 is_softkey_preferred;
4498 kal_uint8 is_icon_available;
4499 sat_icon_struct icon_info;
4500 kal_uint8 num_of_item;
4501 kal_uint8 no_alpha_id;
4502 kal_uint8* alpha_id;
4503 kal_uint8 dcs_of_alpha_id;
4504 kal_uint16 no_item_data;
4505 kal_uint8* item_data;
4506 kal_uint8 no_item_icon_id_list;
4507 kal_uint8* item_icon_id_list;
4508 kal_uint8 item_icon_list_attr;
4509 kal_uint8 no_next_action_ind_list;
4510 kal_uint8* next_action_ind_list;
4511 } mmi_sat_setup_menu_ind_struct;
4512 typedef struct
4513 {
4514 LOCAL_PARA_HDR
4515 kal_uint8 cmd_detail[5];
4516 kal_uint8 res;
4517 } mmi_sat_setup_menu_res_req_struct;
4518 typedef struct
4519 {
4520 LOCAL_PARA_HDR
4521 kal_bool result;
4522 } mmi_sat_setup_menu_res_rsp_struct;
4523 typedef struct
4524 {
4525 LOCAL_PARA_HDR
4526 kal_uint8 cmd_detail[5];
4527 kal_uint8 is_help_info_available;
4528 kal_uint8 is_softkey_preferred;
4529 kal_uint8 type_of_presentation;
4530 kal_uint8 is_icon_available;
4531 sat_icon_struct icon_info;
4532 kal_uint8 is_item_id_available;
4533 kal_uint8 item_id;
4534 kal_uint8 num_of_item;
4535 kal_uint8 no_alpha_id;
4536 kal_uint8* alpha_id;
4537 kal_uint8 dcs_of_alpha_id;
4538 kal_uint16 no_item_data;
4539 kal_uint8* item_data;
4540 kal_uint8 item_icon_list_attr;
4541 kal_uint8 no_item_icon_id_list;
4542 kal_uint8* item_icon_id_list;
4543 kal_uint8 no_next_action_ind_list;
4544 kal_uint8* next_action_ind_list;
4545 } mmi_sat_select_item_ind_struct;
4546 typedef struct
4547 {
4548 LOCAL_PARA_HDR
4549 kal_uint8 cmd_detail[5];
4550 kal_uint8 res;
4551 kal_uint8 item_id;
4552 } mmi_sat_select_item_res_req_struct;
4553 typedef struct
4554 {
4555 LOCAL_PARA_HDR
4556 kal_bool result;
4557 } mmi_sat_select_item_res_rsp_struct;
4558 typedef struct
4559 {
4560 LOCAL_PARA_HDR
4561 kal_uint8 cmd_detail[5];
4562 kal_uint8 tone_id;
4563 kal_uint32 duration;
4564 kal_uint8 is_icon_available;
4565 sat_icon_struct icon_info;
4566 kal_uint8 no_alpha_id;
4567 kal_uint8* alpha_id;
4568 kal_uint8 dcs_of_alpha_id;
4569 kal_uint8 is_alpha_id_present;
4570 } mmi_sat_play_tone_ind_struct;
4571 typedef struct
4572 {
4573 LOCAL_PARA_HDR
4574 kal_uint8 cmd_detail[5];
4575 kal_uint8 res;
4576 } mmi_sat_play_tone_res_req_struct;
4577 typedef struct
4578 {
4579 LOCAL_PARA_HDR
4580 kal_bool result;
4581 } mmi_sat_play_tone_res_rsp_struct;
4582 typedef struct
4583 {
4584 LOCAL_PARA_HDR
4585 kal_uint8 item_id;
4586 kal_uint8 is_help_info_requested;
4587 } mmi_sat_menu_select_req_struct;
4588 typedef struct
4589 {
4590 LOCAL_PARA_HDR
4591 kal_uint8 result;
4592 } mmi_sat_menu_select_rsp_struct;
4593 typedef struct
4594 {
4595 LOCAL_PARA_HDR
4596 kal_bool result;
4597 } mmi_sat_evdl_idle_screen_available_rsp_struct;
4598 typedef struct
4599 {
4600 LOCAL_PARA_HDR
4601 kal_uint8 iso639_language[2];
4602 } mmi_sat_language_selection_req_struct;
4603 typedef struct
4604 {
4605 LOCAL_PARA_HDR
4606 kal_bool result;
4607 } mmi_sat_language_selection_rsp_struct;
4608 typedef struct
4609 {
4610 LOCAL_PARA_HDR
4611 kal_uint8 browser_termination_cause;
4612 } mmi_sat_evdl_browser_termination_req_struct;
4613 typedef struct
4614 {
4615 LOCAL_PARA_HDR
4616 kal_bool result;
4617 } mmi_sat_evdl_browser_termination_rsp_struct;
4618 typedef struct
4619 {
4620 LOCAL_PARA_HDR
4621 kal_uint8 cmd_detail[5];
4622 kal_uint8 condition;
4623 kal_uint32 duration;
4624 kal_uint8 type_of_modification;
4625 kal_uint8 is_icon1_available;
4626 sat_icon_struct icon_info1;
4627 kal_uint8 is_icon2_available;
4628 sat_icon_struct icon_info2;
4629 kal_uint8 size_of_ccp;
4630 kal_uint8 ccp[MAX_SAT_SIZE_OF_CCP];
4631 kal_uint8 size_of_subaddr;
4632 kal_uint8 subaddr[MAX_CC_SUB_ADDR_BCD_LEN];
4633 kal_uint8 is_alpha_id1_present;
4634 kal_uint8 no_alpha_id1;
4635 kal_uint8* alpha_id1;
4636 kal_uint8 dcs_of_alpha_id1;
4637 kal_uint8 no_addr;
4638 kal_uint8* addr;
4639 kal_uint8 is_alpha_id2_present;
4640 kal_uint8 no_alpha_id2;
4641 kal_uint8* alpha_id2;
4642 kal_uint8 dcs_of_alpha_id2;
4643 } mmi_sat_call_setup_ind_struct;
4644 typedef struct
4645 {
4646 LOCAL_PARA_HDR
4647 kal_uint8 sat_call_type;
4648 kal_uint8 no_addr;
4649 kal_uint8 addr[MAX_CC_ADDR_BCD_LEN];
4650 kal_uint8 no_sub_addr;
4651 kal_uint8 sub_addr[MAX_CC_SUB_ADDR_BCD_LEN];
4652 kal_uint8 no_ccp;
4653 kal_uint8 ccp[MAX_SAT_SIZE_OF_CCP];
4654 kal_uint8 type_of_modification;
4655 } mmi_sat_call_setup_stage1_req_struct;
4656 typedef struct
4657 {
4658 LOCAL_PARA_HDR
4659 l4c_result_struct result;
4660 kal_uint8 terminal_res;
4661 kal_uint8 additional_res;
4662 } mmi_sat_call_setup_stage1_rsp_struct;
4663 typedef struct
4664 {
4665 LOCAL_PARA_HDR
4666 kal_uint8 cmd_detail[5];
4667 kal_uint8 res;
4668 kal_uint8 cause;
4669 } mmi_sat_call_setup_stage2_req_struct;
4670 typedef struct
4671 {
4672 LOCAL_PARA_HDR
4673 kal_bool result;
4674 } mmi_sat_call_setup_stage2_rsp_struct;
4675 typedef struct
4676 {
4677 LOCAL_PARA_HDR
4678 kal_uint8 cmd_detail[5];
4679 kal_uint8 is_icon_available;
4680 sat_icon_struct icon_info;
4681 kal_uint8 is_sms_packed_required;
4682 kal_uint8 size_of_addr;
4683 kal_uint8 addr[MAX_CC_ADDR_BCD_LEN];
4684 kal_uint8 is_alpha_id_present;
4685 kal_uint8 no_alpha_id;
4686 kal_uint8* alpha_id;
4687 kal_uint8 dcs_of_alpha_id;
4688 kal_uint8 no_sms_tpdu;
4689 kal_uint8* sms_tpdu;
4690 } mmi_sat_send_sms_ind_struct;
4691 typedef struct
4692 {
4693 LOCAL_PARA_HDR
4694 kal_uint8 is_sms_packed_required;
4695 kal_uint8 no_addr;
4696 kal_uint8 addr[MAX_CC_ADDR_BCD_LEN];
4697 kal_uint8 tpdu_length;
4698 kal_uint8 tpdu[175];
4699 } mmi_sat_send_sms_stage1_req_struct;
4700 typedef struct
4701 {
4702 LOCAL_PARA_HDR
4703 kal_uint8 res;
4704 kal_uint16 cause;
4705 } mmi_sat_send_sms_stage1_rsp_struct;
4706 typedef struct
4707 {
4708 LOCAL_PARA_HDR
4709 kal_uint8 cmd_detail[5];
4710 kal_uint8 res;
4711 kal_uint8 cause;
4712 } mmi_sat_send_sms_stage2_req_struct;
4713 typedef struct
4714 {
4715 LOCAL_PARA_HDR
4716 kal_bool result;
4717 } mmi_sat_send_sms_stage2_rsp_struct;
4718 typedef struct
4719 {
4720 LOCAL_PARA_HDR
4721 kal_uint8 cmd_detail[5];
4722 kal_uint8 type_of_modification;
4723 kal_uint8 is_icon_available;
4724 sat_icon_struct icon_info;
4725 kal_uint8 is_alpha_id_present;
4726 kal_uint8 no_alpha_id;
4727 kal_uint8* alpha_id;
4728 kal_uint8 dcs_of_alpha_id;
4729 kal_uint8 no_ss_string;
4730 kal_uint8* ss_string;
4731 } mmi_sat_send_ss_ind_struct;
4732 typedef struct
4733 {
4734 LOCAL_PARA_HDR
4735 kal_uint8 input[MAX_DIGITS_USSD];
4736 kal_uint8 dcs;
4737 kal_uint8 length;
4738 kal_uint8 type_of_modification;
4739 } mmi_sat_send_ss_stage1_req_struct;
4740 typedef struct
4741 {
4742 LOCAL_PARA_HDR
4743 kal_uint8 res;
4744 kal_uint8 length;
4745 kal_uint8 addition_info[255];
4746 } mmi_sat_send_ss_stage1_rsp_struct;
4747 typedef struct
4748 {
4749 LOCAL_PARA_HDR
4750 kal_uint8 cmd_detail[5];
4751 kal_uint8 res;
4752 kal_uint8 size_of_additional_info;
4753 kal_uint8 additional_info[255];
4754 } mmi_sat_send_ss_stage2_req_struct;
4755 typedef struct
4756 {
4757 LOCAL_PARA_HDR
4758 kal_bool result;
4759 } mmi_sat_send_ss_stage2_rsp_struct;
4760 typedef struct
4761 {
4762 LOCAL_PARA_HDR
4763 kal_uint8 cmd_detail[5];
4764 kal_uint8 type_of_modification;
4765 kal_uint8 is_icon_available;
4766 sat_icon_struct icon_info;
4767 kal_uint8 is_alpha_id_present;
4768 kal_uint8 no_alpha_id;
4769 kal_uint8* alpha_id;
4770 kal_uint8 dcs_of_alpha_id;
4771 kal_uint8 no_ussd_string;
4772 kal_uint8* ussd_string;
4773 kal_uint8 dcs_of_ussd_string;
4774 } mmi_sat_send_ussd_ind_struct;
4775 typedef struct
4776 {
4777 LOCAL_PARA_HDR
4778 kal_uint8 input[MAX_DIGITS_USSD];
4779 kal_uint8 dcs;
4780 kal_uint8 length;
4781 kal_uint8 type_of_modification;
4782 } mmi_sat_send_ussd_stage1_req_struct;
4783 typedef struct
4784 {
4785 LOCAL_PARA_HDR
4786 kal_uint8 res;
4787 kal_uint8 length;
4788 kal_uint8 addition_info[255];
4789 } mmi_sat_send_ussd_stage1_rsp_struct;
4790 typedef struct
4791 {
4792 LOCAL_PARA_HDR
4793 kal_uint8 cmd_detail[5];
4794 kal_uint8 res;
4795 kal_uint8 size_of_additional_info;
4796 kal_uint8 additional_info[255];
4797 } mmi_sat_send_ussd_stage2_req_struct;
4798 typedef struct
4799 {
4800 LOCAL_PARA_HDR
4801 kal_bool result;
4802 } mmi_sat_send_ussd_stage2_rsp_struct;
4803 typedef struct
4804 {
4805 LOCAL_PARA_HDR
4806 kal_uint8 mmi_info_type;
4807 kal_uint8 is_alpha_id_present;
4808 kal_uint8 no_alpha_id;
4809 kal_uint8* alpha_id;
4810 kal_uint8 dcs_of_alpha_id;
4811 kal_uint8 len_of_address;
4812 kal_uint8 address[MAX_CC_ADDR_BCD_LEN];
4813 kal_uint8 ton;
4814 } mmi_sat_mmi_info_ind_struct;
4815 typedef struct
4816 {
4817 LOCAL_PARA_HDR
4818 kal_uint8 cmd_detail[5];
4819 kal_uint8 res;
4820 } mmi_sat_setup_idle_display_res_req_struct;
4821 typedef struct
4822 {
4823 LOCAL_PARA_HDR
4824 kal_bool result;
4825 } mmi_sat_setup_idle_display_res_rsp_struct;
4826 typedef struct
4827 {
4828 LOCAL_PARA_HDR
4829 kal_uint8 cmd_detail[5];
4830 kal_uint8 is_icon_available;
4831 sat_icon_struct icon_info;
4832 kal_uint16 no_text_string;
4833 kal_uint8* text_string;
4834 kal_uint8 dcs_of_text_string;
4835 } mmi_sat_setup_idle_display_ind_struct;
4836 typedef struct
4837 {
4838 LOCAL_PARA_HDR
4839 kal_uint8 cmd_detail[5];
4840 kal_uint8 is_icon_available;
4841 sat_icon_struct icon_info;
4842 kal_uint8 no_alpha_id;
4843 kal_uint8* alpha_id;
4844 kal_uint8 is_alpha_id_present;
4845 kal_uint8 dcs_of_alpha_id;
4846 kal_uint8 no_at_command;
4847 kal_uint8* at_command;
4848 } mmi_sat_run_at_command_ind_struct;
4849 typedef struct
4850 {
4851 LOCAL_PARA_HDR
4852 kal_uint8 cmd_detail[5];
4853 kal_uint8 is_icon_available;
4854 sat_icon_struct icon_info;
4855 kal_uint8 no_alpha_id;
4856 kal_uint8* alpha_id;
4857 kal_uint8 is_alpha_id_present;
4858 kal_uint8 dcs_of_alpha_id;
4859 kal_uint8 no_dtmf;
4860 kal_uint8* dtmf;
4861 } mmi_sat_send_dtmf_ind_struct;
4862 typedef struct
4863 {
4864 LOCAL_PARA_HDR
4865 kal_uint8 dtmf_digit[MAX_CC_DTMF_BCD_LEN];
4866 kal_uint8 no_digit;
4867 } mmi_sat_send_dtmf_stage1_req_struct;
4868 typedef struct
4869 {
4870 LOCAL_PARA_HDR
4871 kal_uint8 terminal_res;
4872 kal_uint8 cause;
4873 } mmi_sat_send_dtmf_stage1_rsp_struct;
4874 typedef struct
4875 {
4876 LOCAL_PARA_HDR
4877 kal_uint8 cmd_detail[5];
4878 kal_uint8 res;
4879 kal_uint8 additional_info;
4880 } mmi_sat_send_dtmf_stage2_req_struct;
4881 typedef struct
4882 {
4883 LOCAL_PARA_HDR
4884 kal_bool result;
4885 } mmi_sat_send_dtmf_stage2_rsp_struct;
4886 typedef struct
4887 {
4888 LOCAL_PARA_HDR
4889 kal_bool result;
4890 } mmi_sat_abort_dtmf_rsp_struct;
4891 typedef struct
4892 {
4893 LOCAL_PARA_HDR
4894 kal_uint8 cmd_detail[5];
4895 kal_uint8 res;
4896 } mmi_sat_lang_notify_res_req_struct;
4897 typedef struct
4898 {
4899 LOCAL_PARA_HDR
4900 kal_bool result;
4901 } mmi_sat_lang_notify_res_rsp_struct;
4902 typedef struct
4903 {
4904 LOCAL_PARA_HDR
4905 kal_uint8 cmd_detail[5];
4906 kal_uint8 is_language_specified;
4907 kal_uint8 iso639_language[2];
4908 } mmi_sat_lang_notify_ind_struct;
4909 typedef struct
4910 {
4911 LOCAL_PARA_HDR
4912 kal_uint8 cmd_detail[5];
4913 kal_uint8 res;
4914 kal_uint8 additional_res;
4915 } mmi_sat_launch_browser_res_req_struct;
4916 typedef struct
4917 {
4918 LOCAL_PARA_HDR
4919 kal_bool result;
4920 } mmi_sat_launch_browser_res_rsp_struct;
4921 typedef struct
4922 {
4923 LOCAL_PARA_HDR
4924 kal_uint8 cmd_detail[5];
4925 kal_uint8 is_icon_available;
4926 sat_icon_struct icon_info;
4927 kal_uint8 browser_mode;
4928 kal_uint8 browser_identity;
4929 kal_uint8 provision_file_id[10];
4930 kal_uint8 no_alpha_id;
4931 kal_uint8* alpha_id;
4932 kal_uint8 is_alpha_id_present;
4933 kal_uint8 dcs_of_alpha_id;
4934 kal_uint8 no_url;
4935 kal_uint8* url;
4936 kal_uint8 no_bearer;
4937 kal_uint8* bearer;
4938 kal_uint16 no_gateway;
4939 kal_uint8* gateway;
4940 kal_uint8 dcs_of_gateway;
4941 } mmi_sat_launch_browser_ind_struct;
4942 typedef struct
4943 {
4944 LOCAL_PARA_HDR
4945 kal_uint8 is_full_changed;
4946 kal_uint8 refresh_type;
4947 kal_uint8 num_of_file;
4948 kal_uint16 file_list[120];
4949 } mmi_sat_sim_file_change_ind_struct;
4950 typedef struct
4951 {
4952 LOCAL_PARA_HDR
4953 kal_uint8 event_list[3];
4954 sat_procomm_struct proactive_cmd;
4955 } mmi_sat_setup_event_list_ind_struct;
4956 typedef struct
4957 {
4958 LOCAL_PARA_HDR
4959 kal_uint8 lang[2];
4960 } mmi_sat_provide_lang_info_req_struct;
4961 typedef struct
4962 {
4963 LOCAL_PARA_HDR
4964 kal_uint8 is_successful;
4965 } mmi_sat_file_change_res_req_struct;
4966 typedef struct
4967 {
4968 LOCAL_PARA_HDR
4969 kal_uint8 length;
4970 kal_uint8 envelope_data[255];
4971 } mmi_sat_envelope_req_struct;
4972 typedef struct
4973 {
4974 LOCAL_PARA_HDR
4975 kal_uint16 sim_result;
4976 kal_uint16 length;
4977 kal_uint8 envelope_rsp[256];
4978 } mmi_sat_envelope_rsp_struct;
4979 typedef struct
4980 {
4981 LOCAL_PARA_HDR
4982 kal_uint8 length;
4983 kal_uint8 terminal_rsp[255];
4984 } mmi_sat_terminal_response_req_struct;
4985 typedef struct
4986 {
4987 LOCAL_PARA_HDR
4988 kal_bool result;
4989 } mmi_sat_terminal_response_rsp_struct;
4990#endif /* defined(__SAT__) */
4991/* STK_CE */
4992#if defined(__SATCE__)
4993 typedef struct
4994 {
4995 LOCAL_PARA_HDR
4996 kal_uint8 cmd_detail[5];
4997 kal_bool is_icon_available;
4998 sat_icon_struct icon_info;
4999 kal_uint8 bearer_type;
5000 kal_uint8 no_alpha_id;
5001 kal_uint8* alpha_id;
5002 kal_uint8 is_alpha_id_present;
5003 kal_uint8 dcs_of_alpha_id;
5004 } mmi_sat_open_channel_ind_struct;
5005 typedef struct
5006 {
5007 LOCAL_PARA_HDR
5008 kal_uint8 cmd_detail[5];
5009 kal_uint8 res;
5010 kal_uint8 additional_info;
5011 } mmi_sat_open_channel_req_struct;
5012 typedef struct
5013 {
5014 LOCAL_PARA_HDR
5015 kal_uint8 terminal_res;
5016 } mmi_sat_open_channel_rsp_struct;
5017 typedef struct
5018 {
5019 LOCAL_PARA_HDR
5020 kal_uint8 cmd_detail[5];
5021 kal_bool is_icon_available;
5022 sat_icon_struct icon_info;
5023 kal_uint8 no_alpha_id;
5024 kal_uint8* alpha_id;
5025 kal_uint8 is_alpha_id_present;
5026 kal_uint8 dcs_of_alpha_id;
5027 } mmi_sat_close_channel_ind_struct;
5028 typedef struct
5029 {
5030 LOCAL_PARA_HDR
5031 kal_uint8 cmd_detail[5];
5032 kal_uint8 res;
5033 } mmi_sat_close_channel_req_struct;
5034 typedef struct
5035 {
5036 LOCAL_PARA_HDR
5037 kal_uint8 terminal_res;
5038 } mmi_sat_close_channel_rsp_struct;
5039 typedef struct
5040 {
5041 LOCAL_PARA_HDR
5042 kal_uint8 cmd_detail[5];
5043 kal_bool is_icon_available;
5044 sat_icon_struct icon_info;
5045 kal_uint8 no_alpha_id;
5046 kal_uint8* alpha_id;
5047 kal_uint8 is_alpha_id_present;
5048 kal_uint8 dcs_of_alpha_id;
5049 } mmi_sat_send_data_ind_struct;
5050 typedef struct
5051 {
5052 LOCAL_PARA_HDR
5053 kal_uint8 cmd_detail[5];
5054 kal_uint8 res;
5055 } mmi_sat_send_data_req_struct;
5056 typedef struct
5057 {
5058 LOCAL_PARA_HDR
5059 kal_uint8 cmd_detail[5];
5060 kal_uint8 terminal_res;
5061 kal_uint8 cause;
5062 } mmi_sat_send_data_rsp_struct;
5063 typedef struct
5064 {
5065 LOCAL_PARA_HDR
5066 kal_uint8 cmd_detail[5];
5067 kal_bool is_icon_available;
5068 sat_icon_struct icon_info;
5069 kal_uint8 no_alpha_id;
5070 kal_uint8* alpha_id;
5071 kal_uint8 is_alpha_id_present;
5072 kal_uint8 dcs_of_alpha_id;
5073 } mmi_sat_recv_data_ind_struct;
5074 typedef struct
5075 {
5076 LOCAL_PARA_HDR
5077 kal_uint8 cmd_detail[5];
5078 kal_uint8 res;
5079 } mmi_sat_recv_data_req_struct;
5080 typedef struct
5081 {
5082 LOCAL_PARA_HDR
5083 kal_uint8 cmd_detail[5];
5084 kal_uint8 terminal_res;
5085 kal_uint8 cause;
5086 } mmi_sat_recv_data_rsp_struct;
5087 typedef struct
5088 {
5089 LOCAL_PARA_HDR
5090 kal_uint8 state;
5091 } mmi_sat_notify_mmi_ind_struct;
5092 typedef struct
5093 {
5094 LOCAL_PARA_HDR
5095 kal_uint8 cmd_detail[5];
5096 kal_bool is_icon_available;
5097 sat_icon_struct icon_info;
5098 kal_uint8 bearer;
5099 sat_gprs_bearer_para_struct gprs_bearer;
5100 sat_csd_bearer_para_struct csd_bearer;
5101 kal_uint16 buffer_size;
5102 kal_uint8 size_of_address;
5103 kal_uint8 addr[MAX_SIM_ADDR_BCD_LEN];
5104 kal_uint8 size_of_subaddr;
5105 kal_uint8 subaddr[MAX_SIM_ADDR_BCD_LEN];
5106 kal_uint32 duration1;
5107 kal_uint32 duration2;
5108 kal_uint16 no_username;
5109 kal_uint8 username[16];
5110 kal_uint8 dcs_of_username;
5111 kal_uint16 no_passwd;
5112 kal_uint8 passwd[16];
5113 kal_uint8 dcs_of_passwd;
5114 kal_uint8 protocol_type;
5115 kal_uint16 port_num;
5116 kal_int16 no_local_addr;
5117 kal_uint8 local_addr[16];
5118 kal_int16 no_dest_addr;
5119 kal_uint8 dest_addr[16];
5120 kal_uint8 dns[4];
5121 kal_uint8 apn[50];
5122 kal_uint8 apn_length;
5123 kal_uint8 no_alpha_id;
5124 kal_uint8* alpha_id;
5125 kal_uint8 is_alpha_id_present;
5126 kal_uint8 dcs_of_alpha_id;
5127 } mmi_rsat_open_channel_ind_struct;
5128 typedef struct
5129 {
5130 LOCAL_PARA_HDR
5131 kal_uint8 cmd_detail[5];
5132 kal_uint8 ch_id;
5133 kal_bool is_icon_available;
5134 sat_icon_struct icon_info;
5135 kal_uint8 no_alpha_id;
5136 kal_uint8* alpha_id;
5137 kal_uint8 is_alpha_id_present;
5138 kal_uint8 dcs_of_alpha_id;
5139 } mmi_rsat_close_channel_ind_struct;
5140 typedef struct
5141 {
5142 LOCAL_PARA_HDR
5143 kal_uint8 cmd_detail[5];
5144 kal_uint8 ch_id;
5145 kal_uint8 ch_type;
5146 kal_bool is_icon_available;
5147 sat_icon_struct icon_info;
5148 kal_uint8 data_size;
5149 kal_uint8 no_alpha_id;
5150 kal_uint8* alpha_id;
5151 kal_uint8 is_alpha_id_present;
5152 kal_uint8 dcs_of_alpha_id;
5153 kal_uint8 no_data;
5154 kal_uint8* data;
5155 } mmi_rsat_send_data_ind_struct;
5156 typedef struct
5157 {
5158 LOCAL_PARA_HDR
5159 kal_uint8 cmd_detail[5];
5160 kal_uint8 ch_id;
5161 kal_uint8 ch_type;
5162 kal_bool is_icon_available;
5163 sat_icon_struct icon_info;
5164 kal_uint8 ch_data_length;
5165 kal_uint8 no_alpha_id;
5166 kal_uint8* alpha_id;
5167 kal_uint8 is_alpha_id_present;
5168 kal_uint8 dcs_of_alpha_id;
5169 } mmi_rsat_recv_data_ind_struct;
5170 typedef struct
5171 {
5172 LOCAL_PARA_HDR
5173 kal_uint8 cmd_detail[5];
5174 kal_uint8 ch_id;
5175 } mmi_rsat_ch_status_ind_struct;
5176 typedef struct
5177 {
5178 LOCAL_PARA_HDR
5179 kal_uint8 channel_status[2];
5180 kal_uint8 channel_data_length;
5181 } mmi_rsat_evdl_data_available_req_struct;
5182 typedef struct
5183 {
5184 LOCAL_PARA_HDR
5185 kal_bool result;
5186 } mmi_rsat_evdl_data_available_rsp_struct;
5187 typedef struct
5188 {
5189 LOCAL_PARA_HDR
5190 kal_uint8 channel_status[2];
5191 } mmi_rsat_evdl_channel_status_req_struct;
5192 typedef struct
5193 {
5194 LOCAL_PARA_HDR
5195 kal_bool result;
5196 } mmi_rsat_evdl_channel_status_rsp_struct;
5197 typedef struct
5198 {
5199 LOCAL_PARA_HDR
5200 kal_uint8 cmd_detail[5];
5201 kal_uint8 res;
5202 kal_uint8 cause;
5203 kal_uint8 ch_status[2];
5204 kal_uint8 bearer;
5205 sat_gprs_bearer_para_struct bearer_para;
5206 kal_uint16 buffer_size;
5207 } mmi_rsat_open_gprs_channel_res_req_struct;
5208 typedef struct
5209 {
5210 LOCAL_PARA_HDR
5211 kal_bool result;
5212 } mmi_rsat_open_gprs_channel_res_rsp_struct;
5213 typedef struct
5214 {
5215 LOCAL_PARA_HDR
5216 kal_uint8 cmd_detail[5];
5217 kal_uint8 res;
5218 kal_uint8 cause;
5219 kal_uint8 ch_status[2];
5220 kal_uint8 bearer;
5221 sat_csd_bearer_para_struct bearer_para;
5222 kal_uint16 buffer_size;
5223 } mmi_rsat_open_csd_channel_res_req_struct;
5224 typedef struct
5225 {
5226 LOCAL_PARA_HDR
5227 kal_bool result;
5228 } mmi_rsat_open_csd_channel_res_rsp_struct;
5229 typedef struct
5230 {
5231 LOCAL_PARA_HDR
5232 kal_uint8 cmd_detail[5];
5233 kal_uint8 res;
5234 kal_uint8 cause;
5235 kal_uint8 ch_status[2];
5236 kal_uint8 bearer;
5237 kal_uint16 buffer_size;
5238 } mmi_rsat_open_server_mode_channel_res_req_struct;
5239 typedef struct
5240 {
5241 LOCAL_PARA_HDR
5242 kal_bool result;
5243 } mmi_rsat_open_server_mode_channel_res_rsp_struct;
5244 typedef struct
5245 {
5246 LOCAL_PARA_HDR
5247 kal_uint8 cmd_detail[5];
5248 kal_uint8 res;
5249 kal_uint8 cause;
5250 } mmi_rsat_close_channel_res_req_struct;
5251 typedef struct
5252 {
5253 LOCAL_PARA_HDR
5254 kal_bool result;
5255 } mmi_rsat_close_channel_res_rsp_struct;
5256 typedef struct
5257 {
5258 LOCAL_PARA_HDR
5259 kal_uint8 cmd_detail[5];
5260 kal_uint8 ch_type;
5261 kal_uint8 res;
5262 kal_uint8 cause;
5263 kal_uint8 ch_data_length;
5264 } mmi_rsat_send_data_res_req_struct;
5265 typedef struct
5266 {
5267 LOCAL_PARA_HDR
5268 kal_bool result;
5269 } mmi_rsat_send_data_res_rsp_struct;
5270 typedef struct
5271 {
5272 LOCAL_PARA_HDR
5273 kal_uint8 cmd_detail[5];
5274 kal_uint8 ch_type;
5275 kal_uint8 res;
5276 kal_uint8 cause;
5277 kal_uint8 ch_data_length;
5278 kal_uint8 no_data;
5279 kal_uint8* data;
5280 } mmi_rsat_recv_data_res_req_struct;
5281 typedef struct
5282 {
5283 LOCAL_PARA_HDR
5284 kal_bool result;
5285 } mmi_rsat_recv_data_res_rsp_struct;
5286 typedef struct
5287 {
5288 LOCAL_PARA_HDR
5289 kal_uint8 cmd_detail[5];
5290 kal_uint8 res;
5291 kal_uint8 cause;
5292 kal_uint8 channel_status[2];
5293 } mmi_rsat_ch_status_res_req_struct;
5294 typedef struct
5295 {
5296 LOCAL_PARA_HDR
5297 kal_bool result;
5298 } mmi_rsat_ch_status_res_rsp_struct;
5299#endif /* defined(__SATCE__) */
5300 typedef struct
5301 {
5302 LOCAL_PARA_HDR
5303 kal_uint16 sn;
5304 kal_uint16 mi;
5305 kal_uint8 dcs;
5306 kal_uint8 page;
5307 kal_uint8 pages;
5308 kal_uint16 msg_length;
5309 kal_uint8 msg_data[1];
5310 } mmi_cb_msg_ind_struct;
5311 typedef struct
5312 {
5313 LOCAL_PARA_HDR
5314 kal_uint8 on_off;
5315 } mmi_cb_subscribe_req_struct;
5316 typedef struct
5317 {
5318 LOCAL_PARA_HDR
5319 kal_bool result;
5320 } mmi_cb_subscribe_rsp_struct;
5321 typedef struct
5322 {
5323 LOCAL_PARA_HDR
5324 l4c_cb_info_struct info;
5325 } mmi_sms_set_cb_mode_req_struct;
5326 typedef struct
5327 {
5328 LOCAL_PARA_HDR
5329 kal_bool result;
5330 kal_uint16 cause;
5331 } mmi_sms_set_cb_mode_rsp_struct;
5332 typedef struct
5333 {
5334 LOCAL_PARA_HDR
5335 kal_bool result;
5336 kal_uint8 mode;
5337 kal_uint8 total_mid_num;
5338 kal_uint8 total_mir_num;
5339 kal_uint8 total_dcs_num;
5340 l4c_cb_info_struct info;
5341 } mmi_sms_get_cb_mode_rsp_struct;
5342/* Engineer Mode */
5343#if defined(__EM_MODE__)
5344 typedef struct
5345 {
5346 LOCAL_PARA_HDR
5347 kal_uint8 mod_id;
5348 kal_uint32 em_info;
5349 peer_buff_struct* info;
5350 } mmi_em_status_ind_struct;
5351 typedef struct
5352 {
5353 LOCAL_PARA_HDR
5354 kal_uint8 info_request[EM_INFO_REQ_NUM];
5355 } mmi_em_update_req_struct;
5356 typedef struct
5357 {
5358 LOCAL_PARA_HDR
5359 kal_bool result;
5360 kal_uint8 cause;
5361 } mmi_em_update_rsp_struct;
5362 typedef struct
5363 {
5364 LOCAL_PARA_HDR
5365 vt_em_config_struct em_config;
5366 } mmi_vt_em_get_config_rsp_struct;
5367 typedef struct
5368 {
5369 LOCAL_PARA_HDR
5370 vt_em_config_struct em_config;
5371 } mmi_vt_em_set_config_req_struct;
5372#endif /* defined(__EM_MODE__) */
5373 typedef struct
5374 {
5375 LOCAL_PARA_HDR
5376 kal_uint8 keypad_status;
5377 kal_uint8 keypad_code;
5378 kal_uint32 time_stamp;
5379 } mmi_em_keypad_event_output_req_struct;
5380 typedef struct
5381 {
5382 LOCAL_PARA_HDR
5383 kal_bool result;
5384 } mmi_em_keypad_event_output_rsp_struct;
5385 typedef struct
5386 {
5387 LOCAL_PARA_HDR
5388 kal_uint8 color;
5389 } mmi_em_lcm_test_ind_struct;
5390 typedef struct
5391 {
5392 LOCAL_PARA_HDR
5393 kal_bool on_off;
5394 } mmi_em_keypad_event_act_ind_struct;
5395 typedef struct
5396 {
5397 LOCAL_PARA_HDR
5398 kal_bool on_off;
5399 } mmi_factory_test_ind_struct;
5400 typedef struct
5401 {
5402 LOCAL_PARA_HDR
5403 kal_uint8 op;
5404 kal_uint8 category;
5405 kal_uint8 param1;
5406 kal_uint8 param2;
5407 kal_uint8 param3;
5408 kal_uint8 param4[10];
5409 } mmi_set_mmi_default_prof_ind_struct;
5410 typedef struct
5411 {
5412 LOCAL_PARA_HDR
5413 kal_uint8 status;
5414 } mmi_em_cell_resel_suspend_req_struct;
5415 typedef struct
5416 {
5417 LOCAL_PARA_HDR
5418 kal_bool result;
5419 kal_uint8 cause;
5420 } mmi_em_cell_resel_suspend_rsp_struct;
5421 typedef struct
5422 {
5423 LOCAL_PARA_HDR
5424 kal_bool result;
5425 kal_uint8 cause;
5426 } mmi_em_cell_resel_resume_rsp_struct;
5427 typedef struct
5428 {
5429 LOCAL_PARA_HDR
5430 kal_bool result;
5431 kal_bool turn_on_or_off;
5432 kal_bool band_indicator;
5433 kal_uint16 lock_arfcn;
5434 } mmi_em_get_cell_lock_rsp_struct;
5435 typedef struct
5436 {
5437 LOCAL_PARA_HDR
5438 kal_bool turn_on_or_off;
5439 kal_bool band_indicator;
5440 kal_uint16 lock_arfcn;
5441 } mmi_em_set_cell_lock_req_struct;
5442 typedef struct
5443 {
5444 LOCAL_PARA_HDR
5445 kal_bool result;
5446 } mmi_em_set_cell_lock_rsp_struct;
5447 typedef struct
5448 {
5449 LOCAL_PARA_HDR
5450 kal_bool result;
5451 kal_uint32 enabled_bitmap;
5452 kal_bool band_indicator;
5453 kal_uint16 lock_arfcn[MAX_NUM_CELL_LOCK_ARFCN];
5454 } mmi_em_ext_get_cell_lock_rsp_struct;
5455 typedef struct
5456 {
5457 LOCAL_PARA_HDR
5458 kal_uint32 enabled_bitmap;
5459 kal_bool band_indicator;
5460 kal_uint16 lock_arfcn[MAX_NUM_CELL_LOCK_ARFCN];
5461 } mmi_em_ext_set_cell_lock_req_struct;
5462 typedef struct
5463 {
5464 LOCAL_PARA_HDR
5465 kal_bool result;
5466 } mmi_em_ext_set_cell_lock_rsp_struct;
5467 typedef struct
5468 {
5469 LOCAL_PARA_HDR
5470 kal_uint8 type;
5471 kal_uint16 red;
5472 kal_uint16 green;
5473 kal_uint16 blue;
5474 } mmi_em_rgb_test_req_ind_struct;
5475 typedef struct
5476 {
5477 LOCAL_PARA_HDR
5478 kal_uint8 lcd_test_mode;
5479 } mmi_em_lcd_test_req_ind_struct;
5480 typedef struct
5481 {
5482 LOCAL_PARA_HDR
5483 kal_bool is_on;
5484 kal_uint8 num_of_mod;
5485 module_type mod_list[20];
5486 } mmi_em_nw_event_notify_req_struct;
5487 typedef struct
5488 {
5489 LOCAL_PARA_HDR
5490 kal_bool result;
5491 } mmi_em_nw_event_notify_rsp_struct;
5492 typedef struct
5493 {
5494 LOCAL_PARA_HDR
5495 kal_uint8 group_id;
5496 kal_uint32 event_id;
5497 } mmi_em_nw_event_notify_ind_struct;
5498 typedef struct
5499 {
5500 LOCAL_PARA_HDR
5501 kal_uint8 em_feature;
5502 kal_uint8 em_feature_state;
5503 } mmi_em_feature_command_req_struct;
5504 typedef struct
5505 {
5506 LOCAL_PARA_HDR
5507 kal_bool result;
5508 kal_uint8 em_feature;
5509 } mmi_em_feature_command_rsp_struct;
5510 typedef struct
5511 {
5512 LOCAL_PARA_HDR
5513 kal_bool result;
5514 kal_uint8 conf_test_mode;
5515 kal_uint32 test_profile;
5516 } mmi_em_get_conform_test_param_rsp_struct;
5517 typedef struct
5518 {
5519 LOCAL_PARA_HDR
5520 kal_uint8 conf_test_mode;
5521 kal_uint32 test_profile;
5522 } mmi_em_set_conform_test_param_req_struct;
5523 typedef struct
5524 {
5525 LOCAL_PARA_HDR
5526 kal_int8 result;
5527 } mmi_em_set_conform_test_param_rsp_struct;
5528 typedef struct
5529 {
5530 LOCAL_PARA_HDR
5531 kal_bool result;
5532 kal_uint8 test_count;
5533 kal_uint8 test_list[L4C_EM_QUICK_TEST_MAX_COUNT];
5534 } mmi_em_quick_test_report_res_req_struct;
5535 typedef struct
5536 {
5537 LOCAL_PARA_HDR
5538 kal_uint8 action;
5539 kal_uint8 line_num;
5540 } mmi_cphs_display_cfu_ind_struct;
5541 typedef struct
5542 {
5543 LOCAL_PARA_HDR
5544 kal_uint8 is_spn_valid;
5545 kal_uint8 is_spn_RPLMN_required;
5546 kal_uint8 spn[LEN_OF_SPN];
5547 kal_uint8 is_opname_valid;
5548 kal_uint8 opname[21];
5549 kal_uint8 is_sopname_valid;
5550 kal_uint8 sopname[11];
5551 kal_uint8 no_msisdn;
5552 l4csmu_addr_struct msisdn[2];
5553 kal_uint8 no_info_num;
5554 l4csmu_info_num_struct info_num[20];
5555 kal_uint8 is_valid_csp;
5556 kal_uint8 csp[22];
5557 kal_uint8 is_puct_valid;
5558 kal_uint8 ef_puct[5];
5559 kal_uint8 is_autolock_enable;
5560 kal_uint8 autolock_result;
5561 kal_uint8 autolock_remain;
5562 kal_bool is_valid_ef_acting_hplmn;
5563 kal_uint8 ef_acting_hplmn[3];
5564 kal_uint8 imsi[17];
5565 kal_uint8 digits_of_mnc;
5566 kal_bool is_usim;
5567 kal_bool is_valid_ef_ehplmn;
5568 kal_uint8 num_of_ehplmn;
5569 kal_uint8 ef_ehplmn[12];
5570 } mmi_cphs_mmi_info_ind_struct;
5571 typedef struct
5572 {
5573 LOCAL_PARA_HDR
5574 kal_uint8 line_id;
5575 } mmi_cphs_update_als_req_struct;
5576 typedef struct
5577 {
5578 LOCAL_PARA_HDR
5579 kal_uint8 res;
5580 kal_uint16 cause;
5581 } mmi_cphs_update_als_rsp_struct;
5582 typedef struct
5583 {
5584 LOCAL_PARA_HDR
5585 kal_uint8 line;
5586 } mmi_cphs_display_als_ind_struct;
5587/* IrDA */
5588#if defined(__IRDA_SUPPORT__)
5589 typedef struct
5590 {
5591 LOCAL_PARA_HDR
5592 kal_uint16 wait_duration;
5593 } mmi_eq_irda_open_req_struct;
5594 typedef struct
5595 {
5596 LOCAL_PARA_HDR
5597 kal_bool result;
5598 } mmi_eq_irda_open_rsp_struct;
5599 typedef struct
5600 {
5601 LOCAL_PARA_HDR
5602 kal_bool result;
5603 } mmi_eq_irda_close_rsp_struct;
5604#endif /* defined(__IRDA_SUPPORT__) */
5605/* USB */
5606 typedef struct
5607 {
5608 LOCAL_PARA_HDR
5609 kal_uint8 folderId;
5610 kal_uint8 retrievalMode;
5611 } wap_mmc_read_folder_status_req_ind_struct;
5612 typedef struct
5613 {
5614 LOCAL_PARA_HDR
5615 kal_uint8 result;
5616 kal_uint32 numOfMsg;
5617 kal_uint32 numOfUnreadMsg;
5618 kal_uint8 mmsHomeDirectory[100];
5619 kal_uint8 infoFilePath[100];
5620 } wap_mmc_read_folder_status_output_req_struct;
5621 typedef struct
5622 {
5623 LOCAL_PARA_HDR
5624 kal_uint8 filePath[100];
5625 } wap_mmc_upload_msg_req_ind_struct;
5626 typedef struct
5627 {
5628 LOCAL_PARA_HDR
5629 kal_uint8 result;
5630 kal_uint32 msgId;
5631 kal_uint8 storage;
5632 } wap_mmc_upload_msg_output_req_struct;
5633 typedef struct
5634 {
5635 LOCAL_PARA_HDR
5636 kal_uint32 msgId;
5637 kal_uint8 folderId;
5638 } wap_mmc_delete_msg_req_ind_struct;
5639 typedef struct
5640 {
5641 LOCAL_PARA_HDR
5642 kal_uint8 result;
5643 } wap_mmc_delete_msg_output_req_struct;
5644 typedef struct
5645 {
5646 LOCAL_PARA_HDR
5647 kal_uint32 msgId;
5648 } wap_mmc_read_msg_path_ind_struct;
5649 typedef struct
5650 {
5651 LOCAL_PARA_HDR
5652 kal_uint8 result;
5653 kal_uint32 msgId;
5654 kal_uint8 path[100];
5655 } wap_mmc_read_msg_path_res_req_struct;
5656 typedef struct
5657 {
5658 LOCAL_PARA_HDR
5659 kal_bool mode;
5660 kal_uint8 dcs;
5661 kal_uint8 text[UEM_GREETING_LEN];
5662 kal_uint8 length;
5663 } mmi_eq_query_greeting_text_res_req_struct;
5664 typedef struct
5665 {
5666 LOCAL_PARA_HDR
5667 kal_uint8 lang_code;
5668 } mmi_eq_query_language_res_req_struct;
5669 typedef struct
5670 {
5671 LOCAL_PARA_HDR
5672 kal_bool mode;
5673 } mmi_eq_query_silent_mode_res_req_struct;
5674 typedef struct
5675 {
5676 LOCAL_PARA_HDR
5677 kal_bool mode;
5678 } mmi_eq_query_vibrator_mode_res_req_struct;
5679 typedef struct
5680 {
5681 LOCAL_PARA_HDR
5682 kal_bool is_date;
5683 } mmi_eq_query_date_time_format_req_ind_struct;
5684 typedef struct
5685 {
5686 LOCAL_PARA_HDR
5687 kal_bool is_date;
5688 kal_uint8 mode;
5689 } mmi_eq_query_date_time_format_res_req_struct;
5690 typedef struct
5691 {
5692 LOCAL_PARA_HDR
5693 kal_bool mode;
5694 } mmi_eq_query_mute_mode_res_req_struct;
5695 typedef struct
5696 {
5697 LOCAL_PARA_HDR
5698 kal_uint8 poweroff;
5699 kal_uint8 poweron;
5700 kal_uint8 rtc_timer;
5701 } mmi_power_reset_ind_struct;
5702 typedef struct
5703 {
5704 LOCAL_PARA_HDR
5705 kal_bool result;
5706 kal_uint8 string[80];
5707 } mmi_at_general_res_req_struct;
5708 typedef struct
5709 {
5710 LOCAL_PARA_HDR
5711 kal_uint8 pwd[16];
5712 } mmi_factory_restore_req_ind_struct;
5713 typedef struct
5714 {
5715 LOCAL_PARA_HDR
5716 kal_uint8 src_id;
5717 kal_uint8 mode;
5718 kal_uint16 index;
5719 kal_uint8 file_path[50];
5720 } mmi_eq_vcard_req_ind_struct;
5721 typedef struct
5722 {
5723 LOCAL_PARA_HDR
5724 kal_uint8 mode;
5725 kal_bool result;
5726 kal_uint8 file_path[50];
5727 } mmi_eq_vcard_res_req_struct;
5728 typedef struct
5729 {
5730 LOCAL_PARA_HDR
5731 kal_uint8 mode;
5732 kal_uint16 vcal_type;
5733 kal_uint16 index;
5734 kal_uint8 file_path[50];
5735 } mmi_eq_vcalendar_req_ind_struct;
5736 typedef struct
5737 {
5738 LOCAL_PARA_HDR
5739 kal_uint8 mode;
5740 kal_bool result;
5741 kal_uint8 cause;
5742 kal_uint8 total;
5743 kal_uint8 used;
5744 kal_uint8 index;
5745 kal_uint8 file_path[50];
5746 } mmi_eq_vcalendar_res_req_struct;
5747 typedef struct
5748 {
5749 LOCAL_PARA_HDR
5750 kal_bool enable;
5751 } mmi_eq_str_enable_req_ind_struct;
5752 typedef struct
5753 {
5754 LOCAL_PARA_HDR
5755 kal_uint16 length;
5756 kal_uint8 data_string[250];
5757 } mmi_eq_str_req_ind_struct;
5758 typedef struct
5759 {
5760 LOCAL_PARA_HDR
5761 kal_uint16 length;
5762 kal_uint8 data_string[250];
5763 } mmi_eq_str_res_req_struct;
5764 typedef struct
5765 {
5766 LOCAL_PARA_HDR
5767 kal_uint8 action;
5768 kal_uint8 source_id;
5769 kal_bool cmd_from_bt;
5770 kal_uint8 length;
5771 kal_uint8 number[50];
5772 kal_uint8 opcode;
5773 kal_uint8 call_id;
5774 } mmi_ucm_at_req_ind_struct;
5775 typedef struct
5776 {
5777 LOCAL_PARA_HDR
5778 kal_uint8 source_id;
5779 kal_uint8 result;
5780 kal_uint8 cause;
5781 } mmi_ucm_at_res_req_struct;
5782 typedef struct
5783 {
5784 LOCAL_PARA_HDR
5785 kal_uint8 source_id;
5786 kal_uint8 type;
5787 kal_uint8 call_id;
5788 kal_uint8 call_type;
5789 l4c_number_struct number;
5790 } mmi_ucm_general_rcode_req_struct;
5791 typedef struct
5792 {
5793 LOCAL_PARA_HDR
5794 kal_uint8 ind_type;
5795 kal_uint8 event;
5796 } mmi_ucm_hf_ciev_rcode_req_struct;
5797 typedef struct
5798 {
5799 LOCAL_PARA_HDR
5800 kal_uint8 mode;
5801 kal_uint8 style;
5802 kal_uint8 volume;
5803 kal_uint8 out_path;
5804 kal_uint16 sound_id;
5805 } mmi_eq_ringtone_play_req_ind_struct;
5806 typedef struct
5807 {
5808 LOCAL_PARA_HDR
5809 kal_bool result;
5810 kal_uint8 cause;
5811 } mmi_eq_ringtone_play_res_req_struct;
5812 typedef struct
5813 {
5814 LOCAL_PARA_HDR
5815 kal_bool is_force;
5816 kal_wchar* jad_file_name;
5817 kal_wchar* jar_file_name;
5818 } mmi_java_local_install_req_ind_struct;
5819 typedef struct
5820 {
5821 LOCAL_PARA_HDR
5822 kal_uint32 error_code;
5823 } mmi_java_local_install_res_req_struct;
5824/* Bluetooth */
5825#if defined(__BT_SUPPORT__)
5826 typedef struct
5827 {
5828 LOCAL_PARA_HDR
5829 kal_uint8 name[32];
5830 kal_uint8 bd_addr[6];
5831 kal_uint8 dcs;
5832 } mmi_l4_bt_fcty_set_param_ind_struct;
5833 typedef struct
5834 {
5835 LOCAL_PARA_HDR
5836 kal_uint8 bd_addr[6];
5837 kal_uint8 pin_code[17];
5838 } mmi_l4_bt_loopback_test_req_ind_struct;
5839 typedef struct
5840 {
5841 LOCAL_PARA_HDR
5842 kal_bool on_off;
5843 } mmi_l4_bt_set_vr_req_ind_struct;
5844 typedef struct
5845 {
5846 LOCAL_PARA_HDR
5847 kal_bool on_off;
5848 } mmi_l4_bt_set_vr_req_struct;
5849 typedef struct
5850 {
5851 LOCAL_PARA_HDR
5852 kal_bool result;
5853 } mmi_l4_bt_set_vr_rsp_struct;
5854#endif /* defined(__BT_SUPPORT__) */
5855/* HOMEZONE */
5856#if defined(__HOMEZONE_SUPPORT__)
5857 typedef struct
5858 {
5859 LOCAL_PARA_HDR
5860 kal_bool action;
5861 kal_bool is_hz;
5862 kal_uint8 tag[12];
5863 } mmi_hz_tag_ind_struct;
5864#endif /* defined(__HOMEZONE_SUPPORT__) */
5865/* CTM */
5866#if defined(__CTM_SUPPORT__)
5867 typedef struct
5868 {
5869 LOCAL_PARA_HDR
5870 kal_uint8 mode;
5871 } mmi_ctm_set_status_req_struct;
5872#endif /* defined(__CTM_SUPPORT__) */
5873/* VOIP */
5874#if defined(__VOIP__)
5875 typedef struct
5876 {
5877 LOCAL_PARA_HDR
5878 kal_uint8 result;
5879 kal_uint8 action;
5880 void* string_ptr;
5881 void* node_ptr;
5882 void* err_id;
5883 } mmi_voip_at_call_ctrl_approve_res_req_struct;
5884 typedef struct
5885 {
5886 LOCAL_PARA_HDR
5887 kal_bool result;
5888 } mmi_voip_at_call_ctrl_approve_res_rsp_struct;
5889 typedef struct
5890 {
5891 LOCAL_PARA_HDR
5892 kal_uint8 action;
5893 void* string_ptr;
5894 void* node_ptr;
5895 void* err_id;
5896 } mmi_voip_at_call_ctrl_approve_ind_struct;
5897#endif /* defined(__VOIP__) */
5898/* GEMINI */
5899#if defined(__GEMINI__)
5900 typedef struct
5901 {
5902 LOCAL_PARA_HDR
5903 kal_uint8 new_sim_config;
5904 } mmi_smu_sim_status_update_req_struct;
5905 typedef struct
5906 {
5907 LOCAL_PARA_HDR
5908 kal_uint8 sim_inserted_status;
5909 kal_uint8 dual_sim_mode_setting;
5910 } mmi_smu_sim_status_update_ind_struct;
5911 typedef struct
5912 {
5913 LOCAL_PARA_HDR
5914 kal_bool on_off;
5915 } mmi_nw_set_monitor_peer_pch_req_struct;
5916 typedef struct
5917 {
5918 LOCAL_PARA_HDR
5919 kal_bool result;
5920 kal_bool on_off;
5921 } mmi_nw_get_monitor_peer_pch_rsp_struct;
5922#endif /* defined(__GEMINI__) */
5923/* A-GPS Control Plane LCS Service */
5924#if defined(__AGPS_CONTROL_PLANE__)
5925 typedef struct
5926 {
5927 LOCAL_PARA_HDR
5928 L4C_SS_LocationNotificationArg notification;
5929 kal_uint8 ss_id;
5930 } mmi_ss_mtlr_begin_ind_struct;
5931 typedef struct
5932 {
5933 LOCAL_PARA_HDR
5934 L4C_SS_LocationNotificationRes response;
5935 kal_uint8 ss_id;
5936 } mmi_ss_mtlr_begin_res_req_struct;
5937 typedef struct
5938 {
5939 LOCAL_PARA_HDR
5940 kal_uint8 result;
5941 kal_uint8 ss_id;
5942 } mmi_ss_mtlr_begin_res_rsp_struct;
5943 typedef struct
5944 {
5945 LOCAL_PARA_HDR
5946 L4C_SS_LCS_AreaEventRequestArg aerq;
5947 kal_uint8 ss_id;
5948 } mmi_ss_aerq_begin_ind_struct;
5949 typedef struct
5950 {
5951 LOCAL_PARA_HDR
5952 kal_uint8 cause;
5953 kal_uint8 ss_id;
5954 } mmi_ss_aerq_begin_res_req_struct;
5955 typedef struct
5956 {
5957 LOCAL_PARA_HDR
5958 kal_uint8 result;
5959 kal_uint8 ss_id;
5960 } mmi_ss_aerq_begin_res_rsp_struct;
5961 typedef struct
5962 {
5963 LOCAL_PARA_HDR
5964 L4C_SS_LCS_AreaEventReportArg aerp;
5965 kal_uint8 ss_id;
5966 kal_uint8 is_initial;
5967 } mmi_ss_aerp_begin_req_struct;
5968 typedef struct
5969 {
5970 LOCAL_PARA_HDR
5971 kal_uint8 result;
5972 kal_uint16 cause;
5973 kal_uint8 ss_id;
5974 } mmi_ss_aerp_begin_rsp_struct;
5975 typedef struct
5976 {
5977 LOCAL_PARA_HDR
5978 kal_uint8 cause;
5979 kal_uint8 ss_id;
5980 } mmi_ss_aerp_end_req_struct;
5981 typedef struct
5982 {
5983 LOCAL_PARA_HDR
5984 kal_uint8 result;
5985 } mmi_ss_aerp_end_rsp_struct;
5986 typedef struct
5987 {
5988 LOCAL_PARA_HDR
5989 L4C_SS_LCS_AreaEventCancellationArg aecl;
5990 kal_uint8 ss_id;
5991 } mmi_ss_aecl_begin_ind_struct;
5992 typedef struct
5993 {
5994 LOCAL_PARA_HDR
5995 kal_uint8 cause;
5996 kal_uint8 ss_id;
5997 } mmi_ss_aecl_begin_res_req_struct;
5998 typedef struct
5999 {
6000 LOCAL_PARA_HDR
6001 kal_uint8 result;
6002 kal_uint8 ss_id;
6003 } mmi_ss_aecl_begin_res_rsp_struct;
6004 typedef struct
6005 {
6006 LOCAL_PARA_HDR
6007 L4C_SS_LCS_MOLRArg molr;
6008 kal_uint8 ss_id;
6009 kal_uint8 is_initial;
6010 } mmi_ss_molr_begin_req_struct;
6011 typedef struct
6012 {
6013 LOCAL_PARA_HDR
6014 kal_uint8 result;
6015 kal_uint16 cause;
6016 L4C_SS_LCS_MOLRRes molr_res;
6017 kal_uint8 ss_id;
6018 } mmi_ss_molr_begin_rsp_struct;
6019 typedef struct
6020 {
6021 LOCAL_PARA_HDR
6022 kal_uint8 cause;
6023 kal_uint8 ss_id;
6024 } mmi_ss_molr_end_req_struct;
6025 typedef struct
6026 {
6027 LOCAL_PARA_HDR
6028 kal_uint8 result;
6029 } mmi_ss_molr_end_rsp_struct;
6030 typedef struct
6031 {
6032 LOCAL_PARA_HDR
6033 kal_uint8 enable;
6034 } mmi_agps_enable_disable_req_struct;
6035 typedef struct
6036 {
6037 LOCAL_PARA_HDR
6038 kal_uint8 sib15_current_deciphering_key[7];
6039 kal_uint8 sib15_next_deciphering_key[7];
6040 kal_uint8 sib15_ciphering_key_flag;
6041 } mmi_agps_key_update_req_struct;
6042 typedef struct
6043 {
6044 LOCAL_PARA_HDR
6045 kal_uint8 is_abort_molr;
6046 } mmi_agps_cp_abort_req_struct;
6047#endif /* defined(__AGPS_CONTROL_PLANE__) */
6048 typedef struct
6049 {
6050 LOCAL_PARA_HDR
6051 kal_uint8 type;
6052 } mmi_eq_ram_usage_req_ind_struct;
6053 typedef struct
6054 {
6055 LOCAL_PARA_HDR
6056 kal_int8 result;
6057 kal_uint32 used;
6058 } mmi_eq_ram_usage_res_req_struct;
6059 typedef struct
6060 {
6061 LOCAL_PARA_HDR
6062 kal_uint8 type;
6063 kal_uint8 mids_idx;
6064 kal_uint16 midlet_idx;
6065 kal_uint8 mode;
6066 kal_uint16 appName[260];
6067 } mmi_eq_launch_app_req_ind_struct;
6068 typedef struct
6069 {
6070 LOCAL_PARA_HDR
6071 kal_int8 result;
6072 } mmi_eq_launch_app_res_req_struct;
6073 typedef struct
6074 {
6075 LOCAL_PARA_HDR
6076 kal_uint8 type;
6077 kal_uint8 op;
6078 } mmi_eq_app_info_output_req_ind_struct;
6079 typedef struct
6080 {
6081 LOCAL_PARA_HDR
6082 kal_uint8 type;
6083 kal_uint16 log[1000];
6084 } mmi_eq_app_info_output_res_req_struct;
6085 typedef struct
6086 {
6087 LOCAL_PARA_HDR
6088 kal_uint8 action;
6089 kal_uint16 x_coords;
6090 kal_uint16 y_coords;
6091 } mmi_eq_screen_touch_req_ind_struct;
6092 typedef struct
6093 {
6094 LOCAL_PARA_HDR
6095 kal_int8 result;
6096 } mmi_eq_screen_touch_res_req_struct;
6097 typedef struct
6098 {
6099 LOCAL_PARA_HDR
6100 kal_uint8 mode;
6101 kal_uint8 orient;
6102 } mmi_eq_scrnorient_req_ind_struct;
6103 typedef struct
6104 {
6105 LOCAL_PARA_HDR
6106 kal_int8 result;
6107 kal_uint8 mode;
6108 } mmi_eq_scrnorient_res_req_struct;
6109 typedef struct
6110 {
6111 LOCAL_PARA_HDR
6112 kal_int8 result;
6113 kal_uint16 max_x;
6114 kal_uint16 max_y;
6115 } mmi_eq_scrnsize_query_res_req_struct;
6116 typedef struct
6117 {
6118 LOCAL_PARA_HDR
6119 kal_uint8 tscrn;
6120 } mmi_eq_scrntch_event_act_ind_struct;
6121 typedef struct
6122 {
6123 LOCAL_PARA_HDR
6124 kal_uint8 action;
6125 kal_uint16 x_coords;
6126 kal_uint16 y_coords;
6127 } mmi_eq_scrntch_event_output_req_struct;
6128 typedef struct
6129 {
6130 LOCAL_PARA_HDR
6131 kal_uint8 op;
6132 } mmi_eq_screen_shot_req_ind_struct;
6133 typedef struct
6134 {
6135 LOCAL_PARA_HDR
6136 kal_int8 result;
6137 kal_uint8 op;
6138 kal_wchar file_path[30];
6139 } mmi_eq_screen_shot_res_req_struct;
6140 typedef struct
6141 {
6142 LOCAL_PARA_HDR
6143 kal_uint8 port;
6144 } mmi_eq_uart_transfer_ind_struct;
6145 typedef struct
6146 {
6147 LOCAL_PARA_HDR
6148 kal_uint8 port;
6149 } mmi_eq_uart_transfer_req_struct;
6150 typedef struct
6151 {
6152 LOCAL_PARA_HDR
6153 kal_bool result;
6154 } mmi_eq_uart_transfer_rsp_struct;
6155 typedef struct
6156 {
6157 LOCAL_PARA_HDR
6158 kal_uint8 port;
6159 } mmi_eq_uart_release_req_struct;
6160 typedef struct
6161 {
6162 LOCAL_PARA_HDR
6163 kal_bool result;
6164 } mmi_eq_uart_release_rsp_struct;
6165 typedef struct
6166 {
6167 LOCAL_PARA_HDR
6168 kal_uint8* melody;
6169 kal_uint32 len;
6170 kal_uint8 format;
6171 kal_uint8 play_style;
6172 kal_uint16 identifier;
6173 kal_uint32 start_offset;
6174 kal_uint32 end_offset;
6175 kal_uint8 volume;
6176 kal_uint8 output_path;
6177 kal_uint8 blocking;
6178 } mmi_eq_play_audio_stream_req_struct;
6179 typedef struct
6180 {
6181 LOCAL_PARA_HDR
6182 kal_bool result;
6183 kal_uint16 cause;
6184 } mmi_eq_play_audio_stream_rsp_struct;
6185 typedef struct
6186 {
6187 LOCAL_PARA_HDR
6188 kal_bool result;
6189 kal_uint16 cause;
6190 } mmi_eq_stop_audio_stream_rsp_struct;
6191 typedef struct
6192 {
6193 LOCAL_PARA_HDR
6194 kal_uint8 lcd_type;
6195 kal_uint8 lcd_contrast;
6196 } mmi_eq_lcd_set_contrast_req_struct;
6197 typedef struct
6198 {
6199 LOCAL_PARA_HDR
6200 kal_int32 result;
6201 } mmi_eq_lcd_set_contrast_rsp_struct;
6202
6203/* Below are NOT script generated code struct */
6204 typedef struct
6205 {
6206 LOCAL_PARA_HDR
6207 kal_uint16 scrnid;
6208#if defined(__COSMOS_MMI__) || defined(__MMI_VUI_LAUNCHER__)
6209 kal_char file[30];
6210#endif
6211 }mmi_inject_string_rsp_struct;
6212
6213 typedef struct
6214 {
6215 LOCAL_PARA_HDR
6216 kal_uint16 ec_data;
6217 } mmi_ecompass_msg_struct;
6218
6219 /* V33 BT test mode support */
6220 typedef struct
6221 {
6222 LOCAL_PARA_HDR
6223 kal_uint8 mode;
6224 kal_uint8 bd_addr[6];
6225 } bt_adv_test_mode_req_struct;
6226 typedef struct
6227 {
6228 LOCAL_PARA_HDR
6229 kal_bool result;
6230 kal_uint8 mode;
6231 kal_uint16 cause;
6232 } bt_adv_test_mode_cnf_struct;
6233
6234#endif