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

Developer

API Reference

INETWORK_GETOUTAGEINFO()

Brew Release
Brew MP 1.0.2
See Also
Description
This function returns the information associated with the latest outage event associated with this data network. The user can use this function to get the event information after receiving a NETWORK_EVENT_OUTAGE event.
Params
me
[]:
The interface pointer.
pOutageInfo
[]:
[out] Caller-allocated struct, in which the event info is returned.
Interface
Prototype
  •    static int INetwork_GetOutageInfo(INetwork*  me,
                                         AEEOutageInfo* pOutageInfo)       
Return
  • AEE_NET_SUCCESS: Success, where pOutageInfo holds the outage info. AEE_NET_ERROR: No event ever occurred, so there is no valid event info. Other AEE error code: As appropriate.
Side Effect
  • None.
Comments
None.