LinuxSDK  V1.4.0.5
SwiApiCdmaNetwork.h
Go to the documentation of this file.
1 
14 #ifndef __SWIAPICDMANETWORK_H__
15 #define __SWIAPICDMANETWORK_H__
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 /* include files */
22 #include "SwiDataTypes.h"
23 #include "SwiRcodes.h"
24 #include "SwiApiCdmaBasic.h"
25 
26 #define SWI_SIDNIDNUM 20
27 #define SWI_MAX_ActiveSet 6 /* Same as MAX_ActiveSet */
28 
29 /* Connection Management */
30 
37 {
45 
52 {
55 
58 
61 
63  SWI_CALL_TYPE_Fax = 0x0201,
67 
68  SWI_CALL_TYPE_Test = 0x0003,
73 
78 
81 
84 
85  SWI_CALL_TYPE_EVDO = 0x0009,
88 
98 {
106 
109 
112 
117  SWI_CALL_STATE_Cw = 0x1000,
122 
126 
132 typedef enum SWI_TYPE_EndReason
133 {
138 
143 
146 
149 
152 
155 
158 
161 
164 
167 
170 
173 
176 
179 
182 
185 
188 
191 
195 
205 {
209 
218 {
225 
232 
239 
246 
249 
253 
262 typedef enum SWI_TYPE_AnswerState
263 {
266 
269 
272 
275 
279 
280 /* Service Status */
281 
293 {
297 
304 {
309 
321 {
325 
332 {
336 
348 {
352 
362 {
367 
379 {
383 
394 typedef enum SWI_TYPE_PrevValue
395 {
404 
415 typedef struct SWI_STRUCT_Prev
416 {
420 
431 {
437 
449 {
453 
454 /* Call Management */
455 
469 {
474 
485 {
491 
497 
508 {
513 
524 {
528 
541 {
545 
558 {
564 
575 {
580 
590 {
593 
596 
599 
602 
605 
608 
611 
614 
617 
620 
623 
626 
629 
632 
636 
640 
644 
647 
651 
655 
658 
662 
666 
669 
672 
675 
678 
682 
691 typedef enum SWI_TYPE_CallCmd
692 {
702 
715 typedef struct SWI_STRUCT_CallError
716 {
721 
727 
740 {
745 
757 {
760 
763 
766 
769 
772 
775 
778 
781 
784 
788 
799 typedef struct SWI_STRUCT_OTASPState
800 {
805 
810 
818 typedef enum SWI_TYPE_Privacy
819 {
823 
835 {
839 
847 typedef struct SWI_STRUCT_SidNid
848 {
852 
862 typedef struct SWI_STRUCT_HomeSidNid
863 {
866 
876 typedef enum cm_mode_pref_e {
877 
882 
886 
890 
893 
897 
901 
902  /* New for SD 2.0. For compatibility with QPST, do not change values or
903  ** order. We start with NV_MODE_CELL_CDMA_ONLY+1 (i.e. 9).
904  */
905 
908 
911 
914 
917 
918  /*
919  ** The following enums are the radio access technologies for
920  ** WCDMA and GSM.
921  */
922 
925 
928 
929  /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
930 
933 
936 
937  /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
938 
942 
957 typedef enum SWI_TYPE_Mode_Term
958 {
959 
971 
975 
979 
985 typedef enum SWI_TYPE_Band_Pref
986 {
991 
994 
997 
1000 
1003 
1006 
1009 
1012 
1015 
1018 
1022 
1029 {
1034 
1037 
1041 
1044 
1047 
1051 
1058 {
1071 
1078 {
1083 
1092 {
1099 
1106 {
1112 
1120 typedef struct SWI_STRUCT_Rssi_Ecio
1121 {
1128 
1140 {
1143 
1146 
1150 
1159 {
1165 
1172 {
1175 
1178 
1182 
1186 
1195 {
1201 
1208 {
1212 
1221 {
1227 
1234 {
1238 
1245 {
1253 
1254 /* Function prototypes */
1255 
1257 
1259  swi_uint32 timeout);
1260 
1262  swi_uint32 timeout);
1263 
1265  swi_uint32 timeout);
1266 
1268  swi_uint32 timeout);
1269 
1271  swi_uint32 timeout);
1272 
1274  swi_uint32* badFrames,
1275  swi_uint32 timeout);
1276 
1278  swi_uint32 timeout);
1279 
1281  swi_uint32 timeout);
1282 
1284  swi_uint32* pReceived,
1285  swi_uint32 timeout);
1286 
1288  swi_int32 *latitude,
1289  swi_uint32 timeout);
1290 
1292  swi_charp MDN,
1293  swi_uint32 length,
1294  swi_uint32 timeout);
1295 
1297  SWI_STRUCT_HomeSidNid *HomeSidNid,
1298  swi_uint32 timeout);
1299 
1301  swi_uint16 *PrefServ,
1302  swi_uint32 timeout);
1303 
1305  swi_uint32 szLength,
1306  swi_uint32 timeout);
1307 
1309  swi_uint32 szLength,
1310  swi_uint32 timeout);
1311 
1313  swi_uint32 szLength,
1314  swi_uint32 timeout);
1315 
1317  swi_uint32 szLength,
1318  swi_uint32 timeout);
1319 
1321  swi_uint16 naiLength,
1322  swi_charp nai,
1323  swi_uint16 mnHaSpiEnable,
1324  swi_uint32 mnHaSpi,
1325  swi_uint16 mnAaaSpiEnable,
1326  swi_uint32 mnAaaSpi,
1327  swi_uint16 reverseTunneling,
1328  swi_uint32 homeAddress,
1329  swi_uint32 primaryHaAddress,
1330  swi_uint32 secondaryHaAddress,
1331  swi_uint32 timeout);
1332 
1334  swi_uint16 naiLength,
1335  swi_charp nai,
1336  swi_uint16* pMnHaSpiEnable,
1337  swi_uint32* pMnHaSpi,
1338  swi_uint16* pMnAaaSpiEnable,
1339  swi_uint32* pMnAaaSpi,
1340  swi_uint16* pReverseTunneling,
1341  swi_uint32* pHomeAddress,
1342  swi_uint32* pPrimaryHaAddress,
1343  swi_uint32* pSecondaryHaAddress,
1344  swi_uint32 timeout);
1345 
1347  swi_uint32 timeout);
1348 
1350  const swi_charp MDN,
1351  swi_uint32 timeout);
1352 
1354  swi_uint16 Nam,
1355  const SWI_STRUCT_HomeSidNid *pHomeSidNid,
1356  swi_uint32 timeout);
1357 
1359  swi_uint16 PrefServ,
1360  swi_uint32 timeout);
1361 
1363  swi_uint32 timeout);
1364 
1365 SWI_API SWI_RCODE SwiPstSetSipPassword(const swi_charp pszPassword,
1366  swi_uint32 timeout);
1367 
1369  swi_uint32 timeout);
1370 
1372  swi_uint32 timeout);
1373 
1375  swi_uint32 timeout);
1376 
1378  SWI_STRUCT_CallConnected* CallState,
1379  swi_uint32 timeout);
1380 
1382  const swi_charp szCallNumber,
1383  swi_uint32 timeout);
1384 
1386 
1388  swi_uint32 timeout);
1389 
1391  swi_uint32 timeout);
1392 
1394  swi_uint32 timeout);
1395 
1397 
1399  swi_uint16 *nErrCode2,
1400  swi_uint32 timeout);
1401 
1403  swi_uint32 timeout);
1404 
1406  swi_uint32 timeout);
1407 
1409  swi_uint16 nModeTerm,
1410  swi_uint32 nModeDur,
1411  swi_uint32 nBandPref,
1412  swi_uint16 nRoamPref,
1413  swi_uint32 timeout);
1414 
1416  swi_uint32 timeout);
1417 
1419 
1421  swi_uint32 timeout);
1422 
1424  swi_uint32 timeout);
1425 
1427  swi_uint32 timeout);
1428 
1430  swi_uint32 timeout);
1431 
1433 
1435  swi_uint16* iHdrNotificationStatus,
1436  swi_uint32 timeout);
1437 
1439  swi_uint16* iTechHdrNotificationStatus,
1440  swi_uint32 timeout);
1441 
1443  swi_uint32 szLength,
1444  swi_uint32 timeout);
1445 
1447  swi_uint32 timeout);
1448 
1450  swi_uint32 szLength,
1451  swi_uint32 timeout);
1452 
1453 SWI_API SWI_RCODE SwiPstSetHdrPassword(const swi_charp pszPassword,
1454  swi_uint32 timeout);
1455 
1459 
1461  swi_uint16 *PrefMode,
1462  swi_uint32 timeout);
1463 
1465  swi_uint16 PrefMode,
1466  swi_uint32 timeout);
1467 
1469  swi_uint32 timeout);
1470 
1472 SWI_API SWI_RCODE SwiGetTechNID(swi_uint16 *networkID, swi_uint32 timeout);
1473 
1475  swi_uint16 *TermSidEnable,
1476  swi_uint32 timeout);
1477 
1479  swi_uint16 TermSidEnable,
1480  swi_uint32 timeout);
1481 
1483  swi_uint16 *TermNidEnable,
1484  swi_uint32 timeout);
1485 
1487  swi_uint16 TermNidEnable,
1488  swi_uint32 timeout);
1489 
1491  swi_uint32 timeout);
1492 
1494  swi_uint32 timeout);
1495 
1497  swi_uint32 timeout);
1498 
1500  swi_uint32 timeout);
1501 
1503  swi_uint32 timeout);
1504 
1506  swi_uint32 timeout);
1507 
1509  swi_uint32 timeout);
1510 
1512  swi_uint32 timeout);
1513 
1515  swi_uint32 timeout);
1516 
1518  swi_uint32 timeout);
1519 
1521  swi_uint32 timeout);
1522 
1524  swi_uint32 timeout);
1525 
1527  swi_uint32 timeout);
1528 
1530  swi_uint32 timeout);
1531 
1533  const SWI_STRUCT_MipEnabled *psMipEnabled,
1534  swi_uint32 timeout);
1535 
1536 #ifdef __cplusplus
1537 } /* extern "C" { */
1538 #endif
1539 
1540 #endif /* __SWIAPICDMANETWORK_H__ */
1541 
1542 /*
1543  * $Log: SwiApiCdmaNetwork.h,v $
1544  */
1545 

Linux SDK V1.4.0.5
Copyright (c) 2011 Sierra Wireless, Inc. All rights reserved