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

Developer

API Reference

INETWORK_GETLASTNETDOWNREASON()

Brew Release
Brew MP 1.0.2
See Also
Description
This function returns the last network down reason. Typically called by the application when the data network is CLOSED.
Params
me
[]:
the interface pointer.
pnReason
[]:
[out] - pointer to the last network down reason. On AEE_NET_SUCCESS will be filled with the reason value (pre-allocated by caller).
Interface
Prototype
  •    int INetwork_GetLastNetDownReason(INetwork *me, AEENetDownReason *pnReason);
    
Return
  • AEE_NET_SUCCESS: Success. pnNetDownReason filled with last network down reason. AEE_NET_EFAULT: The lower layer returned an unexpected network down reason. Other AEE error code : As appropriate.
Side Effect
  • None.
Comments
None