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

BT 5.0 on "ble_app_uart"

Hi All,

I used the app "ble_app_uart"  and "ble_app_uart_c" on two custom boards mounting a n52840 QIAACO.

I know that in the app (nRF5_SDK_15.1.0_a8c0c4d\examples\ble_peripheral\ble_app_uart) is not used the BT 5.0 2phy but the 1phy.

My question is: what should I change to have a faster data transfer using the 2phy instead of 1phy from the peripheral to the central unit?

I tried just to replace BLE_GAP_PHY_1MBPS with BLE_GAP_PHY_2MBPS in the whole code but apparently it is not enough.

Thanks in advance,

Parents
  • How do you define "faster data transfer"? And how do you measure it? The 1mbps and 2mbps PHY is only the on-air data transmission speed, and might not have any impact on application speed.

    If you're talking about latency, then the connection interval is the parameter you need to have a look at. This is how often the packets are sent over air.

    Then if you want to send a lot of data at a time, you can also look into the PDU MTU size (how many bytes per package), and connection event length (how many packets per connection interval).

    Then finally you have the PHY (1mbps and 2mbps). If you increase to 2mbps, the radio time is shorter, meaning that you can fit more packets and more bytes per packet into one connection interval.

Reply
  • How do you define "faster data transfer"? And how do you measure it? The 1mbps and 2mbps PHY is only the on-air data transmission speed, and might not have any impact on application speed.

    If you're talking about latency, then the connection interval is the parameter you need to have a look at. This is how often the packets are sent over air.

    Then if you want to send a lot of data at a time, you can also look into the PDU MTU size (how many bytes per package), and connection event length (how many packets per connection interval).

    Then finally you have the PHY (1mbps and 2mbps). If you increase to 2mbps, the radio time is shorter, meaning that you can fit more packets and more bytes per packet into one connection interval.

Children
No Data
Related