Skip to content

Commit 8e3ab60

Browse files
jwiseHexxeh
authored andcommitted
nimble/cc2564x: enable flow control on HCI (without the typo this time?)
Signed-off-by: Joshua Wise <[email protected]>
1 parent b56c888 commit 8e3ab60

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

third_party/nimble/port/include/cc2564x/syscfg/syscfg.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
/*** Repository @syscfg info */
4747
#ifndef MYNEWT_VAL_REPO_HASH_SYSCFG
48-
#define MYNEWT_VAL_REPO_HASH_SYSCFG "1a2fbfa2b2aa656237c36a4fac5715fa0c3670e6-dirty"
48+
#define MYNEWT_VAL_REPO_HASH_SYSCFG "3f3ccaa564b6bddded4592615548c00b5b1f1fcf-dirty"
4949
#endif
5050

5151
#ifndef MYNEWT_VAL_REPO_VERSION_SYSCFG
@@ -783,8 +783,9 @@
783783
#define MYNEWT_VAL_BLE_HS_EXT_ADV_LEGACY_INSTANCE (0)
784784
#endif
785785

786+
/* Overridden by targets/cc2564x (defined by @apache-mynewt-nimble/nimble/host) */
786787
#ifndef MYNEWT_VAL_BLE_HS_FLOW_CTRL
787-
#define MYNEWT_VAL_BLE_HS_FLOW_CTRL (0)
788+
#define MYNEWT_VAL_BLE_HS_FLOW_CTRL (1)
788789
#endif
789790

790791
#ifndef MYNEWT_VAL_BLE_HS_FLOW_CTRL_ITVL

third_party/nimble/syscfg/targets/cc2564x/syscfg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ syscfg.vals:
2525

2626
# If we do not turn on flow control, large volumes of NOTIFY events
2727
# (ANCS, etc) will cause us to crash.
28-
BLE_HW_FLOW_CTRL: 1
28+
BLE_HS_FLOW_CTRL: 1
2929
BLE_HS_FLOW_CTRL_THRESH: 5
3030
BLE_HS_FLOW_CTRL_TX_ON_DISCONNECT: 1
3131
BLE_TRANSPORT_ACL_COUNT: 20

0 commit comments

Comments
 (0)