<?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 get receive data of DTM RX testing ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39137/how-to-get-receive-data-of-dtm-rx-testing</link><description>Hi Sir 
 We&amp;#39;d want to do RX testing with DTM mode, however, the dtm example code looks can&amp;#39;t report receive data or total packets counts, 
 So that, we don&amp;#39;t know how to determine RX testing is pass or not ? please teach me how to get receive packet information</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Oct 2018 04:18:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39137/how-to-get-receive-data-of-dtm-rx-testing" /><item><title>RE: How to get receive data of DTM RX testing ?</title><link>https://devzone.nordicsemi.com/thread/151747?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 04:18:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c22b14a4-b63d-4756-ad3d-6d462624e99e</guid><dc:creator>Justin_Yeh</dc:creator><description>&lt;p&gt;Hi Sir&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;d want to read RX packets counts by cli, I made a timer to receive packets, but cli console got stuck&amp;nbsp;after timer start,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How to create a infinite loop at background running and cli console also workable ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void dtm_rx_handle(void * p_context)
{
	UNUSED_PARAMETER(p_context);

	while(1)
	{
		dtm_wait();

		if (stop_rx){
			NRF_LOG_INFO(&amp;quot;stop received.&amp;quot;);
			break;
		}
	}

}


static void cmd_dtm_start_rx(nrf_cli_t const * p_cli, size_t argc, char **argv)
{
	ret_code_t ret;
	
	ret = app_timer_create(&amp;amp;m_timer_1, APP_TIMER_MODE_SINGLE_SHOT, dtm_rx_handle);
	APP_ERROR_CHECK(ret);

	ret = app_timer_start(m_timer_1, APP_TIMER_TICKS(10), NULL);
	APP_ERROR_CHECK(ret);
	
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get receive data of DTM RX testing ?</title><link>https://devzone.nordicsemi.com/thread/151419?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 12:08:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15307053-048e-4076-bbce-e97fca40961a</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Please take a look at:&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.appnotes/dita/appnotes/pdflinks/nan_34.html?cp=10_3"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.appnotes/dita/appnotes/pdflinks/nan_34.html?cp=10_3&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>