how to send the data to ble_app_uart , i used this line
ret = ble_nus_data_send(&m_nus,"hwllo",25,m_conn_handle);
but i am not receiving any data in ble_app
how to send the data to ble_app_uart , i used this line
ret = ble_nus_data_send(&m_nus,"hwllo",25,m_conn_handle);
but i am not receiving any data in ble_app
Ok one thing I see is:
uint32_t ble_nus_data_send(ble_nus_t * p_nus, uint8_t * p_data, uint16_t * p_length, uint16_t conn_handle)
So you need to pass address of the data to be exact.
But before that have you used the basic ble_app_uart example in its raw form?
yes i used , but i am new to nrf52840 usb dongle kit , i am not at all receiving the data from usb dongle . i merged the twi+adc example too
But it should work nonetheless. Lets start from the default example given in the example folder first. Once you do that, what error or problem do you get.
yes i am getting the data in the default example . that part is working fine ,only when i initiate the adc , twi i am not getting the data . i dono why ?
yes i am getting the data in the default example . that part is working fine ,only when i initiate the adc , twi i am not getting the data . i dono why ?