<?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-Js with custom board and gpio pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47683/pc-ble-driver-js-with-custom-board-and-gpio-pins</link><description>Hi, 
 We have worked with building a raspberry pi system that uses a nRf52832 dev kit board and the pc-ble-driver-js code to scan and connect to our bluetooth devices. This has worked well so we decided to use our custom nRF52832 board. Our board uses</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 May 2019 14:42:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47683/pc-ble-driver-js-with-custom-board-and-gpio-pins" /><item><title>RE: Pc-Ble-Driver-Js with custom board and gpio pins</title><link>https://devzone.nordicsemi.com/thread/189090?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 14:42:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe348b21-bea4-46e9-a6ce-3b491c758f07</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="77142" url="~/f/nordic-q-a/47683/pc-ble-driver-js-with-custom-board-and-gpio-pins"]The question I have then is if it is possible to recompile the pc-ble-driver and pc-ble-driver-js code to accommodate these different pin settings?[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
&lt;p&gt;The connectivity hex running on the nRF5 is based on the ble_connectivity example in the SDK, found in&amp;nbsp; SDK_folder\examples\connectivity\ble_connectivity ,but with this &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/master/hex"&gt;nRF5_SDK_15.3.0_connectivity.patch&lt;/a&gt;&amp;nbsp;applied. In the patch, we set the pin defines in&amp;nbsp;ser_phy_config_conn.h to&amp;nbsp;RX_PIN_NUMBER,TX_PIN_NUMBER,CTS_PIN_NUMBER and RTS_PIN_NUMBER. If you build the&amp;nbsp;pca10040(nRF52832-DK) project, then these pins are defined in&amp;nbsp;pca10040.h (components\boards). You can apply the patch, set these pins so they match your custom board, build the example,&amp;nbsp;flash the hex file, and you should be good to go.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>