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

Developer

API Reference

INETUTILS_GETPDPINFO()

Brew Release
Brew MP 1.0.2
See Also
INetUtils_GetPDPCount()
Description
This function returns the profile information for a given Packet Data Profile number.
Params
me
[]:
the interface pointer
wProfile
[]:
the profile number of interest
pInfo
[]:
filled in with the profile information
Interface
Prototype
  •    int INetUtils_GetPDPInfo(INetUtils *me, uint16 wProfile, AEEPDPInfo* pInfo)
    
Return
  • AEE_NET_SUCCESS: the information was filled in AEE_NET_EINVAL: the PDP number is not valid AEE_EFAILED: operation failed.
    Other error codes are also possible.
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 INetUtils_GetPDPCount(). This is useful for enumerating the networks via this function. Note that the available profiles are numbered consecutively from one to this count, although they may not all be valid.