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

Timer not working with soft device s110

When i added timer in my bluetooth code my board will not advertise.using pca10028 and nrftool box uart app on iphone 5s. here is my complete code. Using timer1 Final with timer.zip

Base 64 files.zip

Parents
  • The SoftDevice only uses timer 0, so it should not matter what you do with timer 1.

    Which version of the SDK are you using?

    I compiled your code with SDK 9 and used SoftDevice S110. I had to comment out line 223 (call to Base64encode) as base64.c is not part of the zipped project folder you supplied, but other then that I had no issues. When i flash the application to a nRF51 DK it starts to advertise and I do not see any problems.

    Have you double checked that your device does not advertise? If so, I would assume that the issue is somewhere within Base64encode as that is the only part of the code that I did not use.

Reply
  • The SoftDevice only uses timer 0, so it should not matter what you do with timer 1.

    Which version of the SDK are you using?

    I compiled your code with SDK 9 and used SoftDevice S110. I had to comment out line 223 (call to Base64encode) as base64.c is not part of the zipped project folder you supplied, but other then that I had no issues. When i flash the application to a nRF51 DK it starts to advertise and I do not see any problems.

    Have you double checked that your device does not advertise? If so, I would assume that the issue is somewhere within Base64encode as that is the only part of the code that I did not use.

Children
No Data
Related