blob: 646a72a2d095b9a17f5ae6447234a2875e072ff6 [file] [log] [blame]
wangyouqiang38e53362024-01-23 10:53:48 +08001#ifndef __MBTK_LED_H__
2#define __MBTK_LED_H__
3
4typedef enum
5{
6 MBTK_STATUS_LED_CLOSE = 0, /*close status_led*/
7 MBTK_STATUS_LED_OPEN /*open status_led*/
8}mbtk_status_led_type;
9
10typedef enum
11{
12 MBTK_NET_LED_SEARCH_NETWORK = 0,/*Searching the network or talking on the phone*/
13 MBTK_NET_LED_DATA_CONNECT, /*Data connection successful*/
14 MBTK_NET_LED_NET_CONNECT, /*Network connection successful*/
r.xiaoe1404b32024-05-23 22:43:39 -070015 MBTK_NET_LED_CALL_RINGBACK, /*CALL during dialing*/
16 MBTK_NET_LED_CALL_CONNECT, /*CALL connection successful*/
17 MBTK_NET_LED_CALL_DISCONNECT, /*CALL disconnection*/
wangyouqiang38e53362024-01-23 10:53:48 +080018 MBTK_NET_LED_POWER, /*Turn off */
19 MBTK_NET_LED_SLEEP, /* sleep */
20 MBTK_NET_LED_CLOSE, /*close net_led*/
21 MBTK_NET_LED_OPEN /*open net_led*/
22}mbtk_net_led_type;
23
24void mbtk_net_led_set(mbtk_net_led_type status);
25
26int status_led_set(mbtk_status_led_type status);
27
28int mbtk_led_init(void);
29
30#endif
31
32