47d73dfe05
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
13 lines
276 B
C
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__ */
|