mirror of
https://github.com/espressif/esp-idf
synced 2025-03-26 01:10:12 -04:00
19 lines
348 B
C
19 lines
348 B
C
#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
|
|
};
|
|
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__ */
|