This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to send simple string using Nordic NUS service

Hello All,

I am just beginner with Nordic SDK. I want to send simple hard coded string from Nordic UART service from peripheral to client.

I just tried the below program snippet from main but its not working: char buf[10]="DEMO" for (;;) { printf("NUS Demo");

    ble_nus_string_send(&m_nus, buf, 5);

    UNUSED_RETURN_VALUE(NRF_LOG_PROCESS());
    power_manage();
    nrf_delay_ms(1000);
}

Kindly help regarding this.

Parents Reply Children
No Data
Related