Merge branch 'feature/write_blob' into 'master'

NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN

See merge request espressif/esp-idf!22808
This commit is contained in:
Rahul Tank 2023-03-21 16:33:01 +08:00
commit e32083c859
3 changed files with 11 additions and 1 deletions

View File

@ -655,3 +655,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.

@ -1 +1 @@
Subproject commit 814b32a318696782df92aeec245bdb54d86550ba
Subproject commit 10a21e6c633ceafc06385c1ccb76df210afe6a81

View File

@ -615,6 +615,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