libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ diagnostics_relay_sleep()

diagnostics_relay_error_t diagnostics_relay_sleep ( diagnostics_relay_client_t  client)

Puts the device into deep sleep mode and disconnects from host.

Parameters
clientThe diagnostics_relay client
Returns
DIAGNOSTICS_RELAY_E_SUCCESS on success, DIAGNOSTICS_RELAY_E_INVALID_ARG when client is NULL, DIAGNOSTICS_RELAY_E_PLIST_ERROR if the device did not acknowledge the request