Skip to content

Commit

Permalink
nimble: update to the latest master
Browse files Browse the repository at this point in the history
  • Loading branch information
raiden00pl authored and xiaoxiang781216 committed Jun 20, 2024
1 parent 72150f5 commit bc68d95
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion wireless/bluetooth/nimble/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if NIMBLE

config NIMBLE_REF
string "Version"
default "bc7828341226d860429c63994065f8f1b8b8d7b0"
default "fb15c844542e812ceb49ab5ac8502dc93c167b90"
---help---
Git ref name to use when downloading from NimBLE repo

Expand Down
11 changes: 11 additions & 0 deletions wireless/bluetooth/nimble/include/syscfg/syscfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@
#define MYNEWT_VAL_BLE_HS_STOP_ON_SHUTDOWN (1)
#define MYNEWT_VAL_BLE_HS_STOP_ON_SHUTDOWN_TIMEOUT (2000)

/* LE Isochronous Channels not supported for now */

#define MYNEWT_BLE_ISO (0)
#define MYNEWT_VAL_BLE_ISO_MAX_BISES (0)

/* BLE role configuration */

#ifdef CONFIG_NIMBLE_ROLE_BROADCASTER
Expand Down Expand Up @@ -143,6 +148,7 @@
#define MYNEWT_VAL_BLE_MAX_CONNECTIONS (CONFIG_NIMBLE_BLE_MAX_CONN)
#define MYNEWT_VAL_BLE_MAX_PERIODIC_SYNCS (CONFIG_NIMBLE_BLE_MAX_PERIODIC_SYNCS)
#define MYNEWT_VAL_BLE_MULTI_ADV_INSTANCES (CONFIG_NIMBLE_BLE_MULTI_ADV_INSTANCES)
#define MYNEWT_VAL_BLE_HS_EXT_ADV_LEGACY_INSTANCE (0)

#ifdef CONFIG_NIMBLE_BLE_PERIODIC_ADV
# define MYNEWT_VAL_BLE_PERIODIC_ADV (1)
Expand Down Expand Up @@ -178,6 +184,7 @@
#define MYNEWT_VAL_BLE_ATT_SVR_INDICATE (1)
#define MYNEWT_VAL_BLE_ATT_SVR_MAX_PREP_ENTRIES (64)
#define MYNEWT_VAL_BLE_ATT_SVR_NOTIFY (1)
#define MYNEWT_VAL_BLE_ATT_SVR_NOTIFY_MULTI (1)
#define MYNEWT_VAL_BLE_ATT_SVR_QUEUED_WRITE (1)
#define MYNEWT_VAL_BLE_ATT_SVR_QUEUED_WRITE_TMO (30000)
#define MYNEWT_VAL_BLE_ATT_SVR_READ (1)
Expand All @@ -189,6 +196,10 @@
#define MYNEWT_VAL_BLE_ATT_SVR_WRITE (1)
#define MYNEWT_VAL_BLE_ATT_SVR_WRITE_NO_RSP (1)

/* EATT disabled for now */

#define MYNEWT_VAL_BLE_EATT_CHAN_NUM (0)

/* GAP configuration */

#define MYNEWT_VAL_BLE_GAP_MAX_PENDING_CONN_PARAM_UPDATE (1)
Expand Down

0 comments on commit bc68d95

Please sign in to comment.