Is there any sample can I use?
Is there any sample can I use?
It's my fault to misleading you, and I actually mean that how can I set NRF51822 to central role?
It's my fault to misleading you, and I actually mean that how can I set NRF51822 to central role?
That's a very different question indeed. For this you have to use the S120 SoftDevice, and there are Central examples available in SDK 5.2.0.
Anyway, since my original reply answers the starting question, I'd be happy if you could accept it, to clear up this question. If you have further questions on the Central capabilities, I'd recommend you to search first, and then post separate questions if needed.