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

Easiest way to make a Long Range Beacon with nRF52840?

I've just got my hands on a nRF52840 DK and need to quickly evaluate it as a bluetooth 5 beacon in long range mode.

I assume I can just modify an example project to make this happen. If that's the case, what's the best example to start from and what sort of modification will I need to do to reconfigure it as a long range beacon?

Parents Reply
  • In my case it I'd like to test this for an application.

    Thanks for the threads. I've been changing some of the parameters based on what I've read.

    Seems like the below parameters compile and run, but I don't know if they actually work on BT5 yet!

        m_adv_params.primary_phy     = BLE_GAP_PHY_CODED;
        m_adv_params.secondary_phy   = BLE_GAP_PHY_CODED;
        m_adv_params.scan_req_notification = 0;
    
        m_adv_params.properties.type = BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED;
        m_adv_params.p_peer_addr     = NULL;    // Undirected advertisement.
        m_adv_params.filter_policy   = BLE_GAP_ADV_FP_ANY;
        m_adv_params.interval        = NON_CONNECTABLE_ADV_INTERVAL;
        m_adv_params.duration        = 0;       // Never time out.

Children
Related