Developer

API Reference

INETMGR_GetUMTSCount()

Brew Release
Brew MP 1.0.2
See Also
INETMGR_GetUMTSInfo() INETMGR_SelectNetwork() INETMGR_GetOpt()
Description
Returns the number of Packet Data Profiles (UMTS only)
Parameters
  • pINetMgr
    []:
    Pointer to the INetMgr Interface of interest
  • pwCount
    []:
    filled in with the PDP count
Interface
INETMGR
Prototype
    int INETMGR_GetUMTSCount
    (
      INetMgr *pINetMgr,
      uint16* pwCount,
    );
Return
SUCCESS: if the count was filled in AEE_NET_EINVAL: if the network is not valid EFAILED: or other error code, otherwise
Side Effect
None.
Comment
In an UMTS device/network, there may be several networks configured and/or available. The count of available networks may be determined at runtime using this function. This is useful for enumerating the networks via INETMGR_GetUMTSInfo().
Note that the available profiles are numbered consecutively from one to this count, although they may not all be valid.
This is not a formal member of INetMgr; instead it is a wrapper around INETMGR_GetOpt().
  • Follow