<?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>Vary RSSI with Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63970/vary-rssi-with-zephyr</link><description>Hello Nordic Team, a broad question and not sure if this is in the realm of possibility. 
 I have a test environment with a test client (python/pygatt) running on Linux with Zephyr on a 52840 board receiving streamed data from a Nordic based device. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Jul 2020 22:48:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63970/vary-rssi-with-zephyr" /><item><title>RE: Vary RSSI with Zephyr</title><link>https://devzone.nordicsemi.com/thread/261273?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2020 22:48:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:637e5772-3844-4541-ab90-5aa79c5c2eab</guid><dc:creator>EricC</dc:creator><description>&lt;p&gt;thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Vary RSSI with Zephyr</title><link>https://devzone.nordicsemi.com/thread/261139?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2020 08:59:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f6aafd1-ecdd-4247-946f-5c4de4c579c5</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Eric,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Sorry, our resources on this topic are a little limited due to ongoing summer vacations, and those who are here are not familiar with BlueZ. However, I was able to get some suggestions using &lt;a href="https://linux.die.net/man/1/hcitool"&gt;hcitool&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cmd&amp;lt;ogf&amp;gt; &amp;lt;ocf&amp;gt; [parameters]
	Submit an arbitrary HCI command to local device. ogf, ocf and parameters are hexadecimal bytes.&lt;/pre&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;OGF=0x3F&lt;/div&gt;
&lt;div&gt;OCF=0x000E&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;Parameters are specified here, for example:&lt;/div&gt;
&lt;div&gt;&lt;a title="https://github.com/nrfconnect/sdk-nrfxlib/blob/master/ble_controller/include/ble_controller_hci_vs.h#l200" href="https://github.com/nrfconnect/sdk-nrfxlib/blob/master/ble_controller/include/ble_controller_hci_vs.h#L200" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrfxlib/blob/master/ble_controller/include/ble_controller_hci_vs.h#L200&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;and in the original Zephyr vendor-specific HCI interface:&lt;/div&gt;
&lt;div&gt;&lt;a title="https://github.com/zephyrproject-rtos/zephyr/blob/master/include/bluetooth/hci_vs.h#l160" href="https://github.com/zephyrproject-rtos/zephyr/blob/master/include/bluetooth/hci_vs.h#L160" rel="noopener noreferrer" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/master/include/bluetooth/hci_vs.h#L160&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Vary RSSI with Zephyr</title><link>https://devzone.nordicsemi.com/thread/261086?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 23:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26437f50-8389-42b5-b000-28dab926705f</guid><dc:creator>EricC</dc:creator><description>&lt;p&gt;Oyvind, thank for your helpful and timely reply. To expand, I am running the HCI uart &lt;a href="https://docs.zephyrproject.org/latest/samples/bluetooth/hci_uart/README.html"&gt;code&lt;/a&gt;&amp;nbsp;on the 52840. My grasp of the concepts is a little fuzzy at this point but is it fair to say that the board supports power level changes and I just need to figure out to get an HCI command from pygatt to gatttool to bluez which will then send it to the board which will do the right thing (assuming that is possible)?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks in advance,&lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Vary RSSI with Zephyr</title><link>https://devzone.nordicsemi.com/thread/260983?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 12:17:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24aa4ec5-a40f-4c50-bd25-945f106d4e7a</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Eric,&lt;/p&gt;
[quote user=""]Is it possible to send a command to the 52840 saying set the signal strength to a different value?[/quote]
&lt;p&gt;Can this sample be something you are looking for:&amp;nbsp;&lt;br /&gt;&lt;a href="https://docs.zephyrproject.org/latest/samples/bluetooth/hci_pwr_ctrl/README.html"&gt;https://docs.zephyrproject.org/latest/samples/bluetooth/hci_pwr_ctrl/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>