Merge branch 'feature/write_blob_v5.0' into 'release/v5.0'

NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN (v5.0)

See merge request espressif/esp-idf!22993
This commit is contained in:
Jiang Jiang Jian
2023-05-11 17:18:22 +08:00
3 changed files with 11 additions and 1 deletions

View File

@@ -674,3 +674,9 @@ config BT_NIMBLE_LEGACY_VHCI_ENABLE
default n
help
This option is used to distinguish whether a previous version of VHCI is being used
config BT_NIMBLE_BLE_GATT_BLOB_TRANSFER
bool "Blob transfer"
help
This option is used when data to be sent is more than 512 bytes. For peripheral role,
BT_NIMBLE_MSYS_1_BLOCK_COUNT needs to be increased according to the need.

View File

@@ -608,6 +608,10 @@
#define MYNEWT_VAL_BLE_GATT_WRITE_RELIABLE (MYNEWT_VAL_BLE_ROLE_CENTRAL)
#endif
#ifndef MYNEWT_VAL_BLE_GATT_BLOB_TRANSFER
#define MYNEWT_VAL_BLE_GATT_BLOB_TRANSFER (CONFIG_BT_NIMBLE_BLE_GATT_BLOB_TRANSFER)
#endif
#ifndef MYNEWT_VAL_BLE_HOST
#define MYNEWT_VAL_BLE_HOST (1)
#endif