[feature]shutdown and get version api
Change-Id: Idad845f4ca37943778b750ec784e9e73bcd37888
diff --git a/src/lynq/lib/liblynq-sim/include/lynq_sim.h b/src/lynq/lib/liblynq-sim/include/lynq_sim.h
index 846a1ec..b0457df 100755
--- a/src/lynq/lib/liblynq-sim/include/lynq_sim.h
+++ b/src/lynq/lib/liblynq-sim/include/lynq_sim.h
@@ -1,9 +1,9 @@
/*=============================================================================
-# FileName: lynq_sim.cpp
+# FileName: lynq_sim.h
# Desc: about SIMAPI
-# Author: mobiletek
+# Author: lei
# Version: V1.0
-# LastChange: 2020-07-29
+# LastChange: 2022-03-31
# History:
# If you need to use any API under lynq_sim, you must first call the lynq_sim_init() function to initialize these functions.
=============================================================================*/
@@ -50,6 +50,22 @@
*/
int lynq_req_sim_io(int list[5], char *path, char *data, char *pin2, char *aidPtr, int sw[2], char *simResponse);
+/**
+ * @brief
+ * @param options type: [IN] [options] define whether you want to halt, power-off, or reboot the machine.May be NULL
+ * @param time type: [IN] [time] specifies when you want the shutdown to perform.May be NULL
+ * @param message type: [IN] [message] adds a message that announces the shutdown.May be NULL
+ * @return int
+ */
+int lynq_shutdown(char options[], char time[], char message[]);
+
+/**
+ * @brief get currnet version of mobiletek
+ * @param buf type: [out] My Param doc
+ * @return int
+ */
+int lynq_get_version(char buf[]);
+
#ifdef __cplusplus