mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
bluedroid: add config for GAP service and periodic adv sync transfer
This commit is contained in:
@@ -279,7 +279,19 @@
|
||||
#ifdef CONFIG_BT_GATTS_ROBUST_CACHING_ENABLED
|
||||
#define UC_BT_GATTS_ROBUST_CACHING_ENABLED CONFIG_BT_GATTS_ROBUST_CACHING_ENABLED
|
||||
#else
|
||||
#define UC_BT_GATTS_ROBUST_CACHING_ENABLED 0
|
||||
#define UC_BT_GATTS_ROBUST_CACHING_ENABLED FALSE
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BT_GATTS_DEVICE_NAME_WRITABLE
|
||||
#define UC_BT_GATTS_DEVICE_NAME_WRITABLE CONFIG_BT_GATTS_DEVICE_NAME_WRITABLE
|
||||
#else
|
||||
#define UC_BT_GATTS_DEVICE_NAME_WRITABLE FALSE
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BT_GATTS_APPEARANCE_WRITABLE
|
||||
#define UC_BT_GATTS_APPEARANCE_WRITABLE CONFIG_BT_GATTS_APPEARANCE_WRITABLE
|
||||
#else
|
||||
#define UC_BT_GATTS_APPEARANCE_WRITABLE FALSE
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BT_BLE_ACT_SCAN_REP_ADV_SCAN
|
||||
|
||||
@@ -493,8 +493,22 @@
|
||||
#define GATTS_SEND_SERVICE_CHANGE_MODE UC_BT_GATTS_SEND_SERVICE_CHANGE_MODE
|
||||
#endif
|
||||
|
||||
#ifdef UC_BT_GATTS_ROBUST_CACHING_ENABLED
|
||||
#define GATTS_ROBUST_CACHING_ENABLED UC_BT_GATTS_ROBUST_CACHING_ENABLED
|
||||
#if (UC_BT_GATTS_ROBUST_CACHING_ENABLED == TRUE)
|
||||
#define GATTS_ROBUST_CACHING_ENABLED TRUE
|
||||
#else
|
||||
#define GATTS_ROBUST_CACHING_ENABLED FALSE
|
||||
#endif
|
||||
|
||||
#if (UC_BT_GATTS_DEVICE_NAME_WRITABLE == TRUE)
|
||||
#define GATTS_DEVICE_NAME_WRITABLE TRUE
|
||||
#else
|
||||
#define GATTS_DEVICE_NAME_WRITABLE FALSE
|
||||
#endif
|
||||
|
||||
#if (UC_BT_GATTS_APPEARANCE_WRITABLE == TRUE)
|
||||
#define GATTS_APPEARANCE_WRITABLE TRUE
|
||||
#else
|
||||
#define GATTS_APPEARANCE_WRITABLE FALSE
|
||||
#endif
|
||||
|
||||
#ifdef UC_BT_BLE_ACT_SCAN_REP_ADV_SCAN
|
||||
@@ -2276,6 +2290,9 @@ The maximum number of payload octets that the local device can receive in a sing
|
||||
#define HEAP_ALLOCATION_FROM_SPIRAM_FIRST FALSE
|
||||
#endif
|
||||
|
||||
// TODO: add menuconfig and api for periodic adv sync transfer
|
||||
#define BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER FALSE
|
||||
|
||||
#include "common/bt_trace.h"
|
||||
|
||||
#endif /* BT_TARGET_H */
|
||||
|
||||
Reference in New Issue
Block a user