nRF Connect SDK missing Proximity app example (present in nRF5 SDK)

Hey guys, sorry if my question was answered in some way in the past, but after some digging I couldn't find anything in here...

In the past I've worked in a project involving the proximity profile for tracking and finding personal belongings and right now I'm facing a new very similar project for object tracking and the proximity app example would be the best starting point for this project.

After a couple of years away from Nordic's ecosystem, I just started studying and understanding the new nRF Connect SDK and the whole new environment Nordic adopted for new projects and developers. I'm not sure, but the proximity example from nRF5 sdk is missing in nRF Connect SDK, right? Will that example be ported to the main SDK in the future or is it some sort of "legacy" example right now? If that's the case, could someone please help me and point a direction in how to bring this example to work in the new nRF Connect SDK/environment? Thanks in advance!

  • Hi Tuilo, 

    As far as I know the closest to the proximity profile we have in the NRF Connect SDK is the IAS (immediate alert) service including both the server and the client. You can find them in \zephyr\subsys\bluetooth\services\ias .  We don't have the link loss service unfortunately. 
    If you need the link loss service, you may have to implement it on your own. From what I can see in the LLS service in nRF5 SDK, it's not a very complex service. 

  • Hi Hung Bui and thank you for the reply!

    I understand, I did try but couldn't find something similar to "\zephyr\subsys\bluetooth\services\ias" here in my nRF Connect SDK. I'm using the most recent version available in Toolchain Manager (v1.2.5), nRF Connect SDK v2.4.2 running on macOS.

     

    Besides that, is it safe to try to mix and match the proximity sample code from nRF5 sdk with a new project created in nRF Connect SDK? I would really appreciate your opinion on that. Thanks again!

  • Hi Tulio, 
    There is no sample. It's the service. You need to find it in the SDK folder in your computer it's located in

    yourSDKfolder\zephyr\subsys\bluetooth\services\ias

    I don't think you can mix the nRF5 SDK code with nRF Connect SDK code. They are totally different platform. You would need to rewrite. But as I mentioned, LLS service is not too complex code so you should be able to base on what we have in nRF5 SDK and write somethin gsimilar for nRF Conenct SDK. Please try to get familiar with the IAS service code first. 

  • Hi Hung Bui,

    I understood and I just found the code you've mentioned and I'll do as you've said. I really appreciate your help and time! Thank you so much again.

Related