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

Developer

API Reference

INETUTILS_GETPDPCOUNT()

Brew Release
Brew MP 1.0.2
See Also
INetUtils_GetPDPInfo()
Description
This function returns the number of Packet Data Profiles available on the device.
Params
me
[]:
the interface pointer
pwCount
[]:
filled in with the PDP count
Interface
Prototype
  •    int INetUtils_GetPDPCount(INetUtils *me, uint16* pwCount)
    
Return
  • AEE_NET_SUCCESS: if the count was filled in
    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 this function. This is useful for enumerating the networks via INetUtils_GetPDPInfo(). Note that the available profiles are numbered consecutively from one to this count, although they may not all be valid.