Fix interval update, add PHY update

This commit is contained in:
Nick
2020-08-02 14:51:42 -05:00
parent 24ec83c234
commit f26bd495ea
3 changed files with 26 additions and 2 deletions

View File

@@ -37,7 +37,11 @@ static void connected(struct bt_conn *conn, u8_t err)
printk("Connected %s\n", addr);
bt_conn_le_param_update(conn, BT_LE_CONN_PARAM(0x0006, 0x000c, 5, 400));
bt_conn_le_param_update(conn, BT_LE_CONN_PARAM(0x0006, 0x000c, 30, 400));
#if IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL)
bt_conn_le_phy_update(default_conn, BT_CONN_LE_PHY_PARAM_2M);
#endif
if (bt_conn_set_security(conn, BT_SECURITY_L2))
{