<?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>Radio Transmitter/Receiver example modification</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70573/radio-transmitter-receiver-example-modification</link><description>Hello !! 
 I want to use Radio transmitter/ receiver example in my custom board which is used for BT remote control battery powered. I have added 10 buttons on my board and define it on example. I want to send UUID code so that it could be distinguished</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Jan 2021 09:16:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70573/radio-transmitter-receiver-example-modification" /><item><title>RE: Radio Transmitter/Receiver example modification</title><link>https://devzone.nordicsemi.com/thread/290674?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2021 09:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc7e5f78-bce2-4d92-8a95-109bf4958832</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can change the example to define a byte array for use as a TX buffer, rather than a single variable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can copy your other data fields into this byte array, using the memcpy function for instance.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Depending on how much data you want to send you need to scale the byte buffer accordingly, and also update the&amp;nbsp;PACKET_STATIC_LENGTH define in radio_config.h to allow you to send more than one byte.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Transmitter/Receiver example modification</title><link>https://devzone.nordicsemi.com/thread/290424?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 09:47:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d08c1a9d-488c-4018-9087-54807b1e577d</guid><dc:creator>techietech</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes I had checked. The variable contains the same values. I have managed to resolve that using&amp;nbsp;&lt;strong&gt;bsp_evt_handler &lt;/strong&gt;function. Now I want to send string and MAC Address of the device. How could &lt;em&gt;&lt;/em&gt;I do that? I tried but at receiver end i m getting garbage values.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Transmitter/Receiver example modification</title><link>https://devzone.nordicsemi.com/thread/290405?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 08:01:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c893708a-7fa1-429f-b935-3f3a0c3f83c1</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The critical thing is what you write into the packet variable before you call send_packet().&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you used the debugger to check if this variable contains the values you expect when you press the different buttons?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Transmitter/Receiver example modification</title><link>https://devzone.nordicsemi.com/thread/289963?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 10:15:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba78448e-b4a0-4cac-9412-1b57a9bcfe65</guid><dc:creator>techietech</dc:creator><description>&lt;p&gt;The changes I have done :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Define for 10 buttons instead of 4 buttons ( as default example) in&amp;nbsp; pca10040.h&lt;/p&gt;
&lt;p&gt;2. Added definitions everywhere as it is defined for 4 buttons in example code.&lt;/p&gt;
&lt;p&gt;3. changed GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 10 in sdk_config.h&lt;/p&gt;
&lt;p&gt;4. My gpios for buttons are 6 to 12, 15 to 17. Also changed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this information would be enough. Haven&amp;#39;t changed too much in code apart from above.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Transmitter/Receiver example modification</title><link>https://devzone.nordicsemi.com/thread/289955?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 09:35:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84c9e0e8-18a8-47ab-be2e-b69383794dc0</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You stated earlier that you modified the code. Are you able to share these modifications with me so I can have a look at what you have changed?&lt;/p&gt;
&lt;p&gt;I can make the case private if you want, in case you don&amp;#39;t want to share your code in a public case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Transmitter/Receiver example modification</title><link>https://devzone.nordicsemi.com/thread/289945?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 09:13:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed836db3-e836-4018-a79a-284e2a4d4824</guid><dc:creator>techietech</dc:creator><description>&lt;p&gt;I am using RF radio transmitter / receiver code from&amp;nbsp;&lt;strong&gt;nRF5_SDK_17.0.2_d674dde&lt;/strong&gt; sdk.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Transmitter/Receiver example modification</title><link>https://devzone.nordicsemi.com/thread/289942?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 09:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64ff7f25-49d7-40fc-80eb-45d827875981</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you attach the code you use for updating the RF payload based on the button presses?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Transmitter/Receiver example modification</title><link>https://devzone.nordicsemi.com/thread/289668?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 10:13:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dabf7347-ce41-4fee-96f4-00b242d9b909</guid><dc:creator>techietech</dc:creator><description>&lt;p&gt;I just want to broadcast message from transmitter to receiver for now from my custom board. For that I have changed for 10 buttons and changed the needful thing after checking all the headers files. When I am sending I am getting the output like :&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The contents of the package is 251&amp;nbsp;&lt;/strong&gt;on each button press.&amp;nbsp;&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/70573/radio-transmitter-receiver-example-modification/289659#289659"]but[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Transmitter/Receiver example modification</title><link>https://devzone.nordicsemi.com/thread/289659?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 09:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbe74e38-1846-4cec-8da6-486694cb3146</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I understand you correctly you want to implement a proprietary radio protocol rather than use a standard one such as Bluetooth?&lt;/p&gt;
&lt;p&gt;If you want to do proprietary RF I would recommend you use the nrf_esb library, rather than start with the very simple radio transmitter/receiver examples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;em&gt;esb_ptx&lt;/em&gt; and &lt;em&gt;esb_prx&lt;/em&gt; examples in the&amp;nbsp;&lt;em&gt;\nRF5_SDK_17.0.2_d674dde\examples\proprietary_rf\&lt;/em&gt; folder show how you can get started using the nrf_esb library.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Out of the box these examples are not very low power, but I would recommend getting the basic functionality in place before you start to focus on power optimizations.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>