blob: 9d7996dc3e3823b877b4037da932263cb5b10ca7 [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*/
15 MBTK_NET_LED_POWER, /*Turn off */
16 MBTK_NET_LED_SLEEP, /* sleep */
17 MBTK_NET_LED_CLOSE, /*close net_led*/
18 MBTK_NET_LED_OPEN /*open net_led*/
19}mbtk_net_led_type;
20
21void mbtk_net_led_set(mbtk_net_led_type status);
22
23int status_led_set(mbtk_status_led_type status);
24
25int mbtk_led_init(void);
26
27#endif
28
29