SWI_STRUCT_AirServerChange Struct Reference

#include <SwiStructsCm.h>

List of all members.

Public Attributes

U32 sizeStruct
SWI_STRUCT_AirServer AirServer
bool bInsert
UINT nInterfaceAvail


Detailed Description

This structure is used by the SWI_NOTIFY_AirServerChange notification to signal the arrival or removal of an air server.

When an air server becomes unavailable, any pending requests will be canceled with a return code of SWI_RCODE_CANCEL. Any modem commands made after this event will fail with a SWI_RCODE_DEVICE_UNAVAIL return code. When the air server becomes available again, SwiSelectAirServer must be called to re-bind to the air server before any modem commands can be made.

This object supports both GSM and CDMA technologies for PC cards, embedded devices, and MP line of products.

See also:
SWI_NOTIFY_AirServerChange

SWI_RCODE_CANCEL

SWI_RCODE_DEVICE_UNAVAIL

See sample code, DeviceChange


Member Data Documentation

A structure of type SWI_STRUCT_AirServer containing information about the air server of interest.

True is returned if the air server has become available or false if the air server has become unavailable.

Bitmask indicating available interfaces/functionality:

  • 0x0000: Unknown. There are conflicting SDK components running which is preventing the retrieval of this information. This should be treated as a success condition.
  • 0x0001: This bit is set if control & status interface is available. This indicates communication with the air server is possible.
  • 0x0002: This bit is set if the NDIS interface is available. This interface is required to create a data connection.
  • 0x0004: This bit is set if the Modem interface is available. This interface is required to create a dial-up connection.

The size, in bytes, of this structure.


The documentation for this struct was generated from the following file:

Generated on Fri Oct 2 10:27:32 2009 for 3G SDK by  doxygen 1.5.9