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

nRF 9160 SMS sample

Looking for the nRF 9160 SMS sample mentioned in Getting Started. I can not find it in the folder mentioned.

This sample can be found under samples/nrf9160/sms in the nRF Connect SDK folder structure.

  • Hi LuRocm!

    What getting started guide are you referring to? It is for instance mentioned on the NCS developer page, but only for v1.5.99, as it hasn't been released with any of the NCS versions yet. 

    If you want to try it however, you can go ahead and download it from the github repository. As it is meant for a newer version of NCS though, there might be issues running it on an older one.

    Best regards,

    Håkon

  • Yes, it is the one mentioned on the the NCS developer page. My application has to send and receive SMS so I thought this sample fits perfectly. In case you do not recommend this sample which one of the samples would you suggest. to modify. 

  • If you want to you can still go ahead and use it, though it seems that you would have to use the master branch in order to do so. I can't vouch for anything in the master branch working perfectly, but you could try it if you want to test the latest features. In a few months there will be a new official release, and you could try to migrate it over. 

    If that is what you want to do then head into the Tool Manager in NrfConnect for Desktop, and press the drop down menu next to the NCS v1.5.1. Then enter the bash terminal, and change directory to ~/ncs/v1.5.1/nrf 

    Then run:

    pip install -U west  (as you might need to update west)

    git fetch –all

    git checkout master

    west update
    Then you will find the sms sample where you expected to earlier. I tried it myself and got it to build and run. 
    If you rather want to work with something available on an official release (which is what is recommended), then it seems we sadly don't have an example available yet, but you could try to familiarize yourself with the SMS Subscriber library and try to build on that.
    Best regards,
    Håkon
Related