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

Developer

API Reference

IQOSSESSION_SELECTNETWORK()

Brew Release
Brew MP 1.0.2
See Also
IQoSSession_SelectNetworkEx() IQoSSession_Open() Data networks
Description
This function selects a specific data network for this QoS Session.
When an IQoSSession instance is created, no network is selected. If IQoSSession_Open() is called before IQoSSession_SelectNetwork(), AEE_NETWORK_DEFAULT will be implicitly selected.
After the QoS Session is opened by calling IQoSSession_Open(), the network may not be changed. However, IQoSSession instance is re-usable, meaning that the client may call IQoSSession_SelectNetwork() again after a QoS event which indicates that the QoS was released (AEE_QOS_UNAVAILABLE_EV) is received.
Params
po
[]:
the interface pointer
nNetwork
[]:
the network for this QoS Session. one of AEE_NETWORK_* constants.
Interface
Prototype
  •    int IQoSSession_SelectNetwork(IQoSSession *po, int nNetwork);
    
Return
  • AEE_SUCCESS: the data network was selected.
    AEE_NET_EINVAL: the network is not valid.
    AEE_EBADSTATE: the network has already been selected.
    AEE_EFAILED: other failure.
    Other error codes are also possible.
Side Effect
  • None.
Comments
None.