nn::dlp::CTR::Server::RebootAllClients Member Function

Syntax

static nn::Result RebootAllClients(
     const char passpharase[] = NULL
);

Arguments

Name Description
in passpharase[] The UDS passphrase when reconnecting. The length is up to MAX_CHILD_UDS_PASSPHRASE_LENGTH.

Return Values

The following Results are returned as the result of the operation.

Value Description
ResultSuccess The reboot request was sent to the client. The ResultInvalidState state is invalid. Use when the download is completed (SERVER_STATE_COMPLETE_DISTRIBUTION).

Description

Sends a reboot request to all clients.

After rebooting, specify a UDS passphrase with passPhrase to connect only CTR systems that are participating in a download session,.
When specifying a passphrase, change it for each download session.
After calling this function and after all clients have disconnected, call the CloseSessions and Finalize functions.
Use the GetConnectingClients function to determine the number of clients to disconnect. Clients are not guaranteed to reconnect as child devices after they reboot. Keep this in mind for parent devices that are waiting for child devices.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL