nn::dlp::CTR::Server::RebootAllClients Member Functionstatic nn::Result RebootAllClients( const char passpharase[] = NULL );
| Name | Description | |
|---|---|---|
| in | passpharase[] | The UDS passphrase when reconnecting. The length is up to MAX_CHILD_UDS_PASSPHRASE_LENGTH. |
| Value | Description |
|---|---|
| ResultSuccess | The reboot request was sent to the client. |
ResultInvalidState |
The state is invalid. Use when the download is completed (SERVER_STATE_COMPLETE_DISTRIBUTION). |
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.
CONFIDENTIAL