OVMS3-idf/components/bt/bluedroid/profiles/std/include/bt_gap.h
wangmengyang 47d73dfe05 component/bt: implement some APIs for bluetooth SDP, GAP and stack manager
1. add bt profile task(temporarily called btif task)
2. add GAP API to set BT scan mode
3. port btif/SDP module
4. port btif stack manager
2016-10-26 11:25:24 +08:00

13 lines
276 B
C

#ifndef __BT_GAP_H__
#define __BT_GAP_H__
#include "bt_defs.h"
typedef enum {
BT_SCAN_MODE_NONE,
BT_SCAN_MODE_CONNECTABLE,
BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
} bt_scan_mode_t;
bt_status_t API_BT_GapSetScanMode(bt_scan_mode_t mode);
#endif /* __BT_GAP_H__ */