comparison src/aci2/aci/psa_sat.h @ 3:93999a60b835

src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 00:29:36 +0000
parents
children
comparison
equal deleted inserted replaced
2:c41a534f33c6 3:93999a60b835
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_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 UBYTE *cust1StkCmd; /* pointer to dynamic memory storing the Stk Cmd for Cust1 Specific implementation */
191 USHORT cust1StkCmdLen; /* length of the the Stk Cmd in cust1StkCmd */
192 UBYTE cust1SimRefreshRespRqd; /* A Refresh Command has been sent to the MMI and a Response is Required */
193 USHORT fu_rsc; /* result code of FILE UPDATE */
194 BUF_cmd_prms stkCmdPrm; /* proactive SIM command parameter */
195 T_SIM_TOOLKIT_CNF *stkCnfPrim; /* pending result primitive */
196 T_SIM_FILE_UPDATE_IND *fu_ind; /* actual FILE UPDATE primitive */
197 T_SAT_FU_FUNC fu_func_notif; /* registered FILE UPDATE NOTIFY handler */
198 T_SAT_EVENT event; /* flags events to be monitored for SAT */
199 // CHAR ToBeSentDTMF[MAX_DIAL_LEN]; /* buffers DTMF string to be sent */
200 // BYTE DTMFidx; /* index of Send DTMF string */
201 SHORT SentUSSDid; /* ssId of USSD sent */
202 BOOL USSDterm; /* flags if user is aiming at terminating ussd */
203 UBYTE run_at_id; /* srce id of source where run at cmd is processed */
204 USHORT stkError; /* error code from SAT application */
205 #ifdef FF_SAT_E
206 UBYTE opchStat; /* open channel status */
207 UBYTE opchType; /* open channel type */
208 void *opchPrm; /* points to open channel parameters */
209 UBYTE opchPrmMdf; /* flags bearer parameter modification */
210 UBYTE opchAcptSrc; /* open channel source identifier */
211 UBYTE opchCCMdfy; /* flags open channel call control modification */
212 UBYTE gprsNtwCs; /* gprs network cause */
213 T_SAT_CHN_NTRY chnTb; /* channel table, must be an array if more than one channel will be supported */
214 #endif /* FF_SAT_E */
215 SHORT sId_pwd_requested; /* needed when sat starts a SS transaction which requires a password */
216 T_SAT_FU_FUNC fu_func[MAX_FU_OPS]; /* registered FILE UPDATE handlers */
217 } T_SAT_SHRD_PRM;
218
219 typedef struct
220 {
221 UBYTE addLen;
222 UBYTE *add;
223 UBYTE add_content; /* when addLen = 1 */
224 UBYTE *resCC;
225 T_text *text;
226 UBYTE *at_resp;
227 USHORT at_resp_count;
228 #ifdef FF_SAT_E
229 UBYTE chnStat;
230 UBYTE bearDesc;
231 UBYTE bufSize;
232 #endif /* FF_SAT_E */
233 UBYTE dtt_buf[TIME_STAMP_LENGTH];
234 UBYTE lang[CLAN_CODE_LEN];
235 } T_ACI_SAT_TERM_RESP;
236
237 #ifdef FF_SAT_E
238 typedef struct
239 {
240 UBYTE def_bear_prm; /* true or false for default parameters */
241 T_csd_bear_prm csd_bear_prm; /* if no def. parms. use CSD parms.*/
242 UBYTE v_dur; /* duration 1 avail.*/
243 T_dur dur; /* duration 1 */
244 UBYTE v_dur2; /* duration 2 avail.*/
245 T_dur2 dur2; /* duration 2 */
246 UBYTE v_other_addr; /* other addr. avail.*/
247 T_other_addr other_addr; /* other addr.*/
248 UBYTE v_log; /* login name avail.*/
249 T_text log; /* login name */
250 UBYTE v_pwd; /* password avail.*/
251 T_text2 pwd; /* password */
252 UBYTE v_itl; /* if transp level avail.*/
253 T_if_transp_lev itl; /* if transp level */
254 UBYTE v_dda; /* data dest. addr. avail.*/
255 T_data_dest_addr dda; /* data dest. addr.*/
256 } T_SAT_CSD_PRM;
257
258 typedef struct
259 {
260 UBYTE def_bear_prm; /* true or false for default parameters */
261 T_gprs_bear_prm gprs_bear_prm; /* if no def. parms. use GPRS parms.*/
262 UBYTE v_apn; /* apn avail.*/
263 UBYTE c_apn; /* apn length */
264 UBYTE apn[MAX_SAT_APN_LEN]; /* apn */
265 UBYTE v_other_addr; /* other addr. avail.*/
266 T_other_addr other_addr; /* other addr.*/
267 UBYTE v_itl; /* if transp level avail.*/
268 T_if_transp_lev itl; /* if transp level */
269 UBYTE v_dda; /* data dest. addr. avail.*/
270 T_data_dest_addr dda; /* data dest. addr.*/
271 } T_SAT_GPRS_PRM;
272 #endif /* FF_SAT_E */
273
274
275 /*==== PROTOTYPES =================================================*/
276
277 EXTERN BOOL psaSAT_ChkEventList ( UBYTE eventNr );
278
279 EXTERN SHORT psaSAT_STKBuildCmd ( T_stk_cmd *stk_cmd );
280 EXTERN SHORT psaSAT_STKResponse ( void );
281 EXTERN SHORT psaSAT_STKEnvelope ( const T_stk_cmd *stk_cmd );
282 EXTERN void psaSAT_SendRefreshUserRes( SHORT len, UBYTE *satCmd );
283 EXTERN void psaSAT_Init ( void );
284 EXTERN void psaSAT_BuildEnvCC ( SHORT cId,
285 T_CLPTY_PRM *ss_cldPty,
286 T_sat_ussd *ussd,
287 T_bcconf *ccp );
288 EXTERN void psaSAT_BuildEnvCB ( UBYTE *cbMsg, SHORT cbLen );
289 EXTERN void psaSAT_BuildEnvMoSmCntr( T_rp_addr sc_addr,
290 T_tp_da dest_addr );
291 EXTERN BOOL psaSAT_BuildEnvEventDwn( UBYTE event,
292 SHORT callId,
293 T_CC_INITIATER actionSrc);
294
295 EXTERN BOOL psaSAT_SendTrmResp ( UBYTE rspId,
296 T_ACI_SAT_TERM_RESP *data_for_term_resp);
297 EXTERN void psaSAT_InitTrmResp ( T_ACI_SAT_TERM_RESP *init_resp );
298
299 EXTERN BOOL psaSAT_dasmMECmd ( BUF_cmd_prms *cmdPrm );
300 EXTERN void psaSAT_SSResComp ( T_res_comp* resCmp );
301 EXTERN void psaSAT_SSErrComp ( T_fac_inf * errCmp,
302 BOOL is_fac_ussd );
303
304 EXTERN void psaSAT_SSRejComp ( UBYTE cRejectInfo );
305 EXTERN T_ACI_RETURN psaSAT_ss_end_ind ( SHORT sId,
306 T_COMPONENT *comp,
307 T_MNSS_END_IND *mnss_end_ind,
308 BOOL is_fac_ussd );
309
310 EXTERN UBYTE psaSAT_ccdErrChk ( void );
311 EXTERN void psaSAT_DumpCmd ( T_stk_cmd * cmd );
312 EXTERN BOOL psaSAT_FURegister ( T_SAT_FU_FUNC );
313 EXTERN void psaSAT_FUConfirm ( int, USHORT );
314 EXTERN BOOL psaSAT_FUNotifyRegister ( T_SAT_FU_FUNC );
315
316 #ifdef FF_SAT_E
317 EXTERN SHORT psaSAT_ctbFindActCall ( void );
318 EXTERN SHORT psaSAT_gprsFindFreeCntxt( void );
319 #endif /* FF_SAT_E */
320 /*==== EXPORT =====================================================*/
321
322 #ifdef PSA_SATF_C
323
324 GLOBAL T_SAT_SHRD_PRM satShrdPrm;
325 GLOBAL UBYTE cmpFlg = FALSE;
326 /*-------------------------------------------------------------------
327 The resulting Terminal Profile is created with the following formula:
328 resultingPrfl = (actualMMIPrfl & satMaskMMIPrfl) | satDefPrfl
329 -------------------------------------------------------------------*/
330 /* SAT Features supported mainly by ACI (no MMI support needed) */
331 const GLOBAL UBYTE satDefPrfl[MAX_STK_PRF] =
332 {
333 SAT_TP1_PRF_DNL | /* Profile Download */
334 SAT_TP1_CB_DNL | /* Class 2: CBCH Data Download */
335 SAT_TP1_CC_USSD, /* Class 3: USSD string data object
336 supported in call control */
337
338 SAT_TP2_CMD_RES | /* Command Result */
339 SAT_TP2_CC | /* Class 2: Call Control by SIM */
340 SAT_TP2_CC_CELL_ID | /* Class 2: Cell Identity incl. in CC */
341 SAT_TP2_MOSMC, /* Class 3: MO Short Message Control */
342
343 SAT_TP3_REFRESH, /* Class 2: REFRESH */
344
345 SAT_TP4_SEND_SMS, /* Class 2: SEND SM */
346
347 SAT_TP5_EVENT_LIST | /* Class 3: SET UP EVENT LIST */
348 SAT_TP5_MT_CALL | /* Class 3: MT Call */
349 SAT_TP5_CALL_CONN | /* Class 3: Call connected */
350 SAT_TP5_CALL_DISC | /* Class 3: Call disconnected */
351 SAT_TP5_LOC_STATUS, /* Class 3: Location status */
352
353 0x00,
354 0x00,
355
356 SAT_TP8_PLI_DTT | /* Class 3: PLI (Date, time, timezone) */
357 SAT_TP8_AT_CMD | /* Class b: Run AT command */
358 SAT_TP8_CCP2_CC, /* Class 3: 2nd CCP in SETUP CALL */
359
360 SAT_TP9_DTMF_CMD, /* Class 3: SEND DTMF */
361
362 0x00,
363 0x00,
364 #if defined (FF_SAT_E)
365 SAT_TP12_OPEN_CHANNEL | /* Class e: OPEN CHANNEL */
366 SAT_TP12_CLOSE_CHANNEL | /* Class e: CLOSE CHANNEL */
367 SAT_TP12_GET_CHANNEL_STAT, /* Class e: GET CHANNEL STATUS */
368 #if defined (FAX_AND_DATA)
369 SAT_TP13_CSD_SUPP_BY_ME | /* Class e: CSD supported */
370 #endif /* FAX_AND_DATA */
371 #if defined (GPRS)
372 SAT_TP13_GPRS_SUPP_BY_ME | /* Class e: GPRS supported */
373 #endif /* GPRS */
374 (SAT_TP13_NR_OF_CHAN_SUPP & (1<<5)), /* Class e: number of channels supported */
375 #else
376 0x00,
377 0x00,
378 #endif /* (FAX_AND_DATA OR GPRS) AND FF_SAT_E*/
379 0x00,
380 0x00,
381 0x00,
382 #if defined (FF_SAT_E)
383 SAT_TP17_BEARER_IND_SUPP_UDP, /* Class e: UDP supported */
384 #else
385 0x00,
386 #endif /* FF_SAT_E */
387 0x00,
388 0x00,
389 0x00
390 };
391
392 /* SAT Features supported together with MMI */
393 const GLOBAL UBYTE satMaskMMIPrfl[MAX_STK_PRF] =
394 {
395 SAT_TP1_PRF_DNL | /* Profile Download */
396 SAT_TP1_MENU_SEL, /* Class 2: Menu Selection */
397
398 SAT_TP2_CMD_RES | /* Command Result */
399 SAT_TP2_CC | /* Class 2: Call Control by SIM */
400 SAT_TP2_MOSMC | /* Class 3: MO Short Message Control */
401 SAT_TP2_ALPHA_ID | /* Class 2: Alpha Id Handling 9.1.3 */
402 SAT_TP2_UCS2_ENTRY | /* Class 2: UCS2 Entry supported */
403 SAT_TP2_UCS2_DSPL | /* Class 2: UCS2 Display supported */
404 SAT_TP2_DSPL_EXT, /* Class 3: Display of extended text */
405
406 SAT_TP3_DSPL_TXT | /* Class 2: DISPLAY TEXT */
407 SAT_TP3_GET_INKEY | /* Class 2: GET INKEY */
408 SAT_TP3_GET_INPUT | /* Class 2: GET INPUT */
409 SAT_TP3_PLAY_TONE | /* Class 2: PLAY TONE */
410 SAT_TP3_REFRESH, /* Class 2: REFRESH */
411
412 SAT_TP4_SEL_ITEM | /* Class 2: SELECT ITEM */
413 SAT_TP4_SEND_SS | /* Class 2: SEND SS */
414 SAT_TP4_SEND_USSD | /* Class 3: SEND USSD */
415 SAT_TP4_SETUP_CALL | /* Class 2: SETUP CALL */
416 SAT_TP4_SETUP_MENU, /* Class 2: SETUP MENU */
417
418 SAT_TP5_EVENT_LIST | /* Class 3: SETUP EVENT LIST */
419 SAT_TP5_USER_ACT | /* Class 3: User activity */
420 SAT_TP5_SCR_AVAIL, /* Class 3: Idle Screen available */
421
422 SAT_TP6_BROWS_TERM,
423 0x00,
424
425 SAT_TP8_BIN_GET_INKEY | /* Class 3: Binary Choice in GET INKEY */
426 SAT_TP8_IDLE_TXT | /* Class 3: SETUP IDLE MODE TEXT */
427 SAT_TP8_AI2_SETUP_CALL, /* Class 3: 2nd alpha identifier in SETUP CALL */
428 #if defined (FF_WAP)
429 SAT_TP9_SUST_DSPL_TXT | /* Class 3: Sustained DISPLAY TEXT */
430 SAT_TP9_LAUNCH_BROWSER, /* Class 3: LAUNCH BROWSER */
431 #else
432 SAT_TP9_SUST_DSPL_TXT, /* Class 3: Sustained DISPLAY TEXT */
433 #endif
434 SAT_TP10_SFTKEY_SEL_ITEM | /* soft key support SELECT ITEM */
435 SAT_TP10_SFTKEY_SETUP_MENU, /* soft key support SET UP MENU */
436
437 SAT_TP11_MAX_NR_SFTKEY, /* number of soft keys available */
438
439 0x00,
440 0x00,
441
442 SAT_TP14_NR_OF_CHAR_DSPL_DWN| /* number of characters supported down ME display */
443 SAT_TP14_SCRN_SIZE_PARAM, /* screen sizing parameter supported */
444
445 SAT_TP15_NR_OF_CHAR_DSPL_ACRS|/* number of characters supported across ME display */
446 SAT_TP15_VAR_SIZE_FONT, /* variable size fonts supported */
447
448 SAT_TP16_DSPL_RESIZE | /* display can be resized */
449 SAT_TP16_TEXT_WRAP | /* text wrapping supported */
450 SAT_TP16_TEXT_SCROLL | /* text scrolling supported */
451 SAT_TP16_WIDTH_RDCT_MENU, /* width reduction in a menu */
452
453 0x00,
454 0x00,
455 0x00,
456 0x00
457 };
458
459 /* SAT Features supported together with Cust1 MMI */
460 const GLOBAL UBYTE satMaskCust1Prfl[MAX_STK_PRF] =
461 {
462 SAT_TP1_PRF_DNL | /* Profile Download */
463 SAT_TP1_MENU_SEL, /* Class 2: Menu Selection */
464
465 SAT_TP2_CMD_RES | /* Command Result */
466 SAT_TP2_CC | /* Class 2: Call Control by SIM */
467 SAT_TP2_MOSMC | /* Class 3: MO Short Message Control */
468 SAT_TP2_ALPHA_ID | /* Class 2: Alpha Id Handling 9.1.3 */
469 SAT_TP2_UCS2_ENTRY | /* Class 2: UCS2 Entry supported */
470 SAT_TP2_UCS2_DSPL | /* Class 2: UCS2 Display supported */
471 SAT_TP2_DSPL_EXT, /* Class 3: Display of extended text */
472
473 SAT_TP3_DSPL_TXT | /* Class 2: DISPLAY TEXT */
474 SAT_TP3_GET_INKEY | /* Class 2: GET INKEY */
475 SAT_TP3_GET_INPUT | /* Class 2: GET INPUT */
476 SAT_TP3_PLAY_TONE | /* Class 2: PLAY TONE */
477 SAT_TP3_REFRESH, /* Class 2: REFRESH */
478
479 SAT_TP4_SEL_ITEM | /* Class 2: SELECT ITEM */
480 SAT_TP4_SEND_SS | /* Class 2: SEND SS */
481 SAT_TP4_SEND_USSD | /* Class 3: SEND USSD */
482 SAT_TP4_SETUP_CALL | /* Class 2: SETUP CALL */
483 SAT_TP4_SETUP_MENU, /* Class 2: SETUP MENU */
484
485 SAT_TP5_EVENT_LIST | /* Class 3: SETUP EVENT LIST */
486 SAT_TP5_USER_ACT | /* Class 3: User activity */
487 SAT_TP5_SCR_AVAIL, /* Class 3: Idle Screen available */
488
489 SAT_TP6_LANG_SEL,
490 0x00,
491
492 SAT_TP8_BIN_GET_INKEY | /* Class 3: Binary Choice in GET INKEY */
493 SAT_TP8_IDLE_TXT | /* Class 3: SETUP IDLE MODE TEXT */
494 SAT_TP8_AI2_SETUP_CALL, /* Class 3: 2nd alpha identifier in SETUP CALL */
495 #if defined (FF_WAP)
496 SAT_TP9_SUST_DSPL_TXT | /* Class 3: Sustained DISPLAY TEXT */
497 SAT_TP9_LAUNCH_BROWSER, /* Class 3: LAUNCH BROWSER */
498 #else
499 SAT_TP9_SUST_DSPL_TXT, /* Class 3: Sustained DISPLAY TEXT */
500 #endif
501 SAT_TP10_SFTKEY_SEL_ITEM | /* soft key support SELECT ITEM */
502 SAT_TP10_SFTKEY_SETUP_MENU, /* soft key support SET UP MENU */
503
504 SAT_TP11_MAX_NR_SFTKEY, /* number of soft keys available */
505
506 0x00,
507 0x00,
508
509 SAT_TP14_NR_OF_CHAR_DSPL_DWN| /* number of characters supported down ME display */
510 SAT_TP14_SCRN_SIZE_PARAM, /* screen sizing parameter supported */
511
512 SAT_TP15_NR_OF_CHAR_DSPL_ACRS|/* number of characters supported across ME display */
513 SAT_TP15_VAR_SIZE_FONT, /* variable size fonts supported */
514
515 SAT_TP16_DSPL_RESIZE | /* display can be resized */
516 SAT_TP16_TEXT_WRAP | /* text wrapping supported */
517 SAT_TP16_TEXT_SCROLL | /* text scrolling supported */
518 SAT_TP16_WIDTH_RDCT_MENU, /* width reduction in a menu */
519
520 0x00,
521 0x00,
522 0x00,
523 0x00
524 };
525
526 #else
527
528 EXTERN T_SAT_SHRD_PRM satShrdPrm;
529 EXTERN UBYTE cmpFlg;
530 EXTERN UBYTE satDefPrfl[MAX_STK_PRF];
531 EXTERN UBYTE satMaskMMIPrfl[MAX_STK_PRF];
532 EXTERN UBYTE satMaskCust1Prfl[MAX_STK_PRF];
533
534 #endif /* PSA_SATF_C */
535
536 #endif /* PSA_SAT_H */
537
538 /*==== EOF =======================================================*/