<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57031/how-to-send-the-data-to-ble_app-using-usb-dongle-nrf52840</link><description>how to send the data to ble_app_uart , i used this line 
 ret = ble_nus_data_send(&amp;amp;m_nus,&amp;quot;hwllo&amp;quot; ,25,m_conn_handle); but i am not receiving any data in ble_app</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 May 2023 06:11:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57031/how-to-send-the-data-to-ble_app-using-usb-dongle-nrf52840" /><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/424136?ContentTypeID=1</link><pubDate>Mon, 08 May 2023 06:11:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcc85e2e-c7c9-43a6-8c46-227f3497f4ad</guid><dc:creator>sagarnayakm</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;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?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if yes, please let me know which dongle is suitable for receiving the data from a peripheral.&lt;/p&gt;
&lt;p&gt;Thank You&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231698?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 14:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78937861-df51-4387-8e34-39eec216dfe4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Can you describe&amp;nbsp;&lt;strong&gt;&lt;em&gt;exactly&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;what is failing, and where? Which pins do you use for I2C/TWI?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231552?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 08:57:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e538836a-3a19-4ee1-a53e-cf829873bd71</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;yes , it is working fine in general .. but not usb dongle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231401?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 12:46:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0686b9ae-306c-46bb-ac1b-8ff379045270</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;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?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231393?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 12:27:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb479a16-7180-4aaf-8afa-c753c21b864d</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;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 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231323?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 08:59:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64078e7e-2df7-4a58-8984-12a89e4e2674</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The USB port of the Dongle will not work with the ble_app_uart examples. You should use the&amp;nbsp;&lt;a title="USBD BLE UART Example" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/usbd_ble_uart_example.html?cp=7_1_4_6_52_1"&gt;USBD BLE UART Example&lt;/a&gt;&amp;nbsp;instead, which implements the USB CDC ACM library for sending UART data over the USB port.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231294?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 05:36:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39747520-b44b-441f-b27f-968b06f7fbc4</guid><dc:creator>Ameer Usman</dc:creator><description>&lt;p&gt;So the code was working fine in the default example but when you imported it, it is not.&lt;br /&gt;Can you try to the default examples method of giving function the data argument:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static uint8_t data_array[BLE_NUS_MAX_DATA_LEN];

err_code = ble_nus_data_send(&amp;amp;m_nus, data_array, &amp;amp;length, m_conn_handle);   //Send data this way&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231293?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 05:35:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cdd5839-2de7-42a4-b2b5-9e346deecc9d</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;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 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231287?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 04:15:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8169c544-2311-48b5-9a0e-bb52c06ebc92</guid><dc:creator>Ameer Usman</dc:creator><description>&lt;p&gt;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231282?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 02:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:564e39fb-c1e4-473a-a378-313c88cf8a7d</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;Yes I know .. But for that timing I need to use .. Pls help me later we will change to our custom board nRF52832&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231174?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 13:49:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa2b2e46-ddeb-43ce-9266-eccd824fe3a1</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The dongle is not intended for doing development on.&lt;/p&gt;
&lt;p&gt;You really need to get the working on a pair of Dev Kits first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231167?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 13:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9811065a-18e8-4793-a170-9bf0d423cfa1</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;no i am getting the empty data&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231162?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 13:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9690ad2b-a0b5-41e1-9340-f1e06516e993</guid><dc:creator>Ameer Usman</dc:creator><description>&lt;p&gt;Was the function working fine in the default example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231159?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 13:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1f19c77-9bab-4874-bbe9-cf74f54fcd69</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;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&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231156?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 13:23:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca92d15a-b8cf-4d2c-8b21-8722a918f5bb</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;No , i couldn&amp;#39;t able to receive the data from usb dongle , and i am not receiving any data too in termite from app&amp;nbsp;&lt;/p&gt;
&lt;p&gt;even i installed cdc driver too .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231151?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 13:14:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21be8727-bc0a-4837-b1ed-71312aab64ae</guid><dc:creator>Ameer Usman</dc:creator><description>&lt;p&gt;Ok one thing I see is:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t ble_nus_data_send(ble_nus_t * p_nus,
                           uint8_t   * p_data,
                           uint16_t  * p_length,
                           uint16_t    conn_handle)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So you need to pass address of the data to be exact.&lt;br /&gt;&lt;br /&gt;But before that have you used the basic ble_app_uart example in its raw form?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send the data to ble_app using usb dongle nrf52840</title><link>https://devzone.nordicsemi.com/thread/231149?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 13:14:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57ec67ea-a738-4856-b5a7-f89cc4b14e73</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;There are both Central &amp;amp; Peripheral examples for the Nordic UART Service (NUS) in the SDK.&lt;/p&gt;
&lt;p&gt;Start with those ...&lt;/p&gt;
&lt;p&gt;Have you tested your peripheral code with Nordic&amp;#39;s app ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>