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

nRF52833 LR(Long range testing) Set UP for (Coded PHY)

Hi,

We want test nRF52833 support on long range. I referred https://github.com/NordicPlayground/nRF52-ble-long-range-demo.

So as first step we use nRF52840 dongle for advertising and able to advertise. It is verified on Onpluse 6 device as shown in below.

Now for scanning we use nRF52840 DK as mentioned in above link. 

We are facing issue in scanning(central mode). We are not getting any advertise packet on DK. But when i used Oneplus device to advertise as long range we started getting scan responses but with MAC address.

Could you please guide on above?

Parents
  • Hi

    Quite a few mobile phones (including the OnePlus 6) states that they support Coded PHY, but are not able to scan and connect to devices advertising in the Coded PHY. Generally, only the latest high-end models.

    It should not be a problem migrating a nRF52840 project to the nRF52833 at a later point.

    In order to set up long range advertising, you need to do the following in your advertising initialization:

    • adv_params.primary_phy and adv_params.secondary_phy must be set to BLE_GAP_PHY_CODED
    • The advertising flag need to be set to adv_data.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;
    • The advertising type needs to be set either to BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_UNDIRECTED or BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED 
    • You also need to make sure that scan response data is set to NULL, as this is not supported in the Coded PHY.

    This should already be taken care of in the long range demo that you have linked to though. 

    Best regards,

    Simon

  • Hi

    Thank you for the nice post! Can you please help me to migrate from 52840 to 52833? I did for the example project but it generate errors of missing files like pca10100.h / nrf52833.h and other files. I added all the missing files but still the error. Although migration from 52840 to 52833 is simple, we just have to change a few parameters in the .emproject file and it worked for me with other examples but not with this.

    Can you please help me in this regard?

    Thanks

  • This case is more than a year old, so please create a new ticket on DevZone where you explain your issue in detail, and show what error code you're seeing. Please also add what SDK version, etc. you're using for your project.

    Best regards,

    Simon

Reply Children
Related