Browse Source

fix(ble): Restore manual connection params

xmkb
Nick Winans 3 years ago committed by Pete Johanson
parent
commit
d08463e483
  1. 5
      app/src/ble.c

5
app/src/ble.c

@ -398,6 +398,11 @@ static void connected(struct bt_conn *conn, uint8_t err) { @@ -398,6 +398,11 @@ static void connected(struct bt_conn *conn, uint8_t err) {
LOG_DBG("Connected %s", log_strdup(addr));
err = bt_conn_le_param_update(conn, BT_LE_CONN_PARAM(0x0006, 0x000c, 30, 400));
if (err) {
LOG_WRN("Failed to update LE parameters (err %d)", err);
}
#if IS_SPLIT_PERIPHERAL
bt_conn_le_phy_update(conn, BT_CONN_LE_PHY_PARAM_2M);
#endif

Loading…
Cancel
Save