This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I get the nRF UART v2.0 for Android?

I recently use the uart with nRF51822,but I can not find the APP for Android,can anyone give me a link ?I have no permition to download from the official website

Parents Reply Children
  • thank you very much, I used to use the nRF-Toolbox app, but I found that this can only watch the data we send to the computer, it is not able to watch what we recieve from the PC

  • Using the ble_app_uart example, you should be able to see both the data you send(from the app) and receive(from nRF51 via PC/UART).

    Note that the data in your UART terminal(on PC) will not be sent to the phone before you either send a newline character('\n') or the data string reach BLE_NUS_MAX_DATA_LEN characters (20).

    Relevant code-lines:

      if ((data_array[index - 1] == '\n') || (index >= (BLE_NUS_MAX_DATA_LEN)))
                {
                    err_code = ble_nus_string_send(&m_nus, data_array, index);
                    if (err_code != NRF_ERROR_INVALID_STATE)
                    {
                        APP_ERROR_CHECK(err_code);
                    }
    
                    index = 0;
                }
    

    In e.g. Termite terminal program, you can configure the text to be transmitted with new-line character by selecting the "Append LF" option:

    image description

  • OK,I get it. thank you very much.

Related