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
Hi,
The USB port of the Dongle will not work with the ble_app_uart examples. You should use the USBD BLE UART Example instead, which implements the USB CDC ACM library for sending UART data over the USB port.
Best regards,
Jørgen
yes i used above example program only . i merged the usbd_ble_uart example with twi, saadc example. receiving the adc data only i am not getting the i2c values why ?
Most likely there is an error in your application. Are you checking error codes returned from all function calls? Is the issue you are seeing with transferring the I2C data over BLE/NUS, or are you having issues with reading the I2C device in general?
yes , it is working fine in general .. but not usb dongle
It would be helpful if you could answer all the questions, and not just one of them. As stated before, the dongle is not intended for development, exactly for reasons like this that you do not have a built-in debug interface.
Can you describe exactly what is failing, and where? Which pins do you use for I2C/TWI?
It would be helpful if you could answer all the questions, and not just one of them. As stated before, the dongle is not intended for development, exactly for reasons like this that you do not have a built-in debug interface.
Can you describe exactly what is failing, and where? Which pins do you use for I2C/TWI?
Hello,
I have only one doubt here, without using the nrf52840 dongle, can we use a third-party dongle and connect our peripheral devices and send data from the peripheral to the dongle?
if yes, please let me know which dongle is suitable for receiving the data from a peripheral.
Thank You