hi...
i want to check how the sleep mode is working so i am testing with the simple uart program
here you can see the code .. ble_nus is not sending the data in ble_uart app
please help me out ... too confused
*/
int main(void)
{
bool erase_bonds;
// Initialize.
uart_init();
log_init();
timers_init();
buttons_leds_init(&erase_bonds);
power_management_init();
ble_stack_init();
gap_params_init();
gatt_init();
services_init();
advertising_init();
conn_params_init();
uint16_t i;
// Start execution.
printf("\r\nUART started.\r\n");
NRF_LOG_INFO("Debug logging for UART over RTT started.");
advertising_start();
// Enter main loop.
for(i=0;i<5;i++)
{
ble_nus_data_send(&m_nus, "kd", 4, m_conn_handle);
power_manage();
}
}