2016-10-24 05:08:37 -04:00
|
|
|
#ifndef __BLUFI_ADV_H__
|
|
|
|
#define __BLUFI_ADV_H__
|
|
|
|
|
2016-10-06 23:16:13 -04:00
|
|
|
#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;
|
2016-10-24 08:07:19 -04:00
|
|
|
}tBLUFI_BLE_ADV_DATA;
|
2016-10-06 23:16:13 -04:00
|
|
|
|
2016-10-24 08:07:19 -04:00
|
|
|
extern void BlufiBleConfigadvData(tBLUFI_BLE_ADV_DATA *adv_data,
|
2016-10-06 23:16:13 -04:00
|
|
|
tBTA_SET_ADV_DATA_CMPL_CBACK *p_adv_data_cback);
|
|
|
|
|
2016-10-24 08:07:19 -04:00
|
|
|
extern void BlufiBleSetScanRsp(tBLUFI_BLE_ADV_DATA *scan_rsp_data,
|
2016-10-06 23:16:13 -04:00
|
|
|
tBTA_SET_ADV_DATA_CMPL_CBACK *p_scan_rsp_data_cback);
|
|
|
|
|
2016-10-24 05:08:37 -04:00
|
|
|
#endif /* __BLUFI_ADV_H__ */
|