blob: 90e5b77031045c96259d6f04af941e94bfedf892 [file] [log] [blame]
wz.wang8f3a4172024-02-06 18:24:13 +08001#include <stdint.h>
2#include <stdio.h>
3#include <string.h>
4
5#include "liblog/lynq_deflog.h"
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11#include "sc_usb.h"
12#include "nv_api.h"
13#include "lynq-qser-usb.h"
14
15/********************************************************************
16* @brief: qser_get_usb_usermode_net_state, Get Net user mode adb status
17* @return : int, Be greater than zero if successful, Less than zero if failed
18* @todo: NA
19* @see: NA
20* @warning: NA
21*********************************************************************/
22int qser_get_usb_usermode_net_state(void)
23{
24 return sc_usb_usermode_net_state();
25}
26
27/********************************************************************
28* @brief: qser_get_usb_usermode_adb_state, Get Usb user mode adb status
29* @return : int, Be greater than zero if successful, Less than zero if failed
30* @todo: NA
31* @see: NA
32* @warning: NA
33*********************************************************************/
34int qser_get_usb_usermode_adb_state(void)
35{
36 return sc_usb_usermode_adb_state();
37}
38
39DEFINE_LYNQ_LIB_LOG(LYNQ_USB)
40
41#ifdef __cplusplus
42}
43#endif