nn::ndm::Suspend Function

Syntax

Result Suspend(
     DaemonName name
);

Arguments

Name Description
in name Specifies the target daemon.

Return Values

ResultAlreadySuspended - The suspend count managed for each process is invalid. This error does not normally occur.

Description

Suspends autonomous operation of the network daemon.

Blocks until suspension is ended.
The requests to stop a daemon are managed by a counter, so they can be nested. There is an independent counter value for each process.
If any other processes have suspended the daemon, it will not run autonomously until all processes that have suspended it have lifted their suspensions or have ended.
Even when all daemons are suspended, the operations to search for access points and connect automatically will not stop. Use this function to completely stop all background operations, including automatic connections.

Note: A separate document will be prepared that will explain the roles of the various daemons.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL