where is "nRF UART App" nRF51822 code ?
Why I used '\r' to match the end of the strings is worked? '\n' not work.
I have tested SecureCRT and Putty console.