Add explanation about JSON Schema definition / example for request / detail in idm_co...
authorBoyeon <boyeon.son@samsung.com>
Tue, 21 May 2019 07:13:32 +0000 (16:13 +0900)
committer손보연/Tizen Platform Lab(SR)/Engineer/삼성전자 <boyeon.son@samsung.com>
Wed, 22 May 2019 03:59:31 +0000 (12:59 +0900)
inc/iot-device-manage.h

index 8434122..65b5828 100644 (file)
@@ -123,7 +123,13 @@ int idm_command_get_type(idm_command_h command, idm_cmd_type_e *type);
  * @remarks Required privilege depends on @p cmd \n
  *          #IDM_CMD_REBOOT requires privilege http://tizen.org/privilege/reboot \n
  *          #IDM_CMD_GET_TASKINFO requires privilege http://tizen.org/privilege/systemmonitor \n
- *          This is not thread safe.
+ * @remarks Format of @p request (JSON string) for sending cmd request depends on @p cmd \n
+ *          #IDM_CMD_GET_TASKINFO refers to 'schema/taskRequest.json' as JSON schema definition and 'schema/taskRequestExample.json' as example\n
+ *          #IDM_CMD_GET_LOG_ARCHIVE refers to 'schema/logArchiveRequest.json' as JSON schema definition and 'schema/logArchiveRequestExample.json' as example\n
+ * @remarks Format of @p detail (JSON string) for receiving result detail depends on @p cmd \n
+ *          #IDM_CMD_GET_TASKINFO refers to 'schema/taskResult.json' as JSON schema definition and 'schema/taskResultExample.json' as example\n
+ *          #IDM_CMD_GET_LOG_ARCHIVE refers to 'schema/logArchiveResult.json' as JSON schema definition and 'schema/logArchiveResultExample.json' as example\n
+ * @remarks This is not thread safe.
  * @param[in] command The idm_command handle
  * @param[in] cmd The command for getting information
  * @param[in] detail The details for setting @p cmd