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

Advertisement with LE Coded PHY

Hi,

I have recently been evaluating the nRF52840 for the research purpose. I came across a question related to this product that I could not figure it out myself. 

I noticed that when I use Coded PHY, the advertisement take places in uncoded 1M PHY. But this affects the range, as the advertisement is not in Coded PHY. 

I was reading the Bluetooth standards (version 5.1) and I found out that in section 4.4.2.4.4 of the standard, the advertisement is also possible using ADV_EXT_IND on the LE Coded PHY.

Now the question is, does nordic uses this feather? Can we have advertisements on LE Coded PHY in nRF52840?

Best regards,

Ben

Parents Reply
  • Hi,

    I also add this to the scan parameter:

    "

    static ble_gap_scan_params_t m_scan_param =
    {
    .active = 0x00,
    .extended = 0x01,
    .interval = NRF_BLE_SCAN_SCAN_INTERVAL,
    .window = NRF_BLE_SCAN_SCAN_WINDOW,
    .timeout = 0x0000, // No timeout.
    .scan_phys = BLE_GAP_PHY_CODED, // BLE_GAP_PHY_CODED BLE_GAP_PHY_1MBPS
    .filter_policy = BLE_GAP_SCAN_FP_ACCEPT_ALL,
    };

    "

    And then I added this line of code:

    "  err_code = sd_ble_gap_scan_start(&m_scan_param, &m_scan_buffer);" 

    to scan_start() function.

    But still, the code doesn't work and it stops after finding the Nordic device!!!

    Br,

    Ben

Children
Related