<?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>pc-ble-driver-py read rssi of connected device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39958/pc-ble-driver-py-read-rssi-of-connected-device</link><description>Hi, 
 
 I&amp;#39;ve been using the python bindings for the pc-ble-driver and have been getting things to work, but I noticed there is no API exposed for reading the RSSI of a connected device. 
 
 I see that there are functions in the driver to Start/Stop/Get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Jul 2020 12:55:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39958/pc-ble-driver-py-read-rssi-of-connected-device" /><item><title>RE: pc-ble-driver-py read rssi of connected device</title><link>https://devzone.nordicsemi.com/thread/261612?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2020 12:55:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6a17134-5260-464c-a66c-3ee35eadc020</guid><dc:creator>nagendrapilladi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; please give an example how to read connected rssi using python drivers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py read rssi of connected device</title><link>https://devzone.nordicsemi.com/thread/155797?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 15:42:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6b5e702-6b75-4e27-ab71-e459861ea4d9</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should be able to call everything used in pc-ble-driver from python, as we automatically generate bindings for the API used in pc-ble-driver. You will see examples of that in ble_driver.py, e.g. on &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/blob/6e09a43bfc753e1d783e6c550c33b24543d11458/python/pc_ble_driver_py/ble_driver.py#L1787"&gt;line 1787&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;driver.sd_ble_gatts_exchange_mtu_reply(self.rpc_adapter, ble_event.evt.gatts_evt.conn_handle, self.ble_enable_params.att_mtu)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In the file &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/blob/6e09a43bfc753e1d783e6c550c33b24543d11458/swig/pc_ble_driver.i.in"&gt;pc-ble-driver-py/swig/pc_gle_driver.i.in&lt;/a&gt; you will see a list of &amp;quot;%include&amp;quot; directives for the header files that bindings are generated for. All functions except those specified with &amp;quot;%ignore&amp;quot; directives in the same file gets bindings.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>