blob: 9d7996dc3e3823b877b4037da932263cb5b10ca7 [file] [log] [blame]
#ifndef __MBTK_LED_H__
#define __MBTK_LED_H__
typedef enum
{
MBTK_STATUS_LED_CLOSE = 0, /*close status_led*/
MBTK_STATUS_LED_OPEN /*open status_led*/
}mbtk_status_led_type;
typedef enum
{
MBTK_NET_LED_SEARCH_NETWORK = 0,/*Searching the network or talking on the phone*/
MBTK_NET_LED_DATA_CONNECT, /*Data connection successful*/
MBTK_NET_LED_NET_CONNECT, /*Network connection successful*/
MBTK_NET_LED_POWER, /*Turn off */
MBTK_NET_LED_SLEEP, /* sleep */
MBTK_NET_LED_CLOSE, /*close net_led*/
MBTK_NET_LED_OPEN /*open net_led*/
}mbtk_net_led_type;
void mbtk_net_led_set(mbtk_net_led_type status);
int status_led_set(mbtk_status_led_type status);
int mbtk_led_init(void);
#endif