blob: 646a72a2d095b9a17f5ae6447234a2875e072ff6 [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_CALL_RINGBACK, /*CALL during dialing*/
MBTK_NET_LED_CALL_CONNECT, /*CALL connection successful*/
MBTK_NET_LED_CALL_DISCONNECT, /*CALL disconnection*/
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