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

Send string without terminal

Hi,

I try to send a string using example code ble_app_uart_pca10028 without input from terminal ,but directly from inside the code

All of the tutorials I've search send data from terminal

Below are what I've done, but no value appears in nRF Master Control Panel

  char *s = "Hello World";
  for(uint8_t i = 0; i < 5; i++)
  { 		
    uint8_t len = strlen((char *) s);
    for (uint8_t i = 0; i < len; i++)
        while (app_uart_put(s[i]) != NRF_SUCCESS);
  }

The version of Keil is 5.14 The version of SDK is 9.0.0

Related