bt_gap_api.h 348 B

123456789101112131415161718
  1. #ifndef __BT_GAP_API_H__
  2. #define __BT_GAP_API_H__
  3. #include <stdint.h>
  4. #include "esp_err.h"
  5. #include "bt_api_common.h"
  6. enum {
  7. BT_SCAN_MODE_NONE,
  8. BT_SCAN_MODE_CONNECTABLE,
  9. BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
  10. };
  11. typedef uint16_t bt_scan_mode_t;
  12. esp_err_t esp_bt_gap_set_scan_mode(bt_scan_mode_t mode);
  13. #endif /* __BT_GAP_API_H__ */