Hi,
I want to configure "BLE_GAP_PHY_2MBPS" in ble_app_uart example of sdk 15.3.0 for faster communication, for this i have changed
BLE_GAP_EVT_PHY_UPDATE_REQUEST:
{
//NRF_LOG_DEBUG("PHY update request.");
ble_gap_phys_t const phys =
{
.rx_phys = BLE_GAP_PHY_AUTO,
.tx_phys = BLE_GAP_PHY_AUTO,
};
err_code = sd_ble_gap_phy_update(p_ble_evt->evt.gap_evt.conn_handle, &phys);
APP_ERROR_CHECK(err_code);
To
BLE_GAP_EVT_PHY_UPDATE_REQUEST:
{
//NRF_LOG_DEBUG("PHY update request.");
ble_gap_phys_t const phys =
{
.rx_phys = BLE_GAP_PHY_2MBPS ,
.tx_phys = BLE_GAP_PHY_2MBPS ,
};
err_code = sd_ble_gap_phy_update(p_ble_evt->evt.gap_evt.conn_handle, &phys);
APP_ERROR_CHECK(err_code);
But it does not effect on the overall time taken by 180 bytes to read and write.
Is there some thing else needs to change to configure BLE_GAP_PHY_2MBPS communication.