LinuxSDK  V1.4.0.5
Data Structures | Macros | Typedefs | Enumerations | Functions
SwiApiNotify.h File Reference

This file contains definitions, enumerations, structures and forward declarations for SwiApiNotify.c file. More...

#include "SwiDataTypes.h"
#include "SwiRcodes.h"
#include "SwiApiGsmBasic.h"
#include "SwiApiGsmNetwork.h"
#include "SwiApiGsmSim.h"
#include "SwiApiGsmSs.h"
#include "SwiApiGsmPhonebook.h"
#include "SwiApiGsmStk.h"
#include "SwiApiGsmVoice.h"
#include "SwiApiCmBasic.h"
#include "SwiApiCmUpgrade.h"
#include "SwiApiCmLbs.h"
#include "SwiApiCmDm.h"
#include "SwiApiGsmLbs.h"
#include "SwiApiCdmaBasic.h"
#include "SwiIntCdma.h"
#include "SwiApiCdmaIota.h"
#include "SwiApiCdmaLbs.h"
#include "SwiApiCdmaNetwork.h"
#include "SwiApiCdmaRuim.h"
#include "SwiApiCdmaSms.h"
#include "SwiApiCdmaVoice.h"
#include "SwiApiGsmSms.h"

Go to the source code of this file.

Data Structures

struct  SWI_STRUCT_GsmProfileChange
 
struct  SWI_STRUCT_GsmDefaultChange
 
struct  SWI_STRUCT_NotifList
 
struct  SwiNotifyVariant
 

Macros

#define LENGTH_MaxPPPString   33
 
#define LENGTH_IPAddress   16
 
#define LENGTH_LogFileName   128
 
#define LENGTH_SdkPathName   128
 
#define LENGTH_CommPort   7
 
#define LENGTH_UsbdVersion   85
 
#define LENGTH_UsbdBuildDate   9
 
#define LENGTH_BootBuildDate   9
 
#define NUMVALUE_WIMAX   80216
 
#define MAX_NOTIF_LIST   122
 
#define LENGTH_DriverName   100
 
#define LENGTH_MacAddress   6
 
#define LENGTH_ProductName   20
 
#define LENGTH_ModemName   75
 
#define LENGTH_HardwareId   50
 
#define MAX_NUM_LBS_SV   12
 
#define LENGTH_TimeStamp   16
 
#define MAX_BAND_GROUPS   50
 
#define MAX_BAND_LIST   50
 
#define MAX_AIR_SERVERS   50 /* Must be < than a frame. */
 

Typedefs

typedef void(* SWI_CALLBACK_EX )(struct SwiNotifyVariant *pNotify)
 

Enumerations

enum  SWI_TYPE_Notify {
  SWI_NOTIFY_NULL, SWI_NOTIFY_AirServerChange, SWI_NOTIFY_LockAirServer, SWI_HW_NOTIFY_Power = 4,
  SWI_NOTIFY_Power, SWI_NOTIFY_MUX_Shutdown, SWI_NOTIFY_HeartBeat = 100, SWI_NOTIFY_HeadsetIcon,
  SWI_NOTIFY_HeadsetState, SWI_NOTIFY_Rssi, SWI_NOTIFY_TransmitAlert, SWI_NOTIFY_Reset,
  SWI_NOTIFY_Band, SWI_NOTIFY_Debug, SWI_NOTIFY_FwDownload, SWI_NOTIFY_Dhcp,
  SWI_NOTIFY_PPP, SWI_NOTIFY_RadioPower, SWI_NOTIFY_RadioTempState, SWI_NOTIFY_RadioBattery,
  SWI_NOTIFY_RadioBand, SWI_NOTIFY_AudioProfile, SWI_NOTIFY_DeviceTime, SWI_NOTIFY_MpFwDownload = 300,
  SWI_NOTIFY_Gps, SWI_NOTIFY_ExtDio, SWI_NOTIFY_ExtAi, SWI_NOTIFY_GpsCommand,
  SWI_NOTIFY_MpByteCount, SWI_NOTIFY_MPIgnSense, SWI_NOTIFY_RfDownload, SWI_NOTIFY_SimSled,
  SWI_NOTIFY_BatteryStatus, SWI_NOTIFY_MpShutdown, SWI_NOTIFY_MpConnect, SWI_NOTIFY_MpStartupDiag,
  SWI_NOTIFY_MpDisconnect, SWI_NOTIFY_SmsStatus = 500, SWI_NOTIFY_SmsSendStatus, SWI_NOTIFY_LbsPdData = 603,
  SWI_NOTIFY_LbsPdDone, SWI_NOTIFY_LbsPdEnd, SWI_NOTIFY_LbsPdBegin, SWI_NOTIFY_LbsPdUpdateFailure,
  SWI_NOTIFY_LbsPdDloadBegin, SWI_NOTIFY_LbsPdDloadData, SWI_NOTIFY_LbsPdDloadDone, SWI_NOTIFY_LbsPdDloadEnd,
  SWI_NOTIFY_LbsPaIpAddr, SWI_NOTIFY_LbsPaGpsLock, SWI_NOTIFY_LbsPaPtlmMode, SWI_NOTIFY_LbsPaPortId,
  SWI_NOTIFY_LbsPaPrivacy, SWI_NOTIFY_LbsPaNetAccess, SWI_NOTIFY_LbsPaBsInfo, SWI_NOTIFY_LbsPaWarmBegin,
  SWI_NOTIFY_LbsPaWarmStatus, SWI_NOTIFY_LbsPaWarmDone, SWI_NOTIFY_LbsSatInfo, SWI_NOTIFY_LbsPdGetStatus,
  SWI_NOTIFY_LbsNiReq, SWI_NOTIFY_LbsXtraAssistData, SWI_NOTIFY_LbsXtraTimeInfo, SWI_NOTIFY_LbsXtraDloadTrigger,
  SWI_NOTIFY_ChannelNumber = 1000, SWI_NOTIFY_ChannelState, SWI_NOTIFY_ServiceIndication, SWI_NOTIFY_RoamingStatus,
  SWI_NOTIFY_Ecio, SWI_NOTIFY_AuthenticationStatus, SWI_NOTIFY_CallByteCounter, SWI_NOTIFY_CallConnecting,
  SWI_NOTIFY_CallConnected, SWI_NOTIFY_CallIncoming, SWI_NOTIFY_CallCallerID, SWI_NOTIFY_CallExtendedCallerID,
  SWI_NOTIFY_CallDisconnected, SWI_NOTIFY_CallError, SWI_NOTIFY_Prev, SWI_NOTIFY_ActiveNam,
  SWI_NOTIFY_TechSid, SWI_NOTIFY_TechNid, SWI_NOTIFY_TechBsInfo, SWI_NOTIFY_TechBandClass,
  SWI_NOTIFY_TechRegZone, SWI_NOTIFY_TechPacketZone, SWI_NOTIFY_TechPcsBlock, SWI_NOTIFY_TechCellChannel,
  SWI_NOTIFY_SystemTime, SWI_NOTIFY_ActivationStatus, SWI_NOTIFY_V42BisEnabled, SWI_NOTIFY_CallNotificationStatus,
  SWI_NOTIFY_CallDormant, SWI_NOTIFY_CallPrivacy, SWI_NOTIFY_E911Mode, SWI_NOTIFY_ModemTooHotIndication,
  SWI_NOTIFY_OTASPState, SWI_NOTIFY_PowerSaveEnter, SWI_NOTIFY_PowerSaveExit, SWI_NOTIFY_FlashBurn,
  SWI_NOTIFY_ExcessSPCFailure, SWI_NOTIFY_HdrNotificationStatus, SWI_NOTIFY_Hdr_Acq, SWI_NOTIFY_Hdr_Rssi,
  SWI_NOTIFY_Rssi_Ecio, SWI_NOTIFY_Hdr_Roam_Status, SWI_NOTIFY_Hdr_Srv_State, SWI_NOTIFY_Hdr_Hybr_Pref,
  SWI_NOTIFY_Idle_Digital_Mode, SWI_NOTIFY_DDTM_Pref, SWI_NOTIFY_Hdr_PowerSave_Enter, SWI_NOTIFY_Hdr_PowerSave_Exit,
  SWI_NOTIFY_TechHdrNotificationStatus, SWI_NOTIFY_Tech_Hdr_Prev, SWI_NOTIFY_Tech_Hdr_Sector, SWI_NOTIFY_Tech_Hdr_State,
  SWI_NOTIFY_Tech_Hdr_Channel, SWI_NOTIFY_Tech_Hdr_Session, SWI_NOTIFY_Tech_Hdr_An_Auth, SWI_NOTIFY_Tech_Hdr_Drc_Val,
  SWI_NOTIFY_Tech_Hdr_Drc_Cover, SWI_NOTIFY_Tech_Hdr_Rri, SWI_NOTIFY_Tech_Hdr_Stats, SWI_NOTIFY_DebugRevMsg,
  SWI_NOTIFY_SPCS_HIOTA_STATUS, SWI_NOTIFY_RuimStatus, SWI_NOTIFY_IOTA_Status, SWI_NOTIFY_IOTA_WAPPush,
  SWI_NOTIFY_Tech_Hdr_Su_Fwd_Stats, SWI_NOTIFY_Tech_Hdr_Su_Fwd_Slot_Cnt, SWI_NOTIFY_Tech_Hdr_Su_Fwd_Slot_Cnt2, SWI_NOTIFY_Tech_Hdr_Mu_Fwd_Stats,
  SWI_NOTIFY_Tech_Hdr_Personality, SWI_NOTIFY_Tech_Hdr_Mac_Index, SWI_NOTIFY_NetworkStatus = 2000, SWI_NOTIFY_Temperature,
  SWI_NOTIFY_SmsSimFull, SWI_NOTIFY_BandWrite, SWI_NOTIFY_MissedCall, SWI_NOTIFY_PktSessionStatus,
  SWI_NOTIFY_Registration, SWI_NOTIFY_SmsSendReference, SWI_NOTIFY_SimStatusExp, SWI_NOTIFY_RegistrationExp,
  SWI_NOTIFY_CallProgress, SWI_NOTIFY_CallStatus, SWI_NOTIFY_ByteCounter, SWI_NOTIFY_PhonebookReady,
  SWI_NOTIFY_PhonebookEntry, SWI_NOTIFY_PlmnMode, SWI_NOTIFY_PlmnAvailable, SWI_NOTIFY_ModemDisabled,
  SWI_NOTIFY_PlmnReady, SWI_NOTIFY_VoiceMessage, SWI_NOTIFY_IconGprsState, SWI_NOTIFY_IconRoamState,
  SWI_NOTIFY_CallForwarded, SWI_NOTIFY_CFIcon, SWI_NOTIFY_STKCommand, SWI_NOTIFY_DataRate,
  SWI_NOTIFY_ServiceIcon, SWI_NOTIFY_TTYControl, SWI_NOTIFY_PktSessionCall, SWI_NOTIFY_NvStore,
  SWI_NOTIFY_HSDPA_TestChan, SWI_NOTIFY_GsmSystemStatus, SWI_NOTIFY_RscpEcIo, SWI_NOTIFY_GsmCellInfo,
  SWI_NOTIFY_GsmProfileChange, SWI_NOTIFY_GsmDefaultChange, SWI_NOTIFY_SmsReady = 2200, SWI_NOTIFY_SmsStoreExp,
  SWI_NOTIFY_SmsSendExp, SWI_NOTIFY_SmsDeliver, SWI_NOTIFY_SmsReceived, SWI_NOTIFY_SmsSubmit,
  SWI_NOTIFY_SmsStatusReport, SWI_NOTIFY_SmsSimStatus, SWI_NOTIFY_SSPasswordStatus = 2250, SWI_NOTIFY_SSRespOK,
  SWI_NOTIFY_SSRespFwdInfo, SWI_NOTIFY_SSRespCallBar, SWI_NOTIFY_SSRespInfoData, SWI_NOTIFY_SSRespStatus,
  SWI_NOTIFY_SSRespFwdNum, SWI_NOTIFY_SSRespBSList, SWI_NOTIFY_SSRespFwdList, SWI_NOTIFY_SSRespRaw,
  SWI_NOTIFY_SSRespPassword, SWI_NOTIFY_SSRespClir, SWI_NOTIFY_SSRespError, SWI_NOTIFY_SSRespReject,
  SWI_NOTIFY_SSRespCancel, SWI_NOTIFY_SSRespRelease, SWI_NOTIFY_SSNotify, SWI_NOTIFY_SS_USSD_REQ,
  SWI_NOTIFY_OMADM_Config, SWI_NOTIFY_OMADM_State, SWI_NOTIFY_OMADM_NI_Alert, SWI_NOTIFY_OMADM_UI_Alert_Display,
  SWI_NOTIFY_OMADM_UI_Alert_Confirm, SWI_NOTIFY_OMADM_UI_Alert_Input, SWI_NOTIFY_OMADM_UI_Alert_Choice, SWI_NOTIFY_DM_DL_Progress,
  SWI_NOTIFY_DM_DL_Alert, SWI_NOTIFY_DM_DL_InstallStatus, SWI_NOTIFY_NVUpdateFromFile, SWI_NOTIFY_SpkrVol,
  SWI_NOTIFY_END_NOTIFY
}
 

Functions

SWI_API SWI_RCODE SwiCreateNotifThread (void(*threadfuncp)(void))
 
SWI_API SWI_RCODE SwiWaitNotification (void)
 
SWI_API SWI_RCODE SwiRegisterCallback (SWI_CALLBACK_EX pCallback, swi_uint64 nNotifications)
 
SWI_API SWI_RCODE SwiDeRegisterCallback (SWI_CALLBACK_EX pCallback)
 
SWI_API SWI_RCODE SwiNotify (enum SWI_TYPE_Notify eNotify, swi_uint32 timeout)
 
SWI_API SWI_RCODE SwiStopNotify (enum SWI_TYPE_Notify eNotify, swi_uint32 timeout)
 

Detailed Description

This file contains definitions, enumerations, structures and forward declarations for SwiApiNotify.c file.

Copyright (c) 2011 Sierra Wireless, Inc. All rights reserved

Macro Definition Documentation

#define LENGTH_BootBuildDate   9
#define LENGTH_CommPort   7
#define LENGTH_DriverName   100
#define LENGTH_HardwareId   50
#define LENGTH_IPAddress   16
#define LENGTH_LogFileName   128
#define LENGTH_MacAddress   6
#define LENGTH_MaxPPPString   33
#define LENGTH_ModemName   75
#define LENGTH_ProductName   20
#define LENGTH_SdkPathName   128
#define LENGTH_TimeStamp   16
#define LENGTH_UsbdBuildDate   9
#define LENGTH_UsbdVersion   85
#define MAX_AIR_SERVERS   50 /* Must be < than a frame. */
#define MAX_BAND_GROUPS   50
#define MAX_BAND_LIST   50
#define MAX_NOTIF_LIST   122
#define MAX_NUM_LBS_SV   12
#define NUMVALUE_WIMAX   80216

Typedef Documentation

typedef void(* SWI_CALLBACK_EX)(struct SwiNotifyVariant *pNotify)

Enumeration Type Documentation

This enumerated data type defines a variety of notification types.

API notifications are always enabled while modem originated notifications must be enabled before an update is sent form the modem. Notifications are disabled by default at power up and after a reset. Therefore, application must re-enable all desired notifications when device powers up or a reset is detected.

The following common API notifications are always enabled and do not require enabling. Modem originated notifications must be enabled before an update is sent from the modem.

  • SWI_NOTIFY_AirServerChange
  • SWI_NOTIFY_LockAirServer
  • SWI_HW_NOTIFY_Power
  • SWI_NOIIFY_Power
  • SWI_NOTIFY_MUX_Shutdown
Enumerator
SWI_NOTIFY_NULL 

Invalid notification. This is simply a place holder.

SWI_NOTIFY_AirServerChange 

Air server insertion/removal notification. This notification is always enabled and can not be disabled.

See Also
The corresponding User structure is SWI_STRUCT_AirServerChange
SWI_NOTIFY_LockAirServer 

Air server lock notification. This notification is always enabled and can not be disabled.

See Also
The corresponding User structure is SWI_STRUCT_LockAirServer
SWI_HW_NOTIFY_Power 

Hardware power state change. No need to re-enable mask. This notification is always enabled and can not be disabled. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_HW_STRUCT_Power
SWI_NOTIFY_Power 

Device power notification. Previously used to indicate device removal. SWI_NOTIFY_AirServerChange should now be used instead. This notification is always enabled and can not be disabled.

See Also
The corresponding User structure is SWI_STRUCT_Power
SWI_NOTIFY_MUX_Shutdown 

API service has shutdown. API service must be restarted and SwiApiClose and SwiApiOpen must be called before normal operation can proceed. This notification is always enabled and can not be disabled. This notification does not have an associated user structure.

SWI_NOTIFY_HeartBeat 

Provides a mechanism to assure the application that the modem is still connected and running normally. This event is forwarded approximately every 10 seconds. It is recommended that this object no longer be used as it prevents the host USB bus controller from entering into low power state to conserve battery life.

See Also
The corresponding User structure is SWI_STRUCT_HeartBeat
This notification is not implemented in LinuxSDK but
may be in the future - DO NOT USE yet
SWI_NOTIFY_HeadsetIcon 

Notifies the app of headset attachment state.

See Also
The corresponding User structure is SWI_STRUCT_HeadsetIcon
SWI_NOTIFY_HeadsetState 

Notifies the application of the headset state. Headset state is not supported on the SB555.

See Also
The corresponding User structure is SWI_STRUCT_HeadsetState
SWI_NOTIFY_Rssi 

The Received Signal Strength Indicator (RSSI) is reported only when the value changes. The notification is issued at the slot cycle index as set by the service provider. For larger slot cycle indexes, the notification is issued less often. A slot cycle index of 1 generates this notification at about 2-second intervals.

See Also
The corresponding User structure is SWI_STRUCT_Rssi
SWI_NOTIFY_TransmitAlert 

Indicates to the application that there is a problem with the antenna. It should be assumed that the problem will not persist longer than 10 seconds. If the antenna problem continues another transmit alert event will be generated by the modem.

See Also
The corresponding User structure is SWI_STRUCT_TransmitAlert
SWI_NOTIFY_Reset 

Reports to the application when the modem resets. This notification is received when modem is inserted, after power up, after a firmware download and during any process which causes a modem reset. Modem notifications which were previously enabled will default back to their original state (off). When received, the application must re-enable all desired notifications again. This notification is always enabled and can not be disabled.

See Also
The corresponding User structure is SWI_STRUCT_Reset
SWI_NOTIFY_Band 

Provides the application with band status updates, typically occurring after the frequency band has changed.

See Also
The corresponding User structure is SWI_STRUCT_Band
SWI_NOTIFY_Debug 

Not supported in this version of the SDK.

See Also
The corresponding User structure is SWI_STRUCT_Debug
SWI_NOTIFY_FwDownload 

Provides firmware download progress status. Errors during the firmware download process are also reported.

See Also
The corresponding User structure is SWI_STRUCT_FwDownload
SWI_NOTIFY_Dhcp 

Not supported in this version of the SDK.

See Also
The corresponding User structure is SWI_STRUCT_Dhcp
SWI_NOTIFY_PPP 

Not supported in this version of the SDK.

See Also
The corresponding User structure is SWI_STRUCT_PPP
SWI_NOTIFY_RadioPower 

Indicates the modem power state has changed. This notification is only available on 3G or newer CDMA and GSM products.

See Also
The corresponding User structure is SWI_STRUCT_RadioPower.
SWI_NOTIFY_RadioTempState 

Indicates the modem temperature state has changed. This notification is only available on 3G or newer CDMA and GSM products.

See Also
The corresponding User structure is SWI_STRUCT_RadioTempState.
SWI_NOTIFY_RadioBattery 

Indicates the current supply voltage of the modem has changed. This notification is only available on CDMA and GSM MiniCard products.

See Also
The corresponding User structure is SWI_STRUCT_RadioBattery.
SWI_NOTIFY_RadioBand 

Indicates there is a change in the band(s) the modem is currently using. This notification is available on 3G CDMA and GSM products. On some CDMA devices, multiple bands can be used at one time.

See Also
The corresponding User structure is SWI_STRUCT_RadioBandList.
SWI_NOTIFY_AudioProfile 

Indicates there is a change in the modem's audio profile. This notification is available on 3G CDMA and GSM products.

See Also
The corresponding User structure is SWI_STRUCT_AudioProfile.
SWI_NOTIFY_DeviceTime 

Indicates a change in the system time of the device This notification is available on 3G CDMA and GSM products. This notification is only sent on initial network attach for GSM products, when service is acquired/reacquired for CDMA based products, and if and when the time zone information changes.

See Also
The corresponding User structure is SWI_STRUCT_DeviceTime.
SWI_NOTIFY_MpFwDownload 

MP firmware download notification. There is no user structure associated with this object.

SWI_NOTIFY_Gps 

Provides constant and up-to-date GPS information at regular intervals.

See Also
The corresponding User structure is SWI_STRUCT_Gps
SWI_NOTIFY_ExtDio 

Provides current logic level of all external digital I/Os.

See Also
The corresponding User structure is SWI_STRUCT_ExtDioNotif
SWI_NOTIFY_ExtAi 

Provides current logic level of all external analog inputs.

See Also
The corresponding User structure is SWI_STRUCT_ExtAiNotif
SWI_NOTIFY_GpsCommand 

Provides the result/response of a GPS command sent to the GPS module in the modem.

See Also
The corresponding User structure is SWI_STRUCT_GpsCommand
SWI_NOTIFY_MpByteCount 

Provides byte counter information.

See Also
The corresponding User structure is SWI_STRUCT_MpByteCounter
SWI_NOTIFY_MPIgnSense 

First informs the host software when the ignition is turned off, then when shutdown time approaches, more notifications are sent to indicate that the MP750 will soon be shutdown.

See Also
The corresponding User structure is SWI_STRUCT_IgnSense
SWI_NOTIFY_RfDownload 

RF download progress.

See Also
The corresponding User structure is SWI_STRUCT_RfDownload
SWI_NOTIFY_SimSled 

Provides SIM sled status.

See Also
The corresponding User structure is SWI_STRUCT_SimSled
SWI_NOTIFY_BatteryStatus 

Provides low battery alert.

See Also
The corresponding User structure is SWI_STRUCT_BatteryStatus
SWI_NOTIFY_MpShutdown 

Provides the reason behind a MP shutdown

See Also
The corresponding User structure is SWI_STRUCT_MpShutdown
SWI_NOTIFY_MpConnect 

Provides MP test connection result (Under a Serial connection). Provides MP connection result (Under a USB connection)

See Also
The corresponding User structure is SWI_STRUCT_MpConnect
SWI_NOTIFY_MpStartupDiag 

MP startup diagnostics.

See Also
The corresponding User structure is SWI_STRUCT_MpStartupDiag
SWI_NOTIFY_MpDisconnect 

MP disconnect notification.

See Also
The corresponding User structure is SWI_STRUCT_MpDisconnect
SWI_NOTIFY_SmsStatus 

Reports the status of SMS records on the modem whenever a new message arrives. Whenever an SMS message arrives, the modem can generate this event notification. The data reported advises the application of the number of SMS messages stored in the modem. This SmsStatus notification will trigger on the arrival of any SMS message that can be stored in the modem. If the modem memory fills, and additional messages are declined, there will be no further notifications.

See Also
The corresponding User structure is SWI_STRUCT_GSM_SMS_Status for GMS devices and SWI_STRUCT_CDMA_SMS_Status for CDMA devices.
SWI_NOTIFY_SmsSendStatus 

Reports the results of sending a mobile originated SMS message. This notification passes the acknowledgment from the network to the application for SMS messages sent.

See Also
The corresponding User structure is SWI_STRUCT_GSM_SMS_SendStatus for GSM devices and SWI_STRUCT_CDMA_SMS_SendStatus for CDMA devices.
SWI_NOTIFY_LbsPdData 

Notifies the host application of the result of the position fix.

See Also
The corresponding User structure is SWI_STRUCT_LbsPdData.
SWI_NOTIFY_LbsPdDone 

Notifies the host application that a position determination download session has completed.

See Also
The corresponding User structure is SWI_STRUCT_LbsPdDone.
SWI_NOTIFY_LbsPdEnd 

Notifies the host application that a position determination fix session had an error.

See Also
The corresponding User structure is SWI_STRUCT_LbsPdEnd.
SWI_NOTIFY_LbsPdBegin 

Notifies the host application that a position determination fix session has begun.

See Also
The corresponding User structure is SWI_STRUCT_LbsPdBegin.
SWI_NOTIFY_LbsPdUpdateFailure 

Notifies the host application that a position determination session has failed.

See Also
The corresponding User structure is SWI_STRUCT_LbsPdUpdateFailure.
SWI_NOTIFY_LbsPdDloadBegin 

Notifies the host application that a data download session has begun.

See Also
The corresponding User structure is SWI_STRUCT_LbsPdDloadBegin.
SWI_NOTIFY_LbsPdDloadData 

Notifies the host application that ephemeris and almanac data has been downloaded.

See Also
The corresponding User structure is SWI_STRUCT_LbsPdDloadData.
SWI_NOTIFY_LbsPdDloadDone 

Notifies the host application that a position determination download session has completed.

See Also
The corresponding User structure is SWI_STRUCT_LbsPdDloadDone.
SWI_NOTIFY_LbsPdDloadEnd 

Notifies the host application that a position determination download data session had an error.

See Also
The corresponding User structure is SWI_STRUCT_LbsPdDloadEnd.
SWI_NOTIFY_LbsPaIpAddr 

This notification contains the default value for the TCP/IP address used in LBS sessions.

See Also
The corresponding User structure is SWI_STRUCT_LbsPaIpAddr.
SWI_NOTIFY_LbsPaGpsLock 

This notification contains the default value for the GPS lock used in LBS sessions.

See Also
The corresponding User structure is SWI_STRUCT_LbsPaGpsLock.
SWI_NOTIFY_LbsPaPtlmMode 

This notification contains the mechanism used to transport LBS messages.

See Also
The corresponding User structure is SWI_STRUCT_LbsPaPtlmMode.
SWI_NOTIFY_LbsPaPortId 

This notification contains the default value for the port ID used in LBS sessions.

See Also
The corresponding User structure is SWI_STRUCT_LbsPaPortId.
SWI_NOTIFY_LbsPaPrivacy 

This notification contains the default value for the privacy level used for LBS sessions.

See Also
The corresponding User structure is SWI_STRUCT_LbsPaPrivacy.
SWI_NOTIFY_LbsPaNetAccess 

This notification contains the default value for the network access permissions used during LBS sessions.

See Also
The corresponding User structure is SWI_STRUCT_LbsPaNetAccess.
SWI_NOTIFY_LbsPaBsInfo 

This notification contains the base station currently being accessed.

See Also
The corresponding User structure is SWI_STRUCT_LbsPaBsInfo.
SWI_NOTIFY_LbsPaWarmBegin 

Notifies the registered host application that keep warming processing has begun.

See Also
The corresponding User structure is SWI_STRUCT_LbsPaWarmBegin.
SWI_NOTIFY_LbsPaWarmStatus 

This notification reports the keep warm processing status and is only available on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_LbsPaWarmStatus.
SWI_NOTIFY_LbsPaWarmDone 

Notifies the host application that keep warm processing is done.

See Also
The corresponding User structure is SWI_STRUCT_LbsPaWarmDone.
SWI_NOTIFY_LbsSatInfo 

This notification lists satellites visible during the last position fix session. It also identifies the satellites used in the latest position fix.

See Also
The corresponding User structure is SWI_STRUCT_LbsSatInfo.
SWI_NOTIFY_LbsPdGetStatus 

This notification provides the current status of the LBS.

See Also
The corresponding User structure is SWI_STRUCT_LbsPdGetStatus.
SWI_NOTIFY_LbsNiReq 

Notifies the host of a network initiated location fix request.

   The associated user structure is SWI_STRUCT_LbsNiReq.  The host should 
   display the requester ID and client name if these fields are present.  

   If the notification type requires a user response, the host should 
   present a dialog to the user with the options &quot;Accept&quot; and 
   &quot;Reject&quot; for the user to choose from.  The host will respond 
   using SwiSetLbsNiReq to the modem based on the user&apos;s selection
   (TYPE_LbsNiReqResp).  If the user chooses not to respond (e.g. closed 
   dialog box), the host must respond with a set request where the user 
   response is &quot;Cancel request&quot;.  If the user does not respond 
   to the dialog within the specified timeout period, the host should
   close the dialog and send a set request where the user response is 
   &quot;Cancel request&quot;.  Note that the modem will assume the user 
   response is &quot;Cancel request&quot; after the timeout period has 
   elapsed regardless of what the host continues to send.
See Also
SWI_STRUCT_LbsNiReq
SwiSetLbsNiReq
SWI_NOTIFY_LbsXtraAssistData 

Notifies the host of GPS One Xtra subsystem requests for almanac injection data.

See Also
The corresponding User structure is SWI_STRUCT_LbsXtraAssist.
SWI_NOTIFY_LbsXtraTimeInfo 

Notifies the host of GPS One Xtra subsystem requests for time injection data.

See Also
The corresponding User structure is SWI_STRUCT_LbsXtraAssist.
SWI_NOTIFY_LbsXtraDloadTrigger 

Notifies the host of GPS One Xtra subsystem data download trigger.

See Also
The corresponding User structure is SWI_STRUCT_LbsXtraDloadTrigger.
SWI_NOTIFY_ChannelNumber 

Reports each channel number the radio tunes to. Using this notification type, the application is advised each time the radio tunes to a different channel. This can be very frequent when the radio is scanning for a usable channel.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_ChannelNumber
SWI_NOTIFY_ChannelState 

Reports channel acquisition and scanning. Using this notification type, the application can keep the user aware of changes in the channel lock of the radio. Whenever the radio acquires or loses a channel, this notification is issued.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_ChannelState
SWI_NOTIFY_ServiceIndication 

Reports entering and leaving coverage. Using this notification type, the application can keep the user aware of changes in the channel lock of the radio. Whenever the radio acquires or loses a channel, this notification is issued.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_ServiceIndication
SWI_NOTIFY_RoamingStatus 

Reports the current roaming state of the modem. Using this notification type, the application can keep the user aware of changes in the received signal strength.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_RoamingStatus
SWI_NOTIFY_Ecio 

Not supported in this version of the SDK.

SWI_NOTIFY_AuthenticationStatus 

Not supported in this version of the SDK.

SWI_NOTIFY_CallByteCounter 

Reports data traffic received and transmitted. Using this notification type, the application can keep the user aware of the amount of traffic on the current connection. The notification is issued at 1-second intervals during a data connection.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_CallByteCounter
SWI_NOTIFY_CallConnecting 

Reports when a call connection is initiated. This notification advises the application that the process of connecting a call has initiated. There is no polling equivalent. This notification is enabled and disabled via SWI_NOTIFY_CallNotificationStatus.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_CallConnecting
SWI_NOTIFY_CallConnected 

Reports the successful connection of a call. This notification advises the application that a call has been successfully connected. This notification is enabled and disabled via SWI_NOTIFY_CallNotificationStatus.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_CallConnected
SWI_NOTIFY_CallIncoming 

Equivalent to a ring, this advises of the incoming call type as well. This notification advises the application that there is an incoming call request. This notification is enabled and disabled via SWI_NOTIFY_CallNotificationStatus.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_CallIncoming
SWI_NOTIFY_CallCallerID 

Reports the standard caller ID of incoming calls (where supported by the network). This notification type passes the caller ID string to the application for incoming calls (where supported by the network). The format of the string is determined by the network. Both the standard and extended caller IDs are sent if enabled.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_CallCallerID
SWI_NOTIFY_CallExtendedCallerID 

Reports the extended caller ID of incoming calls (where supported by the network). This notification type passes an extended caller ID string to the application for incoming calls (where supported by the network). The format of the string is determined by the network. Both the standard and extended caller IDs are sent if enabled.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_CallExtendedCallerID
SWI_NOTIFY_CallDisconnected 

Reports when a call is disconnected. This notification advises the application that a call has been disconnected. This notification is enabled and disabled via SWI_NOTIFY_CallNotificationStatus.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_CallDisconnected
SWI_NOTIFY_CallError 

Reports errors in call management operations. This notification advises the application that an error or fault has been detected in a call. This can happen anytime during a connection. This notification is enabled and disabled via SWI_NOTIFY_CallNotificationStatus.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_CallError
SWI_NOTIFY_Prev 

Reports changes in the protocol revision available from the serving base station. This notification type advises the application when there is a change in the protocol revision supported by the serving base station.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_Prev
SWI_NOTIFY_ActiveNam 

Only supported on CDMA devices.

SWI_NOTIFY_TechSid 

Only supported on CDMA devices.

SWI_NOTIFY_TechNid 

Only supported on CDMA devices.

SWI_NOTIFY_TechBsInfo 

Only supported on CDMA devices.

SWI_NOTIFY_TechBandClass 

Reports changes in the radio band being used (cellular or PCS). This notification type informs the application of changes in the radio band being used: cellular or PCS.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_TechBandClass
SWI_NOTIFY_TechRegZone 

Only supported on CDMA devices.

SWI_NOTIFY_TechPacketZone 

Only supported on CDMA devices.

SWI_NOTIFY_TechPcsBlock 

Only supported on CDMA devices.

SWI_NOTIFY_TechCellChannel 

Only supported on CDMA devices.

SWI_NOTIFY_SystemTime 

Only supported on CDMA devices.

SWI_NOTIFY_ActivationStatus 

Only supported on CDMA devices.

SWI_NOTIFY_V42BisEnabled 

Only supported on CDMA devices.

SWI_NOTIFY_CallNotificationStatus 

Enables and disables a group of notifications related to call management. This notification type is used to enable and disable the following call management notifications as a single block:

  • SWI_NOTIFY_CallConnecting
  • SWI_NOTIFY_CallConnected
  • SWI_NOTIFY_CallIncoming
  • SWI_NOTIFY_CallDisconnected
  • SWI_NOTIFY_CallError
  • SWI_NOTIFY_CallDormant
  • SWI_NOTIFY_OTASPState

There is no actual notification data associated with CallNotificationStatus itself.

Only supported on CDMA devices.

See Also
SWI_NOTIFY_CallConnecting
SWI_NOTIFY_CallConnected
SWI_NOTIFY_CallIncoming
SWI_NOTIFY_CallDisconnected
SWI_NOTIFY_CallError
SWI_NOTIFY_CallDormant
SWI_NOTIFY_OTASPState
SWI_NOTIFY_CallDormant 

Reports when a call enters dormant state. This notification advises the application that a call has been placed in dormant state. When a call leaves dormant state, the SWI_NOTIFY_CallConnected notification is issued. This notification is enabled and disabled via SWI_NOTIFY_CallNotificationStatus.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_CallDormant
SWI_NOTIFY_CallPrivacy 

Reports changes in voice call privacy. When the Enhanced Privacy Option is enabled (at manufacturing time), the modem issues a request to use the Call Privacy feature whenever a voice call (both incoming and outgoing) is established. The base station can accept or reject the request depending on its settings. If voice privacy is successfully established, this notification indicates that call privacy is on. In addition, when a handover to a new base station occurs, the voice privacy feature may or may not be available at the new base station; again triggering the notificiation if there is a change.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_CallPrivacy
SWI_NOTIFY_E911Mode 

Reports entry to, and exit from, E911 mode. This notification type advised the application when the modem enters or leaves E911 mode.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_E911Mode
SWI_NOTIFY_ModemTooHotIndication 

Not supported in this version of the SDK.

SWI_NOTIFY_OTASPState 

Reports each stage of the OTASP process. This notification advises the application that a call has been placed in dormant state. This notification is enabled and disabled via SWI_NOTIFY_CallNotificationStatus.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_OTASPState
SWI_NOTIFY_CallNotificationStatus
SWI_NOTIFY_PowerSaveEnter 

Reports entry to power-save mode. This notification type advised the application when the modem enters power-save mode.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_PowerSaveEnter
SWI_NOTIFY_PowerSaveExit 

Reports exit from power-save mode. This notification type advised the application when the modem leaves power-save mode.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_PowerSaveExit
SWI_NOTIFY_FlashBurn 

Not supported in this version of the SDK.

SWI_NOTIFY_ExcessSPCFailure 

Not supported in this version of the SDK.

SWI_NOTIFY_HdrNotificationStatus 

Not supported in this version of the SDK.

SWI_NOTIFY_Hdr_Acq 

Not supported in this version of the SDK. Use SWI_NOTIFY_Hdr_Srv_State instead.

See Also
SWI_NOTIFY_Hdr_Srv_State
SWI_NOTIFY_Hdr_Rssi 

Not supported in this version of the SDK. Use SWI_NOTIFY_Rssi_Ecio instead.

See Also
SWI_NOTIFY_Rssi_Ecio
SWI_NOTIFY_Rssi_Ecio 

Indicates a threshold change in RSSI or EcIo.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_Rssi_Ecio
SWI_NOTIFY_Hdr_Roam_Status 

Indicates a change in HDR Roam status.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_Hdr_Roam_Status
SWI_NOTIFY_Hdr_Srv_State 

Indicates a change in HDR Service State.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_Hdr_Srv_State
SWI_NOTIFY_Hdr_Hybr_Pref 

Indicates a change in HDR Hybrid Pref.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_Hdr_Hybr_Pref
SWI_NOTIFY_Idle_Digital_Mode 

Not supported in this version of the SDK.

SWI_NOTIFY_DDTM_Pref 

Indicates a change in DDTM pref.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_DDTM_Pref
SWI_NOTIFY_Hdr_PowerSave_Enter 

Indicates when modem has entered HDR Power save mode.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_Hdr_PowerSave_Enter
SWI_NOTIFY_Hdr_PowerSave_Exit 

Indicates when modem has exited HDR power save mode. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_Hdr_PowerSave_Exit
SWI_NOTIFY_TechHdrNotificationStatus 

Indicates HDR notification status mask. Only supported on CDMA devices.

SWI_NOTIFY_Tech_Hdr_Prev 

Indicates HDR Prev. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Prev
SWI_NOTIFY_Tech_Hdr_Sector 

Indicates HDR Sector. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Sector
SWI_NOTIFY_Tech_Hdr_State 

Indicates HDR Sector. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_State
SWI_NOTIFY_Tech_Hdr_Channel 

Indicates HDR channel. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Channel
SWI_NOTIFY_Tech_Hdr_Session 

Indicates HDR session. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Session
SWI_NOTIFY_Tech_Hdr_An_Auth 

Indicates HDR an authentication. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_TYPE_Tech_Hdr_An_Auth
SWI_NOTIFY_Tech_Hdr_Drc_Val 

Indicates HDR drc value. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Drc_Val
SWI_NOTIFY_Tech_Hdr_Drc_Cover 

Indicates HDR drc cover. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Drc_Cover
SWI_NOTIFY_Tech_Hdr_Rri 

Indicates HDR rri. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Rri
SWI_NOTIFY_Tech_Hdr_Stats 

Indicates HDR statistics. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Stats
SWI_NOTIFY_DebugRevMsg 

Indicates debug package data. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_DebugPacket
SWI_NOTIFY_SPCS_HIOTA_STATUS 

Indicates HIOTA status. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_HIOTAStatus
SWI_NOTIFY_RuimStatus 

Indicates RUIM status. Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_RuimStatus
SWI_NOTIFY_IOTA_Status 

Embedded IOTA status notification. Need to enable/disable the mask.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_IOTA_State
SWI_NOTIFY_IOTA_WAPPush 

Embedded IOTA WAP URI notification. This should be enabled to receive the WAP trigger.

Only supported on CDMA devices.

See Also
The corresponding User structure is SWI_STRUCT_IOTA_WAPPush
SWI_NOTIFY_Tech_Hdr_Su_Fwd_Stats 

Indicates HDR Rev A su forward statistics data.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Su_Fwd_Stats
SWI_NOTIFY_Tech_Hdr_Su_Fwd_Slot_Cnt 

Indicates HDR Rev A su forward count data.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Su_Fwd_Slot_Cnt
SWI_NOTIFY_Tech_Hdr_Su_Fwd_Slot_Cnt2 

Indicates HDR Rev A su forward count data.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Su_Fwd_Slot_Cnt2
SWI_NOTIFY_Tech_Hdr_Mu_Fwd_Stats 

Indicates HDR Rev A mu forward statistics data.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Mu_Fwd_Stats
SWI_NOTIFY_Tech_Hdr_Personality 

Indicates HDR Rev A personality data.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Personality
SWI_NOTIFY_Tech_Hdr_Mac_Index 

Indicates HDR Rev A MAC index data.

   Only supported on CDMA devices.
See Also
The corresponding User structure is SWI_STRUCT_Tech_Hdr_Mac_Index
SWI_NOTIFY_NetworkStatus 

Notifies the application of the network status with each change in service (status, roaming, cell ID, etc).

Only supports GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_GSM_NetworkStatus
SWI_NOTIFY_Temperature 

Reports the temperature of the radio whenever it changes. If the temperature gets high, the application may elect to disconnect or throttle back on traffic.

Only supports GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_Temperature
SWI_NOTIFY_SmsSimFull 

Reports that the SIM Card memory has been filled and any subsequent SMS messages will be declined by the modem (and possibly held at the SMS Service Center).

Only supports GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_SMS_SimFull
SWI_NOTIFY_BandWrite 

Reports the status of the frequency band change request initiated by the SwiSetBandInfo function. The new frequency band will be reported by the SWI_NOTIFY_Band notification.

Only supports GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_Band
SWI_NOTIFY_MissedCall 

Notifies the application of the number of missed voice calls. The missed voice call count can be cleared by the application using the SwiAcknowledgeMissedCall function. The missed voice call count will not persist through a modem reset.

Only supports GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_MissedCall
SWI_NOTIFY_PktSessionStatus 

Reports the current packet session status. Used with AirCard 750 or older GSM devices. When working with newer GSM devices, SWI_NOTIFY_PktSessionCall should be used instead.

See Also
The corresponding User structure is SWI_STRUCT_PktSessionStatus
SWI_NOTIFY_PktSessionCall
SWI_NOTIFY_Registration 

Not supported in this version of the SDK.

SWI_NOTIFY_SmsSendReference 

Not supported in this version of the SDK.

SWI_NOTIFY_SimStatusExp 

Notifies the application of the SIM's status. This notification provides a mechanism for the modem to prompt the user to enter the PIN, PIN2, PUK, PUK2 or Special Code (MEP unlocking code). After every SIM related operation (PIN Change, Enabling of PIN Verification or PUK Entry) this notification will inform the host software of the SIM Status and the result of the previous operation.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_SIM_StatusExp
SWI_NOTIFY_RegistrationExp 

Provides the PLMN and/or SPN to be displayed to the user to indicate what network the mobile is registered on. This information should only be displayed if the mobile is currently registered. The application will receive a new notification every time the mobile registers on a new network.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_Registration
SWI_NOTIFY_CallProgress 

Reports the progress of voice calls. The host is notified of new incoming voice calls.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_CALL_EXP_Progress
SWI_NOTIFY_CallStatus 

Reports the connected calls state. Connected calls can be active, on hold, in a multi-party call or suspended.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_CALL_Status
SWI_NOTIFY_ByteCounter 

Reports the transmit and receive byte counters on the modem. The byte counters can be cleared by the application using the SwiClearDataCounters function. The byte counters will not persist through a modem reset.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_ByteCounter
SWI_NOTIFY_PhonebookReady 

Reports the availability of Phonebook service (includes the ability to read and edit the phonebooks).

Only supported on GSM devices

See Also
The corresponding User structure is SWI_STRUCT_PhonebookReady
SWI_NOTIFY_PhonebookEntry 

Reports a phonebook entry. Currently, only ADN phonebook is read from this notification. Note, when a new phonebook entry is added, a notification is not sent.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_PHONEBK_Entry
SWI_NOTIFY_PlmnMode 

Reports the success of the PLMN mode change request initiated by the SwiSetPLMNMode function.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_PlmnMode
SWI_NOTIFY_PlmnAvailable 

Reports the success of the PLMN scan initiated by the SwiStartPLMNSearch function. This notification will indicate if any networks were found in the scan. The SwiGetPLMNSelection function should be used to fetch the members of the list of found networks.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_PlmnAvailable
SWI_NOTIFY_ModemDisabled 

Reports the modem's enable/disable status.

   Only supported on GSM devices.
See Also
The corresponding User structure is SWI_STRUCT_ModemDisabled
SWI_NOTIFY_PlmnReady 

Reports the availability of manual PLMN selection service.

   Only supported on GSM devices.
See Also
The corresponding User structure is SWI_STRUCT_PlmnReady
SWI_NOTIFY_VoiceMessage 

Notifies the application of a change in voice message waiting flags that reside on the SIM. These flags identify whether or not voice messages and data messages are being stored by the network for retrieval by the mobile. Since this notification will only be sent to the application if there is a change in the mailbox flags it is necessary for the application to call the SwiGetVoiceMessage function to get the initial state of the mailbox flags at startup.

Only supported on GSM devices

See Also
The corresponding User structure is SWI_STRUCT_VoiceMessage
SWI_NOTIFY_IconGprsState 

Allows the application to hide, gray out or display the GPRS icon according to different carrier requirements. When the notification is enabled, a notification is immediately sent to the application.

Only supported on GSM devices

See Also
The corresponding User structure is SWI_STRUCT_IconGprsState
SWI_NOTIFY_IconRoamState 

Allows the application to hide, gray out or display the ROAMING icon according to different carrier requirements. When the notification is enabled, a notification is immediately sent to the application.

Only supported on GSM devices

See Also
The corresponding User structure is SWI_STRUCT_IconRoamState
SWI_NOTIFY_CallForwarded 

Provides an indication to the application to display the "Call Forwarded" string to the user. Some subscriptions on some networks notify the user when a call is forwarded or has been forwarded.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_CallForwarded
SWI_NOTIFY_CFIcon 

Allows the application to gray out or display the Call Forwarding icon depending on the users current call forwarding configuration. When the notification is enabled, a notification is immediately sent to the application.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_CFIcon
SWI_NOTIFY_STKCommand 

Not supported in this version of the SDK.

SWI_NOTIFY_DataRate 

Updates the application with GPRS data rate statistics. This notification is sent periodically once it is enabled. If the data rate information has not change since the last SWI_NOTIFY_DataRate notification was sent then no notification will be sent.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_DataRate
SWI_NOTIFY_ServiceIcon 

Provides the application with the service status information needed to inform the user of its current GPRS/EDGE service state.

See Also
The corresponding User structure is SWI_STRUCT_ServiceIcon.
SWI_NOTIFY_TTYControl 

Not supported in this version of the SDK.

SWI_NOTIFY_PktSessionCall 

Packet session call status. Used with AirCard 875 or newer devices.

   Only supported on GSM devices.
See Also
The corresponding User structure is SWI_STRUCT_PktSessionCall
SWI_NOTIFY_NvStore 

NV backup notification. Used before a firmware upgrade is initiated to instruct the modem to back up information stored in non-volatile memory.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_NvStore
SWI_NOTIFY_HSDPA_TestChan 

HSDPA test channel. Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_HSDPA_TestChan
SWI_NOTIFY_GsmSystemStatus 

GSM System Status. Notifies the application of system status with each change in service.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_GsmSystemStatus
SWI_NOTIFY_RscpEcIo 

GSM Received Signal Code Power(RSCP) and Energy per Chip per Power Density (Ec/Io) of the active set's strongest cells.

This notifications is to be used for diagnostic purposes. It will be sent periodically and only if the reported data has changed.

Information on the strongest active cells will be reported in order of strongest to weakest for a maximum of six cells. These measurements are valid only for UMTS, if the current service is GSM, no information shall be reported in this notification.

The Ec/Io value will represent -dB in half step increments. For example, a reported value of 0x0015 means Ec/Io = -10.5dB.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_RscpEcIo
SWI_NOTIFY_GsmCellInfo 

GSM 2G Cell Information.

   This notifications is to be used for diagnostic purposes.  It 
   will be sent periodically and only if the reported data has changed.

   Only supported on GSM devices.
See Also
The corresponding User structure is SWI_STRUCT_GsmCellInfo
SWI_NOTIFY_GsmProfileChange 

GSM Profile Change.

   This notification indicates that a Connection Profile has changed and
   it gives the profile If and info type that the application may wish
   to refresh.

   Only supported on GSM devices.
See Also
The corresponding User structure is SWI_STRUCT_GsmProfileChange
SWI_NOTIFY_GsmDefaultChange 

GSM Default Profile Change.

   This notification indicates that a default Connection Profile has
   changed.

   Only supported on GSM devices.
See Also
The corresponding User structure is SWI_STRUCT_GsmDefaultChange
SWI_NOTIFY_SmsReady 

Reports the availability of SMS service (includes the ability to read SMS messages from the SIM).

Only supported on GSM devices

See Also
The corresponding User structure is SWI_STRUCT_SmsReady
SWI_NOTIFY_SmsStoreExp 

Indicates that the SMS copy initiated by the calling of the SwiStoreSMSMessageExp API is complete and that the application is now free to take another mobile-originated action using SwiStoreSMSMessageExp or SwiSendSMSMessageExp. This notification will report the success of the last SMS copy request.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_SmsStoreExp
The SwiStoreSMSMessageExp API is associated with this notification
SWI_NOTIFY_SmsSendExp 

Indicates that the SMS send initiated by the calling of the SwiSendSMSMessageExp API is complete and that the application is now free to take another mobile-originated action using SwiStoreSMSMessageExp or SwiSendSMSMessageExp. This notification will report the success of the last SMS send request.

Only supported on GSM devices.

See Also
The corresponding User structure is SWI_STRUCT_SmsSendExp
The SwiSendSMSMessageExp API is associated with this notification
SWI_NOTIFY_SmsDeliver 

Delivers an incoming SMS message or segment that is not to be stored on the SIM to the application.

See Also
The corresponding User structure is SWI_STRUCT_GSM_SMS_Deliver
SWI_NOTIFY_SmsReceived 

Not supported in this version of the SDK.

SWI_NOTIFY_SmsSubmit 

Not supported in this version of the SDK.

SWI_NOTIFY_SmsStatusReport 

Delivers an incoming SMS status report to the application.

   Only supported on GSM devices. 
See Also
The corresponding User structure is SWI_STRUCT_SMS_StatusReport
SWI_NOTIFY_SmsSimStatus 

Not supported in this version of the SDK.

SWI_NOTIFY_SSPasswordStatus 

Indicates that the network is request a particular supplementary service password. This notification may be a result of the application initiating the password registration process through the SwiStartSSPassReg API or the network may have initiated the process.

The application is expected to answer this network request for password using the SwiSetSSPassword API.

Only supported on GSM devices.

See Also
SwiStartSSPassReg
SwiSetSSPassword
SWI_STRUCT_SS_PasswordStatus
SWI_NOTIFY_SSRespOK 

Indicates that a supplementary service action completed successfully. This notification is a network response to a supplementary service request that was completed successful and returned no information.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespOK
SWI_NOTIFY_SSRespFwdInfo 

Indicates that a supplementary service action completed successfully. This notification is a network response to a supplementary service request and it gives call forwarding service status.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespFwdInfo
SWI_NOTIFY_SSRespCallBar 

Indicates that a supplementary service action completed successfully. This notification is a network response to a supplementary service request and it gives call barring service status.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespCallBar
SWI_NOTIFY_SSRespInfoData 

Indicates that a supplementary service action completed successfully. This notification is a network response to a supplementary service request and it gives service status on the requested supplementary service.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespInfoData
SWI_NOTIFY_SSRespStatus 

Indicates that a supplementary service action completed successfully. This notification is a network response to a supplementary service request and it gives the service status on the requested supplementary service.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespStatus
SWI_NOTIFY_SSRespFwdNum 

Indicates that a supplementary service action completed successfully. This notification is a network response to a supplementary service request and it returns a single forwarded number.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespFwdNum
SWI_NOTIFY_SSRespBSList 

Indicates that a supplementary service action completed successfully. This notification is a network response to a supplementary service request and it returns a list of basic service groups in used for the requested supplementary service.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespBSList
SWI_NOTIFY_SSRespFwdList 

Indicates that a supplementary service action completed successfully. This notification is a network response to a supplementary service request and it returns a list of call forwarding information for the requested supplementary service.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespListFwdInfo
SWI_NOTIFY_SSRespRaw 

Indicates that a supplementary service action completed successfully. This notification is a network response to a supplementary service request and it returns a raw binary data.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespRaw
SWI_NOTIFY_SSRespPassword 

Indicates that a supplementary service action completed successfully. This notification is a network response to a supplementary service request and it returns password information.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespPassword
SWI_NOTIFY_SSRespClir 

Indicates that a supplementary service action completed successfully. This notification is a network response to a supplementary service request and it returns CLIR service and setting information.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespClir
SWI_NOTIFY_SSRespError 

Indicates that a supplementary service action completed unsuccessfully. This notification is a network response to a supplementary service request and it returns error cause information.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespError
SWI_NOTIFY_SSRespReject 

Indicates that a supplementary service action completed unsuccessfully. This notification is a network response to a supplementary service request and it returns rejection cause information.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespReject
SWI_NOTIFY_SSRespCancel 

Indicates that a supplementary service action completed cancelled. This notification is a network response to a supplementary service request and it returns cancel cause.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespCancel
SWI_NOTIFY_SSRespRelease 

Indicates that an outstanding supplementary service action has been released. This notification is a network response to a supplementary service request. completed cancelled. This notification is a network response to a supplementary service request and it returns cancel cause.

The application uses the SwiSetSSRequest API to make supplementary service requests. The handle returned by this API call is used to tie the request to its network response.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SS_RespRelease
SWI_NOTIFY_SSNotify 

Indicates that a particular supplemenary service is active. This notification is a network indication.

Only supported on GSM device.

See Also
SwiSetSSRequest
SWI_STRUCT_SSNotify
SWI_NOTIFY_SS_USSD_REQ 

Not supported in this version of the SDK.

SWI_NOTIFY_OMADM_Config 

Indicates modem OMA-DM configuration.

See Also
SwiGetOMADMConfig
SwiSetOMADMConfig
SWI_STRUCT_OMADM_GET_CONFIG
SWI_NOTIFY_OMADM_State 

Indicates modem OMA-DM session state.

See Also
SwiGetOMADMSessionState
SwiSetOMADMSessionState
SWI_STRUCT_OMADM_SESSION_STATE
SWI_NOTIFY_OMADM_NI_Alert 

Indicates modem OMA-DM NI alert.

See Also
SwiGetOMADMNIAlert
SWI_STRUCT_OMADM_NI_ALERT
SWI_NOTIFY_OMADM_UI_Alert_Display 

Not supported in this version of the SDK.

SWI_NOTIFY_OMADM_UI_Alert_Confirm 

Not supported in this version of the SDK.

SWI_NOTIFY_OMADM_UI_Alert_Input 

Not supported in this version of the SDK.

SWI_NOTIFY_OMADM_UI_Alert_Choice 

Not supported in this version of the SDK.

SWI_NOTIFY_DM_DL_Progress 

Indicates modem DM-DL progress.

See Also
SwiGetDMDLProgress
SWI_STRUCT_DM_DL_PROGRESS
SWI_NOTIFY_DM_DL_Alert 

Indicates modem DM-DL alert.

See Also
SWI_STRUCT_DM_DL_ALERT
SWI_NOTIFY_DM_DL_InstallStatus 

Indicates modem installation status.

See Also
SwiGetDMDLInstallStatus
SWI_STRUCT_DM_DL_INSTALL_STATUS
SWI_NOTIFY_NVUpdateFromFile 

Indicates modem NVRAM update status.

See Also
SwiNVUpdateFromFile
SWI_STRUCT_NVUpdateFromFile
SWI_NOTIFY_SpkrVol 

Indicates modem speaker volume status.

See Also
SwiGetSpeakerVolume
SwiSetSpeakerVolume
SWI_NOTIFY_END_NOTIFY 

Place holder. Must be last entry in this list.

Function Documentation

SWI_API SWI_RCODE SwiCreateNotifThread ( void(*)(void)  threadfuncp)

This function creates the Notification thread for the caller, blocking the caller until the thread creation is complete.

Parameters
threadfuncp[IN] Pointer to the function serving as the thread's entry point
Returns
SWI_RCODE_OK - callback function successfully deregistered
SWI_RCODE_REQUEST_TIMEOUT - The request timed out meaning that the notification thread did not release the waiter in time
See Also
See SWI_RCODE for additional information.
SWI_API SWI_RCODE SwiDeRegisterCallback ( SWI_CALLBACK_EX  pCallback)

This function de-registers an application's callback handler.

After calling this function, notifications will no longer be passed to the specified callback handler.

Parameters
pCallback,:[OUT] callback function pointer
Returns
SWI_RCODE_OK - callback function successfully deregistered
SWI_RCODE_INVALID_PAR - an invalid parameter was passed
See Also
See SWI_RCODE for additional information.
SWI_API SWI_RCODE SwiNotify ( enum SWI_TYPE_Notify  eNotify,
swi_uint32  timeout 
)

This function turns the notification ON for the specified event.

Calling this function enables event notifications to be routed to the callback handler registered earlier using SwiRegisterCallback. If notifications are enabled when there is no registered callback function, the API will silently discard them as they arrive. Similarly, if a filter were defined, notifications will be silently discarded.

Modem resets disable notifications (but leave the callback function registered). You must explicitly re-enable notifications if a modem reset is detected.

Once enabled, the modem will always send the current state of the notification object. When that notification is generated will depend on the object itself. After the initial indication, notifications are only generated when there is a change in state. Occasionally, notifications are generated at predefined intervals. See a description of the notification object for more information.

The following notifications are enabled by default and cannot be disabled:

SWI_NOTIFY_AirServerChange

All other notifications are disabled by default and must be enabled.

Parameters
eNotify,:[IN] notification to enable
timeout,:[IN] response timeout value in milliseconds
Returns
SWI_RCODE_OK - notification successfully enabled
SWI_RCODE_NOT_INIT - Notification thread has not been started.
See Also
See SWI_RCODE for additional information.
SWI_API SWI_RCODE SwiRegisterCallback ( SWI_CALLBACK_EX  pCallback,
swi_uint64  nNotifications 
)

This function registers a callback handler to receive event notifications.

All other notifications are disabled by default and must be enabled.

This release of the API supports multiple callback handlers. Notifications are sent to all registered callback handlers. Each callback function can provide a filter to mask out unwanted notifications on that particular callback function.

nNotifications should be set to 0xFFFFFFFFFFFFFFFF to receive all possible notifications.

Callback functions should be re-registered every time SwiSelectAirServer is called. This ensures that features of the newly bound device will have access to all the callback pointers.

On termination, SwiDeRegisterCallback should be called for each callback function previously registered.

This function must be called immediately after SwiApiOpen to ensure the client application receives critical events.

The following notifications are enabled by default and can not be disabled:

SWI_NOTIFY_AirServerChange

Parameters
pCallback,:[OUT] callback function pointer
nNotifications,:[IN] notification filter (see Notes)
See Also
See SWI_RCODE for additional information.
SWI_API SWI_RCODE SwiStopNotify ( enum SWI_TYPE_Notify  eNotify,
swi_uint32  timeout 
)

This function turns the notification OFF for the specified event.

After calling this function, the specified notifications will not be forwarded to the client's callback function.

The following notifications are enabled by default and can not be disabled:

SWI_NOTIFY_AirServerChange

Parameters
eNotify,:[IN] notification to disable
timeout,:[IN] response timeout value in milliseconds
See Also
See SWI_RCODE for additional information.
SWI_API SWI_RCODE SwiWaitNotification ( void  )

The AP Notification receive API main entry point

When the received packet is wrong type the message "Wrong packet type" is logged and program terminates.

This function waits to receive notifications and invokes the user callback function if registered. This function does not return unless there is an error.

Returns
SWI_RCODE_OK - The function executed properly.
SWI_RCODE_FAILED - The function failed to execute correctly.
SWI_RCODE_API_NOT_OPEN - SDK is not running.
See Also
See SWI_RCODE for additional information.

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