API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

INETMGR_GETUMTSINFO()

Brew Release
Brew MP 1.0.2
See Also
INETMGR_GetUMTSCount() INETMGR_SelectNetwork() INETMGR_GetOpt() AEEUMTSInfo
Description
Returns the profile information for a given Packet Data Profile number (UMTS only)
Params
pINetMgr
[]:
pointer to the INetMgr Interface of interest
wProfile
[]:
the profile number of interest
pInfo
[]:
will be filled in with the profile information
Interface
  • INETMGR
Prototype
  •     int INETMGR_GetUMTSInfo
        (
          INetMgr*     pINetMgr,
          uint16       wProfile,
          AEEUMTSInfo* pInfo
        );
    
Return
  • SUCCESS: if the information was filled in AEE_NET_EINVAL: if the PDP number is not valid EFAILED: or other error code, otherwise
Side Effect
  • None.
Comments
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 INETMGR_GetUMTSCount(). This is useful for enumerating the networks via this function. Note that the available profiles are numbered consecutively from one to the count, although they may not all be valid. This is not a formal member of INetMgr; instead it is a wrapper around INETMGR_GetOpt().