NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN

This commit is contained in:
isha.pardikar@espressif.com
2023-03-17 14:24:28 +05:30
parent ef4b1b7704
commit a5b20d3d52
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