nn::ndm::Suspend Function

Syntax

Result Suspend(
     DaemonName name
);

Parameters

Name Description
in name Specifies the target daemon.

Return Values

Returns a value that indicates whether the function succeeded.

Value Description
ResultAlreadySuspended The suspend count managed for each process is invalid. This error does not normally occur.
ResultInvalidOperation There are too many suspend operations.

Description

Suspends autonomous operation of a network daemon.

The process returns without waiting for the suspension to complete, but that usually happens within one second of the issuance of the instruction to suspend operations.
There are basically no cases where the application needs to wait for the suspension to complete. The requests to suspend a daemon are managed by a counter, so they can be nested.
Suspending all daemons does not suspend the operation of searching for access points and automatically connecting. Use the SuspendScheduler function to completely stop all background operations, including automatic connections.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL