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

how to send the data to ble_app using usb dongle nrf52840

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

Parents
  • Ok one thing I see is:

    Fullscreen
    1
    2
    3
    4
    uint32_t ble_nus_data_send(ble_nus_t * p_nus,
    uint8_t * p_data,
    uint16_t * p_length,
    uint16_t conn_handle)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    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

  • no i am getting the empty data 

  • The dongle is not intended for doing development on.

    You really need to get the working on a pair of Dev Kits first.

  • Yes I know .. But for that timing I need to use .. Pls help me later we will change to our custom board nRF52832

  • 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 ?

Reply
  • 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 ?

Children
No Data