NimBLE : Update macro name changes in nimble-1.5

This commit is contained in:
Roshan Bangar 2023-05-10 16:02:07 +05:30 committed by BOT
parent 4a27fde8e4
commit fb0cc7189a
3 changed files with 20 additions and 15 deletions

View File

@ -267,23 +267,23 @@ menu "Memory Settings"
help help
Dynamic memory size of block 2 Dynamic memory size of block 2
config BT_NIMBLE_ACL_BUF_COUNT config BT_NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT
int "ACL Buffer count" int "ACL Buffer count"
depends on BT_NIMBLE_ENABLED depends on BT_NIMBLE_ENABLED
default 24 default 24
help help
The number of ACL data buffers. The number of ACL data buffers allocated for host.
config BT_NIMBLE_ACL_BUF_SIZE config BT_NIMBLE_TRANSPORT_ACL_SIZE
int "ACL Buffer size" int "Transport ACL Buffer size"
depends on BT_NIMBLE_ENABLED depends on BT_NIMBLE_ENABLED
default 255 default 255
help help
This is the maximum size of the data portion of HCI ACL data packets. This is the maximum size of the data portion of HCI ACL data packets.
It does not include the HCI data header (of 4 bytes) It does not include the HCI data header (of 4 bytes)
config BT_NIMBLE_HCI_EVT_BUF_SIZE config BT_NIMBLE_TRANSPORT_EVT_SIZE
int "HCI Event Buffer size" int "Transport Event Buffer size"
depends on BT_NIMBLE_ENABLED depends on BT_NIMBLE_ENABLED
default 257 if BT_NIMBLE_EXT_ADV default 257 if BT_NIMBLE_EXT_ADV
default 70 default 70
@ -292,8 +292,8 @@ menu "Memory Settings"
extended advertising, packets can be fragmented. 257 bytes is the extended advertising, packets can be fragmented. 257 bytes is the
maximum size of a packet. maximum size of a packet.
config BT_NIMBLE_HCI_EVT_HI_BUF_COUNT config BT_NIMBLE_TRANSPORT_EVT_COUNT
int "High Priority HCI Event Buffer count" int "Transport Event Buffer count"
depends on BT_NIMBLE_ENABLED depends on BT_NIMBLE_ENABLED
default 30 default 30
help help
@ -302,8 +302,8 @@ menu "Memory Settings"
are no free high-priority event buffers then host will try to allocate a are no free high-priority event buffers then host will try to allocate a
low-priority buffer instead low-priority buffer instead
config BT_NIMBLE_HCI_EVT_LO_BUF_COUNT config BT_NIMBLE_TRANSPORT_EVT_DISCARD_COUNT
int "Low Priority HCI Event Buffer count" int "Discardable Transport Event Buffer count"
depends on BT_NIMBLE_ENABLED depends on BT_NIMBLE_ENABLED
default 8 default 8
help help

View File

@ -852,20 +852,20 @@
/* Value copied from BLE_TRANSPORT_ACL_COUNT */ /* Value copied from BLE_TRANSPORT_ACL_COUNT */
#ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_LL_COUNT #ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_LL_COUNT
#define MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_LL_COUNT CONFIG_BT_NIMBLE_ACL_BUF_COUNT #define MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_LL_COUNT CONFIG_BT_NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT
#endif #endif
#ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_SIZE #ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_SIZE
#define MYNEWT_VAL_BLE_TRANSPORT_ACL_SIZE CONFIG_BT_NIMBLE_ACL_BUF_SIZE #define MYNEWT_VAL_BLE_TRANSPORT_ACL_SIZE CONFIG_BT_NIMBLE_TRANSPORT_ACL_SIZE
#endif #endif
#ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_COUNT #ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_COUNT
#define MYNEWT_VAL_BLE_TRANSPORT_EVT_COUNT CONFIG_BT_NIMBLE_HCI_EVT_HI_BUF_COUNT #define MYNEWT_VAL_BLE_TRANSPORT_EVT_COUNT CONFIG_BT_NIMBLE_TRANSPORT_EVT_COUNT
#endif #endif
#ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_DISCARDABLE_COUNT #ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_DISCARDABLE_COUNT
#define MYNEWT_VAL_BLE_TRANSPORT_EVT_DISCARDABLE_COUNT CONFIG_BT_NIMBLE_HCI_EVT_LO_BUF_COUNT #define MYNEWT_VAL_BLE_TRANSPORT_EVT_DISCARDABLE_COUNT CONFIG_BT_NIMBLE_TRANSPORT_EVT_DISCARD_COUNT
#endif #endif
@ -1611,7 +1611,7 @@
#endif #endif
#ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_SIZE #ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_SIZE
#define MYNEWT_VAL_BLE_TRANSPORT_EVT_SIZE CONFIG_BT_NIMBLE_HCI_EVT_BUF_SIZE #define MYNEWT_VAL_BLE_TRANSPORT_EVT_SIZE CONFIG_BT_NIMBLE_TRANSPORT_EVT_SIZE
#endif #endif
#ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_HS_COUNT #ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_HS_COUNT

View File

@ -279,3 +279,8 @@ CONFIG_NIMBLE_MESH_DEVICE_NAME CONFIG_BT_NIMBLE_MES
CONFIG_NIMBLE_CRYPTO_STACK_MBEDTLS CONFIG_BT_NIMBLE_CRYPTO_STACK_MBEDTLS CONFIG_NIMBLE_CRYPTO_STACK_MBEDTLS CONFIG_BT_NIMBLE_CRYPTO_STACK_MBEDTLS
CONFIG_BT_NIMBLE_TASK_STACK_SIZE CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE CONFIG_BT_NIMBLE_TASK_STACK_SIZE CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE
CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT CONFIG_BT_NIMBLE_MSYS_1_BLOCK_COUNT CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT CONFIG_BT_NIMBLE_MSYS_1_BLOCK_COUNT
CONFIG_BT_NIMBLE_ACL_BUF_COUNT CONFIG_BT_NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT
CONFIG_BT_NIMBLE_ACL_BUF_SIZE CONFIG_BT_NIMBLE_TRANSPORT_ACL_SIZE
CONFIG_BT_NIMBLE_HCI_EVT_BUF_SIZE CONFIG_BT_NIMBLE_TRANSPORT_EVT_SIZE
CONFIG_BT_NIMBLE_HCI_EVT_HI_BUF_COUNT CONFIG_BT_NIMBLE_TRANSPORT_EVT_COUNT
CONFIG_BT_NIMBLE_HCI_EVT_LO_BUF_COUNT CONFIG_BT_NIMBLE_TRANSPORT_EVT_DISCARD_COUNT