[Feature][ZXW-214]Add (CAP core) An interface that needs to provide the results returned by the interface of the query (AP core) by switching the USB part of the query (on/off)

Only Configure :No
Affected branch: master
Affected module: USB
Is it affected on both ZXIC and MTK:only ZXIC
Self-test: Yes
Doc Update: Yes

Change-Id: I42ac94ef7acc65eccb583db25d81bcab6c5457c4
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-qser-usb/lynq-qser-usb.cpp b/cap/zx297520v3/src/lynq/lib/liblynq-qser-usb/lynq-qser-usb.cpp
new file mode 100644
index 0000000..90e5b77
--- /dev/null
+++ b/cap/zx297520v3/src/lynq/lib/liblynq-qser-usb/lynq-qser-usb.cpp
@@ -0,0 +1,43 @@
+#include <stdint.h>
+#include <stdio.h>
+#include <string.h>
+
+#include "liblog/lynq_deflog.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "sc_usb.h"
+#include "nv_api.h"
+#include "lynq-qser-usb.h"
+
+/********************************************************************
+* @brief: qser_get_usb_usermode_net_state, Get Net user mode adb status
+* @return : int, Be greater than zero if successful, Less than zero if failed
+* @todo: NA
+* @see: NA
+* @warning: NA
+*********************************************************************/
+int  qser_get_usb_usermode_net_state(void)
+{
+    return sc_usb_usermode_net_state();
+}
+
+/********************************************************************
+* @brief: qser_get_usb_usermode_adb_state, Get Usb user mode adb status
+* @return : int, Be greater than zero if successful, Less than zero if failed
+* @todo: NA
+* @see: NA
+* @warning: NA
+*********************************************************************/
+int  qser_get_usb_usermode_adb_state(void)
+{
+    return sc_usb_usermode_adb_state();
+}
+
+DEFINE_LYNQ_LIB_LOG(LYNQ_USB)
+
+#ifdef __cplusplus
+}
+#endif