Developer

API Reference

INETMGR_GetDefaultNetwork()

Brew Release
Brew MP 1.0.2
See Also
INETMGR_SelectNetwork() INETMGR_GetOpt() Data networks
Description
This function returns the default data network.
Parameters
  • pINetMgr
    []:
    Pointer to the INetMgr Interface of interest
  • pnNetwork
    []:
    Pointer to int; will be filled in with AEE_NETWORK_*
Interface
INETMGR
Prototype
    int INETMGR_GetDefaultNetwork
    (
      INetMgr *pINetMgr,
      int* pnNetwork,
    );
Return
SUCCESS: the default data network was filled in EFAILED: (and other errors from AEEError.h): otherwise
Side Effect
None.
Comment
Most applications will not need to get the default network.
The default network may be the CDMA Service Network, the configured default UMTS Packet Data Profile or other network depending on the device and/or service provider.
This is not a formal member of INetMgr; instead it is a wrapper around INETMGR_GetOpt().
  • Follow