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

Developer

API Reference

NETSTATE

Brew Release
Brew MP 1.0.2
See Also
INETMGR_NetStatus()
Description
NetState is an enumeration of the states of the device's PPP connection to the Internet. A NetState value is returned by the INETMGR_NetStatus() call.
Members
  • NET_INVALID_STATE  :  Not an actual state; this value is not returned by INETMGR_NetStatus().
  • NET_PPP_OPENING  :  The PPP connection is being established.
  • NET_PPP_OPEN  :  The PPP connection is active.
  • NET_PPP_CLOSING  :  The PPP connection is closing.
  • NET_PPP_CLOSED  :  The PPP connection is inactive.
  • NET_PPP_SLEEPING  :  The PPP connection is "up", but non-PPP related network
                             resources (e.g. CDMA traffic channel) are being released
  • NET_PPP_ASLEEP  :  The PPP connection is "up", but non-PPP related network resources
                           have been released
  • NET_PPP_WAKING  :  The PPP connection is "up", and non-PPP related network resources
                           are being re-acquired
Definition
  •     typedef enum {
        NET_INVALID_STATE,
        NET_PPP_OPENING,
        NET_PPP_OPEN,
        NET_PPP_CLOSING,
        NET_PPP_CLOSED,
        NET_PPP_SLEEPING,
        NET_PPP_ASLEEP,
        NET_PPP_WAKING,
        } NetState;
    
Comments
None