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

GAP Broadcast

Hi,

I have nRF52 dev boards (nRF52840) (PCA10056), I am using SoftDevice nRF5_SDK_17.0.2_d674dde.

I am not sure SoftDevice SDK 17.0.2 supports BLE 5.0 specification:

    9.1 BROADCAST MODE AND OBSERVATION PROCEDURE

    9.5 PERIODIC ADVERTISING MODES AND PROCEDURE

If yes, is there any code example available,

if no, is it possible to customize (or extend or user-add ) function to SoftDevice for such a function/implementation?

Thank you

David

  • Hi David,

    Yes, you are right. NCS is really what you want to consider if you want many extended advertising features. Also, this is where you can expect new features to be added in the future.

    Please note that NCS is fully supported with Linux (as well as Windows and macOS), and a significant portion of Nordic firmware developers (most likely majority) uses Linux.

  • Hi Einar,

    Thank you for your reply.

    CAN I use NCS to program nRF52840/nRF5232 device? I thought NCS is for Zephyr Host or Linux Host, not for nRF52840/nRF52832 devices.

    Using SoftDevice, if a central is connected to a peripheral, it can accept periodic data broadcasting from the perpheral. But if the peripheral is stopped (not running or too far away), then the connection is broken, and it seems removed (service) from the central. Is there a way to fake it. i.e. to keep the broken connection, and if the peripheral backs on again, it can automatically resume data broadcast without a re-connection?

    Regards,

    David

  • Hi David,

    TigerD said:
    CAN I use NCS to program nRF52840/nRF5232 device?

    Yes. NCS is a full SDK that supports all devices in the nRF2 series (as well as nRF5340 and nRF9060). This is the SDK Nordic supplies going forward. The nRF5 SDK is in more of a maintenance mode and you should not expect new features here.

    TigerD said:
    I thought NCS is for Zephyr Host or Linux Host, not for nRF52840/nRF52832 devices.

    No, that is not the case. See nRF Connect SDK (and here for more technical documentation).

    TigerD said:
    Using SoftDevice, if a central is connected to a peripheral, it can accept periodic data broadcasting from the perpheral. But if the peripheral is stopped (not running or too far away), then the connection is broken, and it seems removed (service) from the central. Is there a way to fake it. i.e. to keep the broken connection, and if the peripheral backs on again, it can automatically resume data broadcast without a re-connection?

    Periodic advertising is not supported by the SoftDevice (and probably never will be), so this will not work in any case.

    Einar

  • HI Einar,

    I installed nRFConnectSDK, compiled a beacon project, loaded into nRF52840 device. It runs.

    But I cannot measure the power consumption using nRF9160 Power Measurement DK board. I selected the nRF52840 board, but cannot start RUN and measure. Did I miss anything?

    Thank you,

    David Z

  • Hi David,

    I assume you are referring to the Power Profiler Kit (first or second version)? In any case please open a new case about issues using those as that is different than previous topics in this thread. When you do, please explain in what way it does not work, how you have configured it and hooked it up, etc.

Related