Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use nRF5 SDK examples in nRF5 SDK for Mesh ? And if not how can implement single press, double press and long press on the nRF5 SDK for Mesh.?

I have been using the nRF5 Mesh SDK for development and am in need of implementing single press, double press and long press on the nRF52832. I have seen the nRF5 SDK for examples and the app_button.c & bsp.c provide functionality to implement the above but the same is not available for nRF5 SDK for MESH. Will I have to manually configure the GPIOs along with timers to develop logic for the same or is it possible to import it from the nRF5 SDK? I am using SES for development purpose and would be glad to receive any kind of assistance with this problem. 

  • Hi,

    You should be able to include modules from the nRF5 SDK into an nRF5 SDK for Mesh project, similar to how you would use the same modules in an nRF5 SDK project that did not use them before.

    Please note that for some modules there may be some incompatibilities between the two SDKs, or there are certain configurations that you need to do. You will find information about that, as well as some notes on including nRF5 SDK functionality in nRF5 SDK for Mesh based projects, in the Integrating Mesh into nRF5 SDK examples section of the nRF5 SDK for Mesh documentation on Infocenter.

    Regards,
    Terje

Related