Can any of you point me to the place where I can find source code or hex file for beacon based on NRF51822 ?
Im assuming that you are asking for a beacon example code for SDK. You can download the SDK here
After you extract it, you can find the example at SDK9.0\examples\ble_peripheral\ble_app_beacon
The documentation for this example can be found here
Yes, it seems that I didn't check what inside examples folder is. Thank you for telling me how wrong I was! :)