diff --git a/lib/sdk11/components/libraries/bootloader_dfu/dfu_transport_ble.c b/lib/sdk11/components/libraries/bootloader_dfu/dfu_transport_ble.c index 5d6e0e7..711cb78 100644 --- a/lib/sdk11/components/libraries/bootloader_dfu/dfu_transport_ble.c +++ b/lib/sdk11/components/libraries/bootloader_dfu/dfu_transport_ble.c @@ -887,20 +887,12 @@ static void on_ble_evt(ble_evt_t * p_ble_evt) case BLE_GAP_EVT_PHY_UPDATE_REQUEST: { -// ble_gap_phys_t* req_phy = &evt->evt.gap_evt.params.phy_update_request.peer_preferred_phys; - // Tell SoftDevice to choose PHY automatically ble_gap_phys_t phy = { BLE_GAP_PHY_AUTO, BLE_GAP_PHY_AUTO }; (void) sd_ble_gap_phy_update(m_conn_handle, &phy); } break; - case BLE_GAP_EVT_PHY_UPDATE: - { -// ble_gap_evt_phy_update_t* active_phy = &evt->evt.gap_evt.params.phy_update; - } - break; - case BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST: { uint16_t att_mtu = MIN(p_ble_evt->evt.gatts_evt.params.exchange_mtu_request.client_rx_mtu, BLEGATT_ATT_MTU_MAX); diff --git a/src/sdk_config.h b/src/sdk_config.h index e66730e..62cd86f 100644 --- a/src/sdk_config.h +++ b/src/sdk_config.h @@ -66,7 +66,7 @@ #define HCI_MEM_POOL_ENABLED 1 #define HCI_TX_BUF_SIZE 600 #define HCI_RX_BUF_SIZE 600 -#define HCI_RX_BUF_QUEUE_SIZE 8 +#define HCI_RX_BUF_QUEUE_SIZE 4 //========================================================== // UART_ENABLED - nrf_drv_uart - UART/UARTE peripheral driver