eb8cb8d22e
1. add libphy.a librtc.a, but store in bt submodule, if someone use them, please copy to esp32/lib/ instead the origin one 2. add 07_blufi demo 3. change esp32/Kconfig to allow bt/wifi coexist
23 lines
521 B
C
23 lines
521 B
C
#include "bta_api.h"
|
|
#include "btm_ble_api.h"
|
|
|
|
enum
|
|
{
|
|
BLE_ADV_DATA_IDX,
|
|
BLE_SCAN_RSP_DATA_IDX,
|
|
ADV_SCAN_IDX_MAX
|
|
};
|
|
|
|
typedef struct
|
|
{
|
|
char *adv_name; //set the device name to be sent on the advertising
|
|
tBTA_BLE_ADV_DATA ble_adv_data;
|
|
}tESP_BLE_ADV_DATA;
|
|
|
|
extern void ESP_AppBleConfigadvData(tESP_BLE_ADV_DATA *adv_data,
|
|
tBTA_SET_ADV_DATA_CMPL_CBACK *p_adv_data_cback);
|
|
|
|
extern void ESP_AppBleSetScanRsp(tESP_BLE_ADV_DATA *scan_rsp_data,
|
|
tBTA_SET_ADV_DATA_CMPL_CBACK *p_scan_rsp_data_cback);
|
|
|
|
|