<?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>nRF52840 Dongle TX and RX with python</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92918/nrf52840-dongle-tx-and-rx-with-python</link><description>Hi, Im trying to write a simply python script to allow connect, write data, read data and disconnect from my targeted bluetooth device using nRF52840-Dongle. 
 Basically I had successfully perform the connect and disconnect feature. The only thing which</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Oct 2022 01:04:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92918/nrf52840-dongle-tx-and-rx-with-python" /><item><title>RE: nRF52840 Dongle TX and RX with python</title><link>https://devzone.nordicsemi.com/thread/391763?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2022 01:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5268695f-1c70-4125-b584-538d72ed6d80</guid><dc:creator>Alvin_99</dc:creator><description>&lt;p&gt;Hi tesc,&lt;/p&gt;
&lt;p&gt;Thanks for responding.&lt;/p&gt;
&lt;p&gt;If that is the case how should I set the SIG UUID in the python and what is the driver I should use since&amp;nbsp;&lt;span&gt;self.adapter.write_req&amp;nbsp;is for GATT UUID as the script that you provided does not share how we should place the UUID in.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Just a question is there any documentation that specify the function of each driver?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Emin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle TX and RX with python</title><link>https://devzone.nordicsemi.com/thread/391734?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 16:54:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9df57b72-c3be-4230-8ae9-688f32f22dbd</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For manually checking, it&amp;#39;s enough to use the nRF Connect for Desktop BLE app. It shows the name of the service or characteristic if it is known to the application, otherwise it just shows the UUID. In the case of your screenshot it shows 1400, which means it sees the SIG defined UUID of 0x1400.&lt;/p&gt;
&lt;p&gt;There is some usage of standard UUIDs like this in the &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/blob/master/pc_ble_driver_py/examples/heart_rate_collector.py"&gt;heart rate collector example&lt;/a&gt;, although it uses &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/blob/a6b36d3a8924b809fe86267ba3f8079dc173fb27/pc_ble_driver_py/ble_driver.py#L1249"&gt;predefined values from the driver libraries&lt;/a&gt;.&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><item><title>RE: nRF52840 Dongle TX and RX with python</title><link>https://devzone.nordicsemi.com/thread/391360?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 08:50:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f859889-5586-4fd0-963d-0f2ccbc1482a</guid><dc:creator>Alvin_99</dc:creator><description>&lt;p&gt;Hi Tesc,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m quite new to nrf bluetooth so I&amp;#39;m not quite sure how to obtain the UUID service and characteristics. Do you mind to share to me the method to obtaind the UUID for GATT Services and characteristics?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle TX and RX with python</title><link>https://devzone.nordicsemi.com/thread/391274?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 16:06:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5029b35-579e-48b5-a7a3-77da50b12385</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What are the full UUIDs for your service and charactersitics?&lt;/p&gt;
&lt;p&gt;Based on the UUIDs shown in the screenshot, it may look like you use the SIG defined UUIDs 0x1400, 0x1401 and 0x1402, but those are not UUIDs for GATT Services or GATT Characteristics. (Those UUIDs are for HDP related service classes and profiles, see the &amp;quot;16-bit UUIDs&amp;quot; document available from the &lt;a href="https://www.bluetooth.com/specifications/assigned-numbers/"&gt;Bluetooth assigned numbers page&lt;/a&gt;.)&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>