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

Which SDK example should I use to setup the NRF51822 to only receive data from a Central, in this case a smart phone.

Hello,

I would like to configure the NRF51822 as a Peripheral to receive data from a smart phone, and then call a routine when the receive process has been terminated.

I have this working with the RF Digital Simblee chip, but now I need to do this with the Raytac MDBT40 so I can not use the internal routines in the Simblee of course.

I am thinking that the UART example would do it but I do not understand the various routines at this point, or even if this is the best example to use.

All I want is for the NRF51822 to receive a string of data from the phone and put it into an array, and upon termination of the receive process, call a routine where I will call some of my existing working code to appropriately process it from there. I do not need to send any data out of the NRF51822 back to the phone. Simplex communication only, phone only to transmit to the NRF51822.

Thank-you for your assistance.