2016-10-31 13:40:01 +00:00
|
|
|
#ifndef __BT_GAP_API_H__
|
|
|
|
#define __BT_GAP_API_H__
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "esp_err.h"
|
|
|
|
#include "bt_api_common.h"
|
|
|
|
|
|
|
|
enum {
|
|
|
|
BT_SCAN_MODE_NONE,
|
|
|
|
BT_SCAN_MODE_CONNECTABLE,
|
|
|
|
BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
|
2016-11-01 03:54:01 +00:00
|
|
|
};
|
2016-10-31 13:40:01 +00:00
|
|
|
typedef uint16_t bt_scan_mode_t;
|
|
|
|
|
|
|
|
esp_err_t esp_bt_gap_set_scan_mode(bt_scan_mode_t mode);
|
|
|
|
|
|
|
|
#endif /* __BT_GAP_API_H__ */
|