<?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>advertising packets received using radio receiver example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20333/advertising-packets-received-using-radio-receiver-example</link><description>hi 
 i am using nrf51822. i used the radio tranceiver example and it works well. I am planning to advertise the received packets so that the range can also be increased and viewed in nRF connect android app 
 int main(void) 
 { 
 uint32_t err_code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Mar 2017 15:13:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20333/advertising-packets-received-using-radio-receiver-example" /><item><title>RE: advertising packets received using radio receiver example</title><link>https://devzone.nordicsemi.com/thread/79226?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 15:13:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:504effe3-8736-40b6-9292-5d898b833345</guid><dc:creator>karthik</dc:creator><description>&lt;p&gt;hi sir... sorry for the delay&lt;/p&gt;
&lt;p&gt;could you please help me with this part..&lt;/p&gt;
&lt;p&gt;I used the timeslot tutorial from the devzone and the radio receiver example&lt;/p&gt;
&lt;p&gt;case NRF_RADIO_CALLBACK_SIGNAL_TYPE_START:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;        //Start of the timeslot - set up timer interrupt

        signal_callback_return_param.params.request.p_next = NULL;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;signal_callback_return_param.callback_action =NRF_RADIO_SIGNAL_CALLBACK_ACTION_NONE;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;					radio_configure();

					NRF_RADIO-&amp;gt;PACKETPTR = (uint32_t)&amp;amp;pack;

					packet[0] = read_packet();

					if(packet[0] &amp;gt;= 10)
					{
						str[0] = (packet[0] / 10) + 48;
						str[1] = (packet[0] % 10) + 48;
						str[2] = &amp;#39;\0&amp;#39;;
					}
			else
			{
				str[0] = packet[0] + 48;
				str[1] = &amp;#39;\0&amp;#39;;
			}
					nrf_gpio_pin_toggle(21);
        NRF_TIMER0-&amp;gt;INTENSET = TIMER_INTENSET_COMPARE0_Msk;
        NRF_TIMER0-&amp;gt;CC[0] = m_slot_length - 1000;
        NVIC_EnableIRQ(TIMER0_IRQn); 			
					
        break;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Is this correct declaration? How should i handle the read_packet() function..how to handle the CALLBACK signal..&lt;/p&gt;
&lt;p&gt;the IF condition is to convert the integer value i receive to character type&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising packets received using radio receiver example</title><link>https://devzone.nordicsemi.com/thread/79224?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2017 13:07:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71384419-302c-4eb7-8359-0786969d8c48</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;If your goal is to receive advertisement packets, and send them again (relaying) (BLE Central and Peripheral role simultaneously), then I strongly recommend taking a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/ble_sdk_app_rscs_relay.html?cp=4_0_1_4_2_1_1"&gt;BLE Relay Example&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising packets received using radio receiver example</title><link>https://devzone.nordicsemi.com/thread/79227?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2017 02:43:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:817c889f-5efc-4e06-b3f8-526558769f3f</guid><dc:creator>karthik</dc:creator><description>&lt;p&gt;i used the example\peripheral\radio\receiver in SDK12.2. I find that the read_packet() function initializes the radio and disables the events before returning the packet. only after these lines i initialize my stack and adv block still i dont find my device advertising.&lt;/p&gt;
&lt;p&gt;kindly help me with this issue :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising packets received using radio receiver example</title><link>https://devzone.nordicsemi.com/thread/79225?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2017 13:56:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e23e9460-c003-4238-bd80-253991d921a5</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;What &amp;quot;radio tranceiver example&amp;quot; are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>