This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to enable 2mbps

Hello everybody.

I have two boards. I have been trying to build a communication between my boards for a time. I could not manage to have 2mbps data transfer rate. 

Boards                    : nRF52832 DK(PCA10040) and nRF52840 Dongle(PCA10059)
SDK version           : 15.3.0
SoftDevice Version : 6.1.1
SoftDevices            : s132 for PCA10040 and s140 for PCA10059
Examples               : ble_app_uart and ble_app_uart_c

1-) How can I enable 2mbps data transfer rate ? I have tried various methods like sending PHY updating requests etc. But I guess I am doing something wrong. What is the correct way to do it?
2-) Let's say I managed to have 2mbps data transfer rate. How can I test it ? How to verify that I am having 2mbps data transfer rate ?

Sincerely.

Parents
  • On the peripheral side, you can add adv_params.primary_phy = BLE_GAP_PHY_2MBPS; to the advertising_init() function. On the central side, you can add  .scan_phys     = BLE_GAP_PHY_2MBPS to the ble_gap_scan_params_t function. You should also add 

                    .rx_phys = BLE_GAP_PHY_2MBPS,
                    .tx_phys = BLE_GAP_PHY_2MBPS,

    to the BLE_GAP_EVT_PHY_UPDATE_REQUEST.

    Please check out this case for how to enable and check for Data Length Extension and MTU.
    Best regards,
    Simon
Reply
  • On the peripheral side, you can add adv_params.primary_phy = BLE_GAP_PHY_2MBPS; to the advertising_init() function. On the central side, you can add  .scan_phys     = BLE_GAP_PHY_2MBPS to the ble_gap_scan_params_t function. You should also add 

                    .rx_phys = BLE_GAP_PHY_2MBPS,
                    .tx_phys = BLE_GAP_PHY_2MBPS,

    to the BLE_GAP_EVT_PHY_UPDATE_REQUEST.

    Please check out this case for how to enable and check for Data Length Extension and MTU.
    Best regards,
    Simon
Children
Related