Developer

API Reference

INETMGR_GetLastNetDownReason()

Brew Release
Brew MP 1.0.2
See Also
INETMGR_GetOpt() AEENetDownReason
Description
This function returns the last network down reason. Typically called by the application when the data network is CLOSED.
Parameters
  • me
    []:
    Pointer to the INetMgr Interface object.
  • 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
INETMGR
Prototype
   int INETMGR_GetLastNetDownReason(INetMgr *me, AEENetDownReason *pnReason)
Return
AEE_NET_SUCCESS: Success. pnNetDownReason filled with last network down reason. AEE_NET_EFAULT: Lower layer returned an unexpected network down reason.
Other AEE desinated error codes might be returned.
Side Effect
None.
Comment
This is not a formal member of INetMgr; instead it is a wrapper around INETMGR_GetOpt().
  • Follow