Skip to content

Commit

Permalink
Add Bluetooth config addressing recent host compatibility issues
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisandreae committed Dec 18, 2023
1 parent a1d1d87 commit 7c58297
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/boards/arm/glove80/glove80_lh_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,22 @@ CONFIG_BT_DIS_PNP_VID=0x16c0
CONFIG_BT_DIS_MANUF="MoErgo"
CONFIG_BT_DIS_MODEL="Glove80"

### Bluetooth configuration workarounds

# Use higher radio transmit power
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y

# Use non-legacy LLCP (required for compatibility with recent Linux kernel)
CONFIG_BT_LL_SW_LLCP=y
CONFIG_BT_LL_SW_LLCP_LEGACY=n

# Disable 2M PHY (required for compatibility with recent Intel chipset drivers
# on Windows)
CONFIG_BT_CTLR_PHY_2M=n

# Automatically re-establish security on reconnection
CONFIG_BT_GATT_AUTO_SEC_REQ=y

# Work-around for Windows bug with battery notifications
CONFIG_BT_GATT_ENFORCE_SUBSCRIPTION=n

Expand Down
14 changes: 14 additions & 0 deletions app/boards/arm/glove80/glove80_rh_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,22 @@ CONFIG_BT_DIS_PNP_VID=0x16c0
CONFIG_BT_DIS_MANUF="MoErgo"
CONFIG_BT_DIS_MODEL="Glove80 Right"

### Bluetooth configuration workarounds

# Use higher radio transmit power
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y

# Use non-legacy LLCP (required for compatibility with recent Linux kernel)
CONFIG_BT_LL_SW_LLCP=y
CONFIG_BT_LL_SW_LLCP_LEGACY=n

# Disable 2M PHY (required for compatibility with recent Intel chipset drivers
# on Windows)
CONFIG_BT_CTLR_PHY_2M=n

# Automatically re-establish security on reconnection
CONFIG_BT_GATT_AUTO_SEC_REQ=y

# Enable MPU
CONFIG_ARM_MPU=y

Expand Down

0 comments on commit 7c58297

Please sign in to comment.