Developer

API Reference

INetwork_NetStatus()

Brew Release
Brew MP 1.0.2
See Also
Error Codes INetwork
Description
This function returns the current network status. If the AEENetStats pointer is valid, the buffer is filled with the current network connection information such as data rate, active time, bytes sent, and other items. The caller can view the performance of the current session and all sessions since the last time the device was reset.
Parameters
  • me
    []:
    The interface pointer.
  • pns
    []:
    Returns the current network status. May be NULL.
  • ps
    []:
    Returns the network connection statistics. May be NULL.
Interface
Prototype
   int INetwork_NetStatus(INetwork *me, AEENetStatus *pns, AEENetStats *ps);
Return
AEE_SUCCESS: network status was retrieved successfully. AEE_EFAILED: failed to retrieve network status. Other error code : as appropriate.
Side Effect
None.
Comment
None.
  • Follow