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

UART with peer manager example needed

I am developing a device which will have Nordic's UART service and it also need to be able to bond with the central. I am using SDK 12.0.0 and VisualGDB for my previous projects and I dont really want to migrate to the newer SDK(unless there is any specific advantage that it is providing for my project). I am using nrf51822.

I have tried the UART example in SDK 12.0.0 but I dont think it has peer manager integrated with it. Is there any sample code that has peer manager and UART integrated? If not, then how should I go about with it? Should I take UART example as a base and try to integrate peer manager in it or should I take one of the peer manger examples and integrate UART in it?  

Parents
  • I tried searching for a sample code with UART and peer manager without any luck.

    Then I took the UART example and tried to integrate peer manager with it. It did not work for me, there are too many modules in peer manager that need to be added so I left it midway. 

    Finally I got it working by taking proximity example as base and removed all services from it. Then I added NUS, and without much effort I got the thing working. I have a code base now that has NUS service and can bond with it's central!

Reply
  • I tried searching for a sample code with UART and peer manager without any luck.

    Then I took the UART example and tried to integrate peer manager with it. It did not work for me, there are too many modules in peer manager that need to be added so I left it midway. 

    Finally I got it working by taking proximity example as base and removed all services from it. Then I added NUS, and without much effort I got the thing working. I have a code base now that has NUS service and can bond with it's central!

Children
Related