<?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 : trying to build from sources and create v6 lib</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83378/pc-ble-driver-py-trying-to-build-from-sources-and-create-v6-lib</link><description>after building the pc-ble-driver-py and creating v5 lib, we need to build v6. 
 using WIN 7, python 3.8. 
 I changed file CMakeLists.txt row 40 to &amp;#39;set(SD_API_VERS &amp;quot;2; 6 &amp;quot;)&amp;#39; and got the following linkage errors(related to changing to v6): 
 
 LINK: command</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Jan 2022 14:46:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83378/pc-ble-driver-py-trying-to-build-from-sources-and-create-v6-lib" /><item><title>RE: pc-ble-driver-py : trying to build from sources and create v6 lib</title><link>https://devzone.nordicsemi.com/thread/346522?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 14:46:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4634fe73-e63a-4051-80d0-9f6a96f30338</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;pc-ble-driver-py does not support sd_api_v6, it only supports sd_api_v2 for nRF51 and sd_api_v5 for nRF52. Even if you managed to build the libraries for sd_api_v6, the python code does not support sd_api_v6, so you would have to rewrite the whole library to support this API.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you need to use v6 API, you need to use the C/C++ version of &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;pc-ble-driver&lt;/a&gt;. The reason that we have not added support for v6 API in the Python bindings is described in &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/issues/68#issuecomment-531672306"&gt;this comment&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>