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

NRF52840 + PHY_CODED + Android : Possible?

Hi,

I have a project that need to use a long range bluetooth communication with an Android smartphone or tablet

I use for test a tablet Lenovo Tab M8 TB8505F, NRF Connect says it was fully compatible with Bluetooth Low Energy: High speed and Long range is supported.

I have download project nRF5_SDK_15.2.0_mod.zip found in this post.

When I flash example ble_app_uart to DK board, the tablet doesn't detect it. But when I replace the BLE_GAP_PHY_CODED by BLE_GAP_PHY_1MBPS, project works fine.

init.config.ble_adv_primary_phy = BLE_GAP_PHY_1MBPS; // BLE_GAP_PHY_CODED;
init.config.ble_adv_secondary_phy = BLE_GAP_PHY_1MBPS; // BLE_GAP_PHY_CODED;

The range are better but not sufficient for my project.

is someone already realized a communication using PHY_CODED with a phone? However, what is wrong in this example?

Regards

Pascal

Parents Reply
  • marchefeu said:

    yes, smartphone doesn't see nrf52840 with PHY CODED.

     Which smartphone are you using?

    Regarding your project, you should also add extended advertising in the advertising init routine: 

        init.config.ble_adv_extended_enabled  = true;
    And consider increasing the TX power after the advertising has been started:
        err_code = sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_ADVm_advertising.adv_handle8);
        APP_ERROR_CHECK(err_code);
    Try to diff your project with the working CODED PHY example that is shared in this post.
     
    regards
    Jared 
Children
No Data
Related