<?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>nrf51 ble advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7798/nrf51-ble-advertising</link><description>I&amp;#39;m trying to do BLE advertising with an nRF51 without the softdevice, has anyone already tried this? maybe there is an example of this?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jun 2015 19:30:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7798/nrf51-ble-advertising" /><item><title>RE: nrf51 ble advertising</title><link>https://devzone.nordicsemi.com/thread/27773?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2015 19:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a36e0f7-3b48-4629-9cea-66d5955c21cf</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;Thank you, I already check the code and is exactly what I need.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 ble advertising</title><link>https://devzone.nordicsemi.com/thread/27769?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2015 12:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b32f6b0-3dcc-4d39-93fd-d2f65e7247eb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Carlos: If you have a look at the ble_setup() function, in main.c in advertiser project, you can find that we don&amp;#39;t use the softdevice to do advertising.&lt;/p&gt;
&lt;p&gt;Yes it uses timeslot which is provided by softdevice, but other than that, the radio is set up manually and transmit the advertising packet also handling scan request and scan response directly on the radio. Please have a look at  ts_peripheral.c, nrf_advertiser.c, ts_controller.c.&lt;/p&gt;
&lt;p&gt;Of course you would need to stripout those code related to timeslot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 ble advertising</title><link>https://devzone.nordicsemi.com/thread/27772?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2015 08:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fca6670c-cc0f-46a8-b0ed-c2a1aebaf373</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;If you copy the RADIO0 configuration options from radio.c in the example I linked, and strip out the callback and state stuff, you will have the simplest advertiser you can get. You probably want a timer implementation to do multiple advertisements, and the blessed stack has support for this. It can also do callbacks when RX/TX happens in case you want to implement scan responses. In the simplest sense, you have to configure the radio fields (MODE, TIFS, PCNF1, CRCCNF, CRCPOLY, etc.), then set PACKETPTR to some uint8_t[39], put your data in there, then enable start TASKS_RXEN. If the READY-&amp;gt;START SHORTS is set, the radio will automatically transmit the packet once it is ready. You have to repeat this for all advertising channels (37, 38 and 39).&lt;/p&gt;
&lt;p&gt;This might sound complex, but I think &amp;quot;blessed&amp;quot; solves this in an easy-to-understand way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 ble advertising</title><link>https://devzone.nordicsemi.com/thread/27771?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2015 15:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1613301-398d-46b9-9c9b-9974820ef38d</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;Hi Ulrich,&lt;/p&gt;
&lt;p&gt;I will look in to this example, it appears as it does not use the softdevice at all so that are great news. Maybe, if you have some kind of example using the uESB library or baremetal, that would be great, thank you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 ble advertising</title><link>https://devzone.nordicsemi.com/thread/27768?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2015 15:50:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04d66a34-ec4f-40ed-a8bd-dba2a3ce9183</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I already looked into an example like this, the thing is I don&amp;#39;t want to load the softdevice in the nRF51. I will be using the uESB library, but is a feature to have non-connectable advertising to send data to a smart device.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 ble advertising</title><link>https://devzone.nordicsemi.com/thread/27770?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2015 09:03:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de132b64-8bd9-4d4f-8252-0a64cedbaeee</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;There is also this alternative implementation: &lt;a href="https://github.com/pauloborges/blessed/"&gt;github.com/.../&lt;/a&gt;
See the &lt;em&gt;radio-broadcaster&lt;/em&gt; example specifically.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 ble advertising</title><link>https://devzone.nordicsemi.com/thread/27767?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2015 07:57:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03eb85ab-4797-4493-bcee-a6ebf4c75fd2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Carlos: &lt;a href="https://github.com/NordicSemiconductor/nRF51-multi-role-conn-observer-advertiser"&gt;This example&lt;/a&gt; use timeslot (provided by the softdevice) to access the radio directly and transmit advertising packet (directly without softdevice) when in a connection. You can follow what we did there to setup advertising packet. .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>