Developer

API Reference

Data networks

Brew Release
Brew MP 1.0.2
See Also
INetwork_SelectNetworkEx() INetUtils_GetDefaultNetwork()
Description
Definitions of the known data networks. These definitions are used to select the network in operations such as INetwork_SelectNetwork().
Members
  • AEE_NETWORK_DEFAULT:         Default network. The decision of which network to
                                    actually use is deferred to lower layers and will
                                    be made upon connection creation.
  • AEE_NETWORK_CDMA_SN:         CDMA Service Network
  • AEE_NETWORK_CDMA(profile):   CDMA Service Networks, applications shouldn't use
                                    profile IDs unless they are carrier-provisioned apps.
  • AEE_NETWORK_CDMA_BCMCS:      CDMA BroadCast/MultiCast Service
  • AEE_NETWORK_UMTS(pdp):       UMTS network identified by a Packet Data
                                    Profile (pdp) number.
  • AEE_NETWORK_WLAN:            WLAN Network (Introduced BREW Client 3.1.3)
  • AEE_NETWORK_MFLO_MCAST:      MediaFLO Multicast Service
                                    (Introduced BREW Client 3.1.4)
  • AEE_NETWORK_DVBH_MCAST:      DVB-H Multicast Service 
                                    (Introduced BREW Client 3.1.5 SP01)
  • AEE_NETWORK_LOOPBACK:        Loopback. Transferring data over loopback sockets
                                    does not involve data call bring up.
                                    (Introduced BREW Client 3.1.5 SP01)
  • AEE_NETWORK_MBMS:            Multimedia Broadcast Multicast Service
  • AEE_NETWORK_IWLAN_3GPP(pdp): UMTS Network, identified by a Packet Data
                                    Profile (pdp) number, for access via WLAN or 3G bearer.
                                    Handset configuration determines if network access
                                    is attempted via WLAN or 3G.
  • AEE_NETWORK_IWLAN_3GPP2(profile): CDMA Network, identified by Profile number, for
                                         access via WLAN.
                                         Applications shouldn't use profile IDs unless they
                                         are carrier-provisioned apps.
  • AEE_NETWORK_IWLAN_3GPP2_SN:  CDMA Network (default) for access via WLAN.
  • AEE_NETWORK_SLIP:            Serial Line IP (Introduced BREW Client 3.1.5 SP02)
  • AEE_NETWORK_3GPP_ANY(pdp): UMTS Network, identified by a Packet Data
                                  Profile (pdp) number, for access via WLAN or 3G bearer.
                                  Handset configuration determines if network access
                                  is attempted via WLAN or 3G.
  • AEE_NETWORK_3GPP2_ANY(profile): CDMA Network, identified by Profile number, for
                                       access via WLAN or 3G bearer. 
                                       Handset configuration determines if network access
                                       is attempted via WLAN or 3G.
                                       Applications shouldn't use profile IDs unless they
                                       are carrier-provisioned apps.
  • AEE_NETWORK_3GPP2_SN_ANY: CDMA Network (default) for access via WLAN or 3G bearer.
                                 Handset configuration determines if network access
                                 is attempted via WLAN or 3G.
  • AEE_NETWORK_UICC: Universal Integrated Circuit Card Network. Used by UMTS devices to 
                         communicate with the UICC (sim).
  • AEE_NETWORK_UW_FMC:  A proprietary solution for access to CDMA packet data 
                            through WLAN connectivity.
    
Definition
#define AEE_NETWORK_DEFAULT              (0x000)
#define AEE_NETWORK_CDMA_SN              (0x001)
#define AEE_NETWORK_CDMA(profile)        (0x01|((uint32)(profile)<<16))
#define AEE_NETWORK_CDMA_BCMCS           (0x002)
#define AEE_NETWORK_UMTS(pdp)            (0x008|(pdp)<<16)
#define AEE_NETWORK_WLAN                 (0x010)
#define AEE_NETWORK_MFLO_MCAST           (0x020)
#define AEE_NETWORK_DVBH_MCAST           (0x040)
#define AEE_NETWORK_LOOPBACK             (0x080)
#define AEE_NETWORK_MBMS                 (0x100)
#define AEE_NETWORK_IWLAN_3GPP(pdp)      (0x200|(pdp)<<16)  // 3G (UMTS) via IWLAN
#define AEE_NETWORK_IWLAN_3GPP2(profile) (0x400|(profile)<<16) // 3G (CDMA) via WLAN
#define AEE_NETWORK_IWLAN_3GPP2_SN       (0x400)            // 3G via WLAN or directly via 3GPP2 (CDMA) network
#define AEE_NETWORK_SLIP                 (0x800)            // Serial Line IP
#define AEE_NETWORK_3GPP_ANY(pdp)        (0x1000|(pdp)<<16)  // 3G via WLAN or directly via 3GPP (UMTS) network
#define AEE_NETWORK_3GPP2_ANY(profile)   (0x2000|(profile)<<16) // 3G via WLAN or directly via 3GPP2 (CDMA) network
#define AEE_NETWORK_3GPP2_SN_ANY         (0x2000)            // 3G via WLAN or directly via 3GPP2 (CDMA) network
#define AEE_NETWORK_UICC                 (0x4000)            // Universal Integrated Circuit Card 
#define AEE_NETWORK_UW_FMC               (0x8000)            // FMC Via WLAN Network
Comment
Most of the data network types may be configured on the phone as the default network type. In such case it shall be automatically selected if the application has not made any other specific network selection. In order to select a specific network for data communication (CDMA, UMTS, WLAN, etc.) the application should call SelectNetwork API of the desired interface (ISockPort, INetwork, etc). For IWeb interface, network selection is done through IWEB_GetResponse(), using WEBOPT_NETWORK Web Option followed by the relevant AEE_NETWORK_ data network type.
  • Follow