This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: sample peripheral has how many adv?

Part Number: CC2640R2F

please find the attached snapshot.

it always fail, and I keep trying one and one time, happens succeed.

what is the problem and how to make it work well.  I have low efficiency programming.

sdk 4.40, sample peripheral project, simple_peripheral.c, there is such code:

// Enable legacy advertising for set #1

// Enable long range advertising for set #2

does this mean there are two advertisements?

both can be connected by master at the same time?

  • Hi,

    It looks like no document get attached to the thread. Could you please verify this?

    In addition, please make sure to specify the example you are using, the BLE stack and the SDK version.

    For the rest, I confirm the out of the box simple_peripheral example for BLE5Stack enables two advertising sets (legacy and long-range).

    Please review our SimpleLink Academy labs for more details. (https://dev.ti.com/tirex/content/simplelink_academy_cc13x2_26x2sdk_5_20_02_00/modules/ble5stack/ble_scan_adv_basic/ble_scan_adv_basic.html)

    Best regards,

  • I want to know more about the legacy and long-range. I find no more information about them in the link, could you please refer me to some documents about this?

    my question:

    1, can it be connected by more than one master? 

    2, what difference about them?

  • Hi,

    1- The number of connections a device can form does not depend on the number of advertisements sets enabled

    2- Please refer to the link I have provided before and all the resources mentioned on the page

    Best regards,

  • I go through the document with more detail. get to know that there are different adv types, on different channel.  then I still want the information: how many connections could be? can I do that: after one adv be connected, I start one more and so on?

  • Basically, there is only on RF core on CC2640R2F so it's time sharing for CC2640R2F to enable legacy and long range advertising in different time slots, and different masters can connect to CC2640R2F at the same time, which also is based on RF time sharing.

  • Hi,

    There is nothing preventing to advertise while in a connection. To do so, there is no need to use a separate advertising set (i.e. you can use the same advertising set). This is implemented on our out-of-the-box simple_peripheral example for CC2640R2F BLE5Stack. In this example, the maximum number of connection is held by the symbol MAX_NUM_BLE_CONNS.

    When it comes to the actual maximum number of connection a peripheral can join, there is not an unique answer. Actually, each connection will be formed with a random anchor point. If the number of connections is large and the connection interval is small, the risk of collision increases and may lead to non-stable connections.

    Best regards,