Developer

API Reference

INETMGR_SetDormancyTimeout()

Brew Release
Brew MP 1.0.2
See Also
INETMGR_SetOpt()
Description
This function sets the IS-707 (cdma2000 1x) packet data dormancy timeout for the network connection specified by pINetMgr to the value specified by ucSecs. When the connection is created, the default dormancy timeout is set to 30 seconds. If no network traffic occurs during a period of time equals to the dormancy timeout then the mobile should perform mobile initiated dormancy.
Parameters
  • pINetMgr
    []:
    Pointer to the INetMgr Interface object.
  • ucSecs
    []:
    Dormant timeout in seconds. 0 means no timeout (no mobile initiated dormancy should occur)
Interface
INETMGR
Prototype
    int INETMGR_SetDormancyTimeout(INetMgr * pINetMgr, uint8 ucSecs)
Return
SUCCESS: if the timeout was set AEE_NET_EOPNOTSUPP: if the operation is not supported (i.e. not a cdma2000 1x network) EFAILED: or another error, otherwise
Side Effect
None.
Comment
This is not a formal member of INetMgr; instead it is a wrapper around INETMGR_SetOpt().
  • Follow