Add basic change for v1453
Change-Id: I9497a61bbc3717f66413794a4e7dee0347c0bc33
diff --git a/mbtk/libql_lib_v2_rilv2/ql_fota_common.c b/mbtk/libql_lib_v2_rilv2/ql_fota_common.c
new file mode 100755
index 0000000..1a0cb90
--- /dev/null
+++ b/mbtk/libql_lib_v2_rilv2/ql_fota_common.c
@@ -0,0 +1,48 @@
+
+/**
+ @file
+ ql_fota_common.h
+
+ @brief
+ This file provides the definitions for common functions, and declares the
+ common functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+23/08/2019 Nebula.li create
+=============================================================================*/
+
+#ifndef __QL_FOTA_COMMON_H
+#define __QL_FOTA_COMMON_H
+
+#include <stdint.h>
+
+#define QL_OTAD_CLIENT_INIT_CNT_MAX 20
+
+#define QL_OTAD_SEND_MSG_TIMEOUT (3 * 1000)
+
+typedef void (*ql_otad_service_error_cb_f)(int error);
+
+int ql_otad_client_init(void);
+int ql_otad_client_release(void);
+int ql_otad_send_msg_sync(int32_t msg_id,
+ void *p_req_msg_data,
+ uint32_t req_msg_data_len,
+ void *p_resp_msg_data,
+ uint32_t resp_msg_data_len,
+ uint32_t timeout);
+
+#endif /* __QL_FOTA_COMMON_H */