|
◆ diagnostics_relay_request_diagnostics()
Request diagnostics information for a given type.
- Parameters
-
client | The diagnostics_relay client |
type | The type or domain to query for diagnostics. Some known values are "All", "WiFi", "GasGauge", and "NAND". |
diagnostics | A pointer to plist_t that will receive the diagnostics information. The consumer has to free the allocated memory with plist_free() when no longer needed. |
- 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
|