component/bt : main api

1. use blufi check main api ok
This commit is contained in:
Tian Hao
2016-11-16 11:28:41 +08:00
parent 21d2b78105
commit 8fed003ce5
5 changed files with 46 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
#ifndef __ESP_BT_MAIN_H__
#define __ESP_BT_MAIN_H__
#include "btc_main.h"
#include "esp_err.h"
esp_err_t esp_enable_bluetooth(esp_bt_sec_cb_t *p_cback);
esp_err_t esp_disable_bluetooth(void);
esp_err_t esp_init_bluetooth(bluetooth_init_cb_t cb);
void esp_deinit_bluetooth(void);
#endif /* __ESP_BT_MAIN_H__ */