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

problem on receiving data with ble_app_multilink_central

Hi!  I want to send data from nrf51 to another nrf51 multilink_central! I don't have any problem about sending data! It's work with a perfect way! But my problem is how to receive data with multilink_central! the connection is established between sender and the receiver ( multilink_central).


void uart_init(void)
{
   ret_code_t err_code;

    app_uart_comm_params_t const comm_params =
    {
        .rx_pin_no    = RX_PIN_NUMBER,
        .tx_pin_no    = TX_PIN_NUMBER,
        .rts_pin_no   = RTS_PIN_NUMBER,
        .cts_pin_no   = CTS_PIN_NUMBER,
        .flow_control =  APP_UART_FLOW_CONTROL_DISABLED,
        .use_parity   = false,
#if defined (UART_PRESENT)
        .baud_rate    = NRF_UART_BAUDRATE_115200
#else
        .baud_rate    = NRF_UARTE_BAUDRATE_115200		
#endif
    };
		    APP_UART_FIFO_INIT(&comm_params,
                       UART_RX_BUF_SIZE,
                       UART_TX_BUF_SIZE,
                       (app_uart_event_handler_t)uart_evt_handle,
                       APP_IRQ_PRIORITY_LOWEST,
                       err_code);
    APP_ERROR_CHECK(err_code);

}

but i have a part of my code how make this kind of error (fatal)

and this is the part that make this problem  !

Please help me because this method doesn't work Slight smile

Parents Reply Children
No Data
Related