comparison src/g23m-aci/aci/psa_sat.h @ 162:53929b40109c

src/g23m-aci: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2016 02:02:43 +0000
parents
children
comparison
equal deleted inserted replaced
161:4557e2a9c18e 162:53929b40109c
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-PS (6147)
4 | Modul : PSA_SAT
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : Definitions for the protocol stack adapter
18 | SIM application toolkit ( SAT )
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifndef PSA_SAT_H
23 #define PSA_SAT_H
24
25 /*==== CONSTANTS ==================================================*/
26 #define MAX_SAT_CHANNEL 1 /* maximum number of channels available */
27
28 #define TPL_NONE 0 /* no transport layer */
29 #define TPL_DONT_CARE 0xFF
30
31 #define TIME_STAMP_LENGTH 7
32
33 typedef struct /* data buffer for unstructured SS data */
34 {
35 UBYTE *ussd_str;
36 UBYTE c_ussd_str;
37 UBYTE dcs;
38 } T_sat_ussd;
39
40 typedef enum
41 {
42 NO_CC_ACT = 0, /* no call control action */
43 CC_ACT_CAL, /* call control of setup parms */
44 CC_ACT_SS, /* call control of SS string */
45 CC_ACT_USSD, /* call control of USSD string */
46 SMC_ACT_MO /* MO Short Message control by SIM */
47 } T_CC_ACT;
48
49 typedef enum
50 {
51 NO_USR_NTF = 0, /* no user notification */
52 USR_NTF_CC_SIM, /* call control by SIM notification */
53 USR_NTF_SETUP_CAL, /* call setup notification */
54 USR_NTF_SEND_SS, /* send SS notification */
55 USR_NTF_SEND_USSD, /* send USSD notification */
56 USR_NTF_TRM_RSP /* terminal response notification */
57 } T_USR_NTF;
58
59 typedef enum
60 {
61 NO_VALID_SRQ = 0, /* not a valid SAT request id */
62 SRQ_ACI, /* SAT request by ACI */
63 SRQ_MMI /* SAT request by MMI */
64 } T_SAT_RQ_ID;
65
66 typedef enum
67 {
68 NO_VALID_CTX = 0, /* not a valid cap context */
69 CTX_CC_RESULT, /* cap context CC result */
70 CTX_SAT_SETUP /* cap context SAT call setup */
71 } T_SAT_CAP_CTX;
72
73 #define MAX_FU_OPS 16 /* maximum FILE UPDATE operations */
74
75 enum
76 {
77 SAT_FU_START = 0,
78 SAT_FU_SMS,
79 SAT_FU_PHB,
80 SAT_FU_MMI,
81 SAT_FU_STOP
82 };
83
84 #ifdef FF_SAT_E
85 typedef enum
86 {
87 OPCH_IDLE = 0, /* open channel status idle */
88 OPCH_CCSIM_REQ, /* open channel status CC by SIM request */
89 OPCH_WAIT_CNF, /* open channel status wait for confirmation */
90 OPCH_ON_DMND, /* open channel status on demand */
91 OPCH_EST_REQ, /* open channel establishment request */
92 OPCH_CLS_REQ, /* channel close request */
93 OPCH_EST, /* channel established */
94 OPCH_SUSP, /* channel suspended */
95 OPCH_NONE
96 } T_SAT_OPCH_STAT;
97 #endif
98
99 #ifdef FF_SAT_E
100 typedef enum
101 {
102 SIM_NO_LINK = 0, /* no link established */
103 SIM_LINK_OPEN, /* link opened */
104 SIM_LINK_CNCT, /* link connected */
105 SIM_LINK_DROP /* link dropped */
106 } T_SAT_SIM_LNK_STAT;
107 #endif
108
109 /*==== TYPES ======================================================*/
110
111 typedef struct
112 {
113 UBYTE stkCmdLen; /* length of STK command */
114 UBYTE * stkCmd; /* STK command */
115 } T_SAT_SET_PRM;
116
117 typedef struct
118 {
119 UBYTE cmdNr; /* command number */
120 UBYTE cmdType; /* command type */
121 UBYTE cmdQlf; /* command qualifier */
122 } T_SAT_CMD_DET;
123
124 typedef struct
125 {
126 BOOL busy; /* CC busy flag */
127 UBYTE owner; /* CC owner */
128 SHORT cId; /* related call id */
129 UBYTE ccAct; /* CC action */
130 } T_SAT_CC_PRM;
131
132 typedef struct
133 {
134 SHORT cId; /* related call id */
135 UBYTE cntxt; /* cap context */
136 UBYTE CCres; /* previous CC result */
137 } T_SAT_CAP_PRM;
138
139 typedef struct
140 {
141 UBYTE regStatus; /* Indicates the current reg status */
142 T_plmn currPLMN; /* The current PLMN that the ME is registered to
143 valid only if the regStatus is Full Service */
144 U16 lac; /* current lac */
145 U16 cid; /* current cell id */
146 } T_SAT_LOC_STATUS_INFO;
147
148 typedef struct
149 {
150 T_stk_cmd *stk_cmd; /* pointer to coded envelope of queued event */
151 T_OWN owner; /* owner of corresponding event */
152 } T_SAT_QUEUE;
153
154 #define MAX_EVENT_QUEUED (4)
155
156 typedef struct
157 {
158 ULONG temp_list; /* buffer to save list waiting result from MMI */
159 /* highest bit flags if a setup list is in process */
160 ULONG list; /* contain list of events to be monitored */
161 UBYTE c_queued; /* count of queued events */
162 T_SAT_QUEUE queued[MAX_EVENT_QUEUED]; /* list of queued events MAX 4 (may more be needed ??)*/
163 } T_SAT_EVENT;
164
165 typedef BOOL (* T_SAT_FU_FUNC)(int, T_SIM_FILE_UPDATE_IND *);
166
167 #ifdef FF_SAT_E
168 typedef struct
169 {
170 UBYTE chnUsdFlg; /* flags a used channel */
171 SHORT chnRefId; /* refers to call id for CSD, or CID for GPRS */
172 UBYTE chnType; /* channel type (CSD/GPRS) */
173 UBYTE chnTPL; /* channel transport layer */
174 UBYTE lnkStat; /* sim link status */
175 } T_SAT_CHN_NTRY;
176 #endif /* FF_SAT_E */
177
178 typedef struct SATShrdParm
179 {
180 UBYTE owner; /* identifies the used set */
181 UBYTE ntfy; /* user notification */
182 T_SAT_SET_PRM setPrm[OWN_SRC_MAX]; /* possible sets */
183 T_SAT_CC_PRM SIMCCParm; /* call control by SIM parameter */
184 T_SAT_CAP_PRM capParm; /* cap request parameter */
185 T_SAT_LOC_STATUS_INFO locInfo; /* Location status info for event download */
186 T_SAT_CMD_DET cmdDet; /* command details */
187 LONG dur; /* redial duration */
188 UBYTE *stkCmd; /* points to STK command */
189 USHORT stkCmdLen; /* length of STK command */
190 #ifdef TI_PS_FF_AT_P_CMD_CUST
191 UBYTE *cust1StkCmd; /* pointer to dynamic memory storing the Stk Cmd for Cust1 Specific implementation */
192 USHORT cust1StkCmdLen; /* length of the the Stk Cmd in cust1StkCmd */
193 UBYTE cust1SimRefreshRespRqd; /* A Refresh Command has been sent to the MMI and a Response is Required */
194 #endif /* TI_PS_FF_AT_P_CMD_CUST */
195 USHORT fu_rsc; /* result code of FILE UPDATE */
196 BUF_cmd_prms stkCmdPrm; /* proactive SIM command parameter */
197 T_SIM_TOOLKIT_CNF *stkCnfPrim; /* pending result primitive */
198 T_SIM_FILE_UPDATE_IND *fu_ind; /* actual FILE UPDATE primitive */
199 T_SAT_FU_FUNC fu_func_notif; /* registered FILE UPDATE NOTIFY handler */
200 T_SAT_EVENT event; /* flags events to be monitored for SAT */
201 // CHAR ToBeSentDTMF[MAX_DIAL_LEN]; /* buffers DTMF string to be sent */
202 // BYTE DTMFidx; /* index of Send DTMF string */
203 SHORT SentUSSDid; /* ssId of USSD sent */
204 BOOL USSDterm; /* flags if user is aiming at terminating ussd */
205 USHORT stkError; /* error code from SAT application */
206 #ifdef FF_SAT_E
207 UBYTE opchStat; /* open channel status */
208 UBYTE opchType; /* open channel type */
209 void *opchPrm; /* points to open channel parameters */
210 UBYTE opchPrmMdf; /* flags bearer parameter modification */
211 UBYTE opchAcptSrc; /* open channel source identifier */
212 UBYTE opchCCMdfy; /* flags open channel call control modification */
213 UBYTE gprsNtwCs; /* gprs network cause */
214 U16 buffer_size;
215 T_SAT_CHN_NTRY chnTb; /* channel table, must be an array if more than one channel will be supported */
216 #endif /* FF_SAT_E */
217 SHORT sId_pwd_requested; /* needed when sat starts a SS transaction which requires a password */
218 T_SAT_FU_FUNC fu_func[MAX_FU_OPS]; /* registered FILE UPDATE handlers */
219 BOOL Cbch_EvtDnl; /* Flag used for SAT CBCH and Event Download Indication */
220 BOOL ownSAT; /* Flag to decide the owner in SIM_TOOLKIT_CNF */
221 BUF_cap_cnf_parms stk_ccp; /* Capability parameters */
222 } T_SAT_SHRD_PRM;
223
224 typedef struct
225 {
226 UBYTE addLen;
227 UBYTE *add;
228 UBYTE add_content; /* when addLen = 1 */
229 UBYTE *resCC;
230 T_text *text;
231 UBYTE *at_resp;
232 USHORT at_resp_count;
233 #ifdef FF_SAT_E
234 UBYTE chnStat;
235 UBYTE bearDesc;
236 UBYTE bufSize;
237 #endif /* FF_SAT_E */
238 UBYTE dtt_buf[TIME_STAMP_LENGTH];
239 UBYTE lang[CLAN_CODE_LEN];
240 } T_ACI_SAT_TERM_RESP;
241
242 #ifdef FF_SAT_E
243 typedef struct
244 {
245 UBYTE def_bear_prm; /* true or false for default parameters */
246 T_csd_bear_prm csd_bear_prm; /* if no def. parms. use CSD parms.*/
247 UBYTE v_dur; /* duration 1 avail.*/
248 T_dur dur; /* duration 1 */
249 UBYTE v_dur2; /* duration 2 avail.*/
250 T_dur2 dur2; /* duration 2 */
251 UBYTE v_other_addr; /* other addr. avail.*/
252 T_other_addr other_addr; /* other addr.*/
253 UBYTE v_log; /* login name avail.*/
254 T_text log; /* login name */
255 UBYTE v_pwd; /* password avail.*/
256 T_text2 pwd; /* password */
257 UBYTE v_itl; /* if transp level avail.*/
258 T_if_transp_lev itl; /* if transp level */
259 UBYTE v_dda; /* data dest. addr. avail.*/
260 T_data_dest_addr dda; /* data dest. addr.*/
261 } T_SAT_CSD_PRM;
262
263 typedef struct
264 {
265 UBYTE def_bear_prm; /* true or false for default parameters */
266 T_gprs_bear_prm gprs_bear_prm; /* if no def. parms. use GPRS parms.*/
267 UBYTE v_apn; /* apn avail.*/
268 UBYTE c_apn; /* apn length */
269 UBYTE apn[MAX_SAT_APN_LEN]; /* apn */
270 UBYTE v_other_addr; /* other addr. avail.*/
271 T_other_addr other_addr; /* other addr.*/
272 UBYTE v_itl; /* if transp level avail.*/
273 T_if_transp_lev itl; /* if transp level */
274 UBYTE v_dda; /* data dest. addr. avail.*/
275 T_data_dest_addr dda; /* data dest. addr.*/
276 } T_SAT_GPRS_PRM;
277 #endif /* FF_SAT_E */
278
279
280 /*==== PROTOTYPES =================================================*/
281
282 EXTERN BOOL psaSAT_ChkEventList ( UBYTE eventNr );
283
284 EXTERN SHORT psaSAT_STKBuildCmd ( T_stk_cmd *stk_cmd );
285 EXTERN SHORT psaSAT_STKResponse ( void );
286 EXTERN SHORT psaSAT_STKEnvelope ( const T_stk_cmd *stk_cmd );
287 EXTERN void psaSAT_SendRefreshUserRes( SHORT len, UBYTE *satCmd );
288 EXTERN void psaSAT_Init ( void );
289 EXTERN void psaSAT_BuildEnvCC ( SHORT cId,
290 T_CLPTY_PRM *ss_cldPty,
291 T_sat_ussd *ussd,
292 T_MNCC_bcconf *ccp1,
293 T_MNCC_bcconf2 *ccp2);
294 EXTERN void psaSAT_BuildEnvCB ( UBYTE *cbMsg, SHORT cbLen );
295 EXTERN void psaSAT_BuildEnvMoSmCntr( T_rp_addr sc_addr,
296 T_tp_da dest_addr );
297 EXTERN BOOL psaSAT_BuildEnvEventDwn( UBYTE event,
298 SHORT callId,
299 T_CC_INITIATER actionSrc);
300
301 EXTERN BOOL psaSAT_SendTrmResp ( UBYTE rspId,
302 T_ACI_SAT_TERM_RESP *data_for_term_resp);
303 EXTERN void psaSAT_InitTrmResp ( T_ACI_SAT_TERM_RESP *init_resp );
304
305 EXTERN BOOL psaSAT_dasmMECmd ( BUF_cmd_prms *cmdPrm );
306 EXTERN void psaSAT_SSResComp ( T_res_comp* resCmp );
307 EXTERN void psaSAT_SSErrComp ( T_fac_inf * errCmp,
308 BOOL is_fac_ussd );
309
310 EXTERN void psaSAT_SSRejComp ( UBYTE cRejectInfo );
311 EXTERN T_ACI_RETURN psaSAT_ss_end_ind ( SHORT sId,
312 T_COMPONENT *comp,
313 T_MNSS_END_IND *mnss_end_ind,
314 BOOL is_fac_ussd );
315
316 EXTERN UBYTE psaSAT_ccdErrChk ( void );
317 EXTERN void psaSAT_DumpCmd ( T_stk_cmd * cmd );
318 EXTERN BOOL psaSAT_FURegister ( T_SAT_FU_FUNC );
319 EXTERN void psaSAT_FUConfirm ( int, USHORT );
320 EXTERN BOOL psaSAT_FUNotifyRegister ( T_SAT_FU_FUNC );
321
322 #ifdef FF_SAT_E
323 EXTERN SHORT psaSAT_ctbFindActCall ( void );
324 EXTERN SHORT psaSAT_gprsFindFreeCntxt( void );
325 #endif /* FF_SAT_E */
326 /*==== EXPORT =====================================================*/
327
328 #ifdef PSA_SATF_C
329
330 GLOBAL T_SAT_SHRD_PRM satShrdPrm;
331 GLOBAL UBYTE cmpFlg = FALSE;
332 /*-------------------------------------------------------------------
333 The resulting Terminal Profile is created with the following formula:
334 resultingPrfl = (actualMMIPrfl & satMaskMMIPrfl) | satDefPrfl
335 -------------------------------------------------------------------*/
336 /* SAT Features supported mainly by ACI (no MMI support needed) */
337 const GLOBAL UBYTE satDefPrfl[MAX_STK_PRF] =
338 {
339 SAT_TP1_PRF_DNL | /* Profile Download */
340 SAT_TP1_CB_DNL | /* Class 2: CBCH Data Download */
341 SAT_TP1_CC_USSD | /* Class 3: USSD string data object
342 supported in call control */
343 SAT_TP1_CC_ON_REDIAL,/* Envelope Call Control always sent to
344 the SIM during automatic redial mode */
345 SAT_TP2_CMD_RES | /* Command Result */
346 SAT_TP2_CC | /* Class 2: Call Control by SIM */
347 SAT_TP2_CC_CELL_ID | /* Class 2: Cell Identity incl. in CC */
348 SAT_TP2_MOSMC, /* Class 3: MO Short Message Control */
349
350 SAT_TP3_REFRESH, /* Class 2: REFRESH */
351
352 SAT_TP4_SEND_SMS, /* Class 2: SEND SM */
353
354 SAT_TP5_EVENT_LIST | /* Class 3: SET UP EVENT LIST */
355 SAT_TP5_MT_CALL | /* Class 3: MT Call */
356 SAT_TP5_CALL_CONN | /* Class 3: Call connected */
357 SAT_TP5_CALL_DISC | /* Class 3: Call disconnected */
358 SAT_TP5_LOC_STATUS, /* Class 3: Location status */
359
360 0x00,
361 0x00,
362
363 SAT_TP8_PLI_DTT | /* Class 3: PLI (Date, time, timezone) */
364 SAT_TP8_AT_CMD | /* Class b: Run AT command */
365 SAT_TP8_CCP2_CC, /* Class 3: 2nd CCP in SETUP CALL */
366
367 SAT_TP9_DTMF_CMD| /* Class 3: SEND DTMF */
368 SAT_TP9_PLI_LANG, /* Provide Local Information (Language) */
369
370 0x00,
371 0x00,
372 #if defined (FF_SAT_E)
373 SAT_TP12_OPEN_CHANNEL | /* Class e: OPEN CHANNEL */
374 SAT_TP12_CLOSE_CHANNEL | /* Class e: CLOSE CHANNEL */
375 SAT_TP12_GET_CHANNEL_STAT, /* Class e: GET CHANNEL STATUS */
376 #if defined (FAX_AND_DATA)
377 SAT_TP13_CSD_SUPP_BY_ME | /* Class e: CSD supported */
378 #endif /* FAX_AND_DATA */
379 #if defined (GPRS)
380 SAT_TP13_GPRS_SUPP_BY_ME | /* Class e: GPRS supported */
381 #endif /* GPRS */
382 (SAT_TP13_NR_OF_CHAN_SUPP & (1<<5)), /* Class e: number of channels supported */
383 #else
384 0x00,
385 0x00,
386 #endif /* (FAX_AND_DATA OR GPRS) AND FF_SAT_E*/
387 0x00,
388 0x00,
389 0x00,
390 #if defined (FF_SAT_E)
391 SAT_TP17_BEARER_IND_SUPP_UDP, /* Class e: UDP supported */
392 #else
393 0x00,
394 #endif /* FF_SAT_E */
395 0x00,
396 0x00,
397 0x00
398 };
399
400 /* SAT Features supported together with MMI */
401 const GLOBAL UBYTE satMaskMMIPrfl[MAX_STK_PRF] =
402 {
403 SAT_TP1_PRF_DNL | /* Profile Download */
404 SAT_TP1_MENU_SEL, /* Class 2: Menu Selection */
405 SAT_TP2_CMD_RES | /* Command Result */
406 SAT_TP2_CC | /* Class 2: Call Control by SIM */
407 SAT_TP2_MOSMC | /* Class 3: MO Short Message Control */
408 SAT_TP2_ALPHA_ID | /* Class 2: Alpha Id Handling 9.1.3 */
409 SAT_TP2_UCS2_ENTRY | /* Class 2: UCS2 Entry supported */
410 SAT_TP2_UCS2_DSPL | /* Class 2: UCS2 Display supported */
411 SAT_TP2_DSPL_EXT, /* Class 3: Display of extended text */
412
413 SAT_TP3_DSPL_TXT | /* Class 2: DISPLAY TEXT */
414 SAT_TP3_GET_INKEY | /* Class 2: GET INKEY */
415 SAT_TP3_GET_INPUT | /* Class 2: GET INPUT */
416 SAT_TP3_PLAY_TONE | /* Class 2: PLAY TONE */
417 SAT_TP3_REFRESH, /* Class 2: REFRESH */
418
419 SAT_TP4_SEL_ITEM | /* Class 2: SELECT ITEM */
420 SAT_TP4_SEND_SS | /* Class 2: SEND SS */
421 SAT_TP4_SEND_USSD | /* Class 3: SEND USSD */
422 SAT_TP4_SETUP_CALL | /* Class 2: SETUP CALL */
423 SAT_TP4_SETUP_MENU, /* Class 2: SETUP MENU */
424
425 SAT_TP5_EVENT_LIST | /* Class 3: SETUP EVENT LIST */
426 SAT_TP5_USER_ACT | /* Class 3: User activity */
427 SAT_TP5_SCR_AVAIL, /* Class 3: Idle Screen available */
428
429 SAT_TP6_BROWS_TERM|SAT_TP6_LANG_SEL,
430 0x00,
431
432 SAT_TP8_BIN_GET_INKEY | /* Class 3: Binary Choice in GET INKEY */
433 SAT_TP8_IDLE_TXT | /* Class 3: SETUP IDLE MODE TEXT */
434 SAT_TP8_AI2_SETUP_CALL, /* Class 3: 2nd alpha identifier in SETUP CALL */
435 #if defined (FF_WAP)
436 SAT_TP9_SUST_DSPL_TXT | /* Class 3: Sustained DISPLAY TEXT */
437 SAT_TP9_LAUNCH_BROWSER|
438 SAT_TP9_PLI_LANG |
439 SAT_TP9_LANG_NOTIFY, /* Class 3: LAUNCH BROWSER */
440
441 #else
442 SAT_TP9_SUST_DSPL_TXT|
443 SAT_TP9_PLI_LANG |
444 SAT_TP9_LANG_NOTIFY, /* Class 3: Sustained DISPLAY TEXT */
445 #endif
446 SAT_TP10_SFTKEY_SEL_ITEM | /* soft key support SELECT ITEM */
447 SAT_TP10_SFTKEY_SETUP_MENU, /* soft key support SET UP MENU */
448
449 SAT_TP11_MAX_NR_SFTKEY, /* number of soft keys available */
450
451 0x00,
452 0x00,
453
454 SAT_TP14_NR_OF_CHAR_DSPL_DWN| /* number of characters supported down ME display */
455 SAT_TP14_SCRN_SIZE_PARAM, /* screen sizing parameter supported */
456
457 SAT_TP15_NR_OF_CHAR_DSPL_ACRS|/* number of characters supported across ME display */
458 SAT_TP15_VAR_SIZE_FONT, /* variable size fonts supported */
459
460 SAT_TP16_DSPL_RESIZE | /* display can be resized */
461 SAT_TP16_TEXT_WRAP | /* text wrapping supported */
462 SAT_TP16_TEXT_SCROLL | /* text scrolling supported */
463 SAT_TP16_WIDTH_RDCT_MENU, /* width reduction in a menu */
464
465 0x00,
466 0x00,
467 0x00,
468 0x00
469 };
470
471 #ifdef TI_PS_FF_AT_P_CMD_CUST
472 /* SAT Features supported together with Cust1 MMI */
473 const GLOBAL UBYTE satMaskCust1Prfl[MAX_STK_PRF] =
474 {
475 SAT_TP1_PRF_DNL | /* Profile Download */
476 SAT_TP1_MENU_SEL, /* Class 2: Menu Selection */
477
478 SAT_TP2_CMD_RES | /* Command Result */
479 SAT_TP2_CC | /* Class 2: Call Control by SIM */
480 SAT_TP2_MOSMC | /* Class 3: MO Short Message Control */
481 SAT_TP2_ALPHA_ID | /* Class 2: Alpha Id Handling 9.1.3 */
482 SAT_TP2_UCS2_ENTRY | /* Class 2: UCS2 Entry supported */
483 SAT_TP2_UCS2_DSPL | /* Class 2: UCS2 Display supported */
484 SAT_TP2_DSPL_EXT, /* Class 3: Display of extended text */
485
486 SAT_TP3_DSPL_TXT | /* Class 2: DISPLAY TEXT */
487 SAT_TP3_GET_INKEY | /* Class 2: GET INKEY */
488 SAT_TP3_GET_INPUT | /* Class 2: GET INPUT */
489 SAT_TP3_PLAY_TONE | /* Class 2: PLAY TONE */
490 SAT_TP3_REFRESH, /* Class 2: REFRESH */
491
492 SAT_TP4_SEL_ITEM | /* Class 2: SELECT ITEM */
493 SAT_TP4_SEND_SS | /* Class 2: SEND SS */
494 SAT_TP4_SEND_USSD | /* Class 3: SEND USSD */
495 SAT_TP4_SETUP_CALL | /* Class 2: SETUP CALL */
496 SAT_TP4_SETUP_MENU, /* Class 2: SETUP MENU */
497
498 SAT_TP5_EVENT_LIST | /* Class 3: SETUP EVENT LIST */
499 SAT_TP5_USER_ACT | /* Class 3: User activity */
500 SAT_TP5_SCR_AVAIL, /* Class 3: Idle Screen available */
501
502 SAT_TP6_LANG_SEL,
503 0x00,
504
505 SAT_TP8_BIN_GET_INKEY | /* Class 3: Binary Choice in GET INKEY */
506 SAT_TP8_IDLE_TXT | /* Class 3: SETUP IDLE MODE TEXT */
507 SAT_TP8_AI2_SETUP_CALL, /* Class 3: 2nd alpha identifier in SETUP CALL */
508 #if defined (FF_WAP)
509 SAT_TP9_SUST_DSPL_TXT | /* Class 3: Sustained DISPLAY TEXT */
510 SAT_TP9_LAUNCH_BROWSER, /* Class 3: LAUNCH BROWSER */
511 #else
512 SAT_TP9_SUST_DSPL_TXT, /* Class 3: Sustained DISPLAY TEXT */
513 #endif
514 SAT_TP10_SFTKEY_SEL_ITEM | /* soft key support SELECT ITEM */
515 SAT_TP10_SFTKEY_SETUP_MENU, /* soft key support SET UP MENU */
516
517 SAT_TP11_MAX_NR_SFTKEY, /* number of soft keys available */
518
519 0x00,
520 0x00,
521
522 SAT_TP14_NR_OF_CHAR_DSPL_DWN| /* number of characters supported down ME display */
523 SAT_TP14_SCRN_SIZE_PARAM, /* screen sizing parameter supported */
524
525 SAT_TP15_NR_OF_CHAR_DSPL_ACRS|/* number of characters supported across ME display */
526 SAT_TP15_VAR_SIZE_FONT, /* variable size fonts supported */
527
528 SAT_TP16_DSPL_RESIZE | /* display can be resized */
529 SAT_TP16_TEXT_WRAP | /* text wrapping supported */
530 SAT_TP16_TEXT_SCROLL | /* text scrolling supported */
531 SAT_TP16_WIDTH_RDCT_MENU, /* width reduction in a menu */
532
533 0x00,
534 0x00,
535 0x00,
536 0x00
537 };
538 #endif /* TI_PS_FF_AT_P_CMD_CUST */
539 #else
540
541 EXTERN T_SAT_SHRD_PRM satShrdPrm;
542 EXTERN UBYTE cmpFlg;
543 EXTERN UBYTE satDefPrfl[MAX_STK_PRF];
544 EXTERN UBYTE satMaskMMIPrfl[MAX_STK_PRF];
545 #ifdef TI_PS_FF_AT_P_CMD_CUST
546 EXTERN UBYTE satMaskCust1Prfl[MAX_STK_PRF];
547 #endif /* TI_PS_FF_AT_P_CMD_CUST */
548 #endif /* PSA_SATF_C */
549
550 #endif /* PSA_SAT_H */
551
552 /*==== EOF =======================================================*/