<?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 Test Controlled Through Bluetooth Service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49024/radio-test-controlled-through-bluetooth-service</link><description>I am preparing my product for radio tests. There is a radio test example in the NRF5 SDK 15.3.0 that requires a UART interface that sends CLI commands to the chip. However, my product is nearly impossible to attach wires to in a non-intrusive way which</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Jun 2019 17:57:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49024/radio-test-controlled-through-bluetooth-service" /><item><title>RE: Radio Test Controlled Through Bluetooth Service</title><link>https://devzone.nordicsemi.com/thread/195221?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 17:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e15ba5c-05b8-42c3-b76a-d0c38376564e</guid><dc:creator>John</dc:creator><description>&lt;p&gt;No it wasn&amp;#39;t a lie. It was caused because I didn&amp;#39;t close the bluetooth connection before I disabled softdevices.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Test Controlled Through Bluetooth Service</title><link>https://devzone.nordicsemi.com/thread/195218?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 17:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02690934-bf15-4291-a311-3143b94e8dde</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So it seems that the error message - &amp;quot;Not Enabled&amp;quot; - was a lie, then ?&lt;/p&gt;
&lt;p&gt;Anyhow, if your issue is resolved, verify the answer:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6840._5F00_Verify_2D00_answer_2D00_nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Test Controlled Through Bluetooth Service</title><link>https://devzone.nordicsemi.com/thread/195208?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 15:51:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a7c5ac3-5411-4ece-aa84-323fe2f5efbd</guid><dc:creator>John</dc:creator><description>&lt;p&gt;I didn&amp;#39;t know I had to close active connections and stop advertising before I can call sd_softdevice_diable(). I added the changes and it is working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Test Controlled Through Bluetooth Service</title><link>https://devzone.nordicsemi.com/thread/195161?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 13:14:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d0616f7-6cf3-4a36-adab-5c421f457a1d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="jsdey4"]when I call&amp;nbsp;sd_softdevice_disable(). I get error&amp;nbsp;NRF_ERROR_SOFTDEVICE_NOT_ENABLED.[/quote]
&lt;p&gt;Are you sure&amp;nbsp;the SoftDevice is enabled when you get this? Please double check.&amp;nbsp;&lt;/p&gt;
[quote user="jsdey4"]Do I need to disable anything else before calling&amp;nbsp;&lt;span&gt;sd_softdevice_disable()?&lt;/span&gt;[/quote]
&lt;p&gt;You should stop any active connections, advertisers or scanners before calling&amp;nbsp;sd_softdevice_disable()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Test Controlled Through Bluetooth Service</title><link>https://devzone.nordicsemi.com/thread/195154?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 13:04:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dab2dcc7-24c4-448e-b768-1899204ca371</guid><dc:creator>John</dc:creator><description>&lt;p&gt;I&amp;#39;m going to receive commands over BLE and then I will enter the radio tests by disabling softdevices.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to implement it but I&amp;#39;m having an issue occur when I call&amp;nbsp;sd_softdevice_disable(). I get error&amp;nbsp;NRF_ERROR_SOFTDEVICE_NOT_ENABLED. Below is the call stack at the point of this error. Do I need to disable anything else before calling&amp;nbsp;&lt;span&gt;sd_softdevice_disable()?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1561640594616v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Test Controlled Through Bluetooth Service</title><link>https://devzone.nordicsemi.com/thread/194894?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 13:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31931e49-6abd-4392-af5d-ff939d3e4f86</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is not straightforward, and I am tempted to say it is not possible. The radio test example does not use a SoftDevice at all but controls the radio directly, based on UART commands. If you want to use BLE with any software we provide that would have to be via the SoftDevice, and the SoftDevice has full control over the radio.&lt;/p&gt;
&lt;p&gt;You could perhaps use the SoftDevice to receive commands over BLE, and then disable the SoftDevice to do as previously instructed, before re-enabling the SoftDevice again. Alternatively, you could use the radio timeslot API. In any case, this would mean that you could only get the test state in a short period, before moving to BLE again to receive new command(s).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>