<?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>Windows 7 Desktop Platform using nRF51 USB Dongle(S120 or S130) C# platform</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8850/windows-7-desktop-platform-using-nrf51-usb-dongle-s120-or-s130-c-platform</link><description>Hi , 
 I am planning to buy nRF51 USB Dongle(S120 SoftDevice or S130 SoftDevice) to discover BLE devices and to communicate bi-directional. I am planning to develop C# in desktop side &amp;amp; RFduino in peripheral side.
Will you please point some sample example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Oct 2015 10:56:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8850/windows-7-desktop-platform-using-nrf51-usb-dongle-s120-or-s130-c-platform" /><item><title>RE: Windows 7 Desktop Platform using nRF51 USB Dongle(S120 or S130) C# platform</title><link>https://devzone.nordicsemi.com/thread/32535?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2015 10:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e55354c-f336-42c7-8da8-a50d848b1dc5</guid><dc:creator>lakshman</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    advertising_init();
    conn_params_init();
    for(int i=0;i &amp;lt;100000;i++);
for(int i=0;i &amp;lt;100000;i++);
    printf(&amp;quot;%s&amp;quot;,start_string);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;you c# software should always in scanning to get the port number. Once you get the port number immediately connect it.&lt;/p&gt;
&lt;p&gt;make sure RtsEnable = True &amp;amp; DtrEnable = True
my SDk version is 9.0.0
my hardware is latest development kit v1.1.0
The program didn&amp;#39;t work, when I try to use uvision 5.16a pack installer to download and run the code.
I downloaded sdk9.0.0 in Device folder and extract then I went to Load &amp;quot;C:\Keil_v5\ARM\Device\SDK9.0.0\examples\ble_peripheral\ble_app_uart\pca10028\s110\arm5_no_packs\_build\nrf51422_xxac_s110.axf&amp;quot;  and open the project using uvision 5.16a&lt;/p&gt;
&lt;p&gt;do let me know if you need more info.&lt;/p&gt;
&lt;p&gt;Note: Even if you wont be able to see Start... in c# program. Go head and connect it with Master control panel then do the send &amp;amp; receive. it will work.
Thanks and Regards
Lakshman,PMP,PMI-RMP&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows 7 Desktop Platform using nRF51 USB Dongle(S120 or S130) C# platform</title><link>https://devzone.nordicsemi.com/thread/32534?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2015 09:21:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccb8712e-90d3-4b35-b06f-e8448973dd7e</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Where did you add delay? can you please post the code snippet of this change.
Also please mention which SDK version and hardware version you are using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows 7 Desktop Platform using nRF51 USB Dongle(S120 or S130) C# platform</title><link>https://devzone.nordicsemi.com/thread/32533?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2015 09:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d7b8e0e-c445-48b5-97e7-62904fe5ea15</guid><dc:creator>lakshman</dc:creator><description>&lt;p&gt;Hi Aryan,
Thank you very much for your reply.
Yes initially I did RtsEnable = True &amp;amp; DtrEnable = True. But I didn&amp;#39;t get the Start... from BLE UART..
After giving some delay in BLE UART I am able to see the Start....&lt;/p&gt;
&lt;p&gt;As i am new to this forum.Kindly help me to close this issue &amp;amp; mark as right answer.&lt;/p&gt;
&lt;p&gt;RtsEnable = True &amp;amp; DtrEnable = True and give some delay in BLE UART before printing &amp;quot;Start...&amp;quot;&lt;/p&gt;
&lt;p&gt;Thanks
Lakshman,PMP,PMI-RMP&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows 7 Desktop Platform using nRF51 USB Dongle(S120 or S130) C# platform</title><link>https://devzone.nordicsemi.com/thread/32532?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2015 06:20:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:830ce9b4-26f1-426b-82ab-397408d00f15</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I am not an expert in microsoft API but I had a  quick look into its documentation.
Shouldn&amp;#39;t be RtsEnable be set to true for handshake to work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows 7 Desktop Platform using nRF51 USB Dongle(S120 or S130) C# platform</title><link>https://devzone.nordicsemi.com/thread/32531?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2015 03:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc9d637b-7b07-49e2-8ae4-277550be6969</guid><dc:creator>lakshman</dc:creator><description>&lt;p&gt;Hi Arayan,
Thanks for your reply. I don&amp;#39;t need driver for windows since I am planning to use UART application to send and receive data.&lt;/p&gt;
&lt;p&gt;Used ble_app_uart_s110_pca10028 example UART porgram as nRF51 UART slave.&lt;/p&gt;
&lt;p&gt;I am facing issue when I use visual studio 2010 C# for programming.
I am unable to get &amp;quot;START...&amp;quot; from nRF51 UART slave.
My serial Port Configuration in C# program is&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;BaudRate  = 38400
DataBits   = 8
DiscardNull = False
DtrEnable = False
GenerateMember = True
Handshake = RequestToSend
Modifiers = Private
Parity = None
ParityReplace =63
Portname = COM89
ReadBufferSize = 4096
ReadTimeout = -1
ReceievedBytesThreshold = 1
RtsEnable = False
StopBits = One
WriteBufferSize = 2048
WriteTimeout = -1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;But if i use Hypererminal with the same configuration below. I am able to get &amp;quot;Start...&amp;quot; from nRF51 UART slave.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Bits per Second = 38400
Data bits = 8
Parity = None
Stop bits = 1
FlowControl = Hardware
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Kindly advise
Thanks and Regards
Lakshman,PMP,PMI-RMP&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows 7 Desktop Platform using nRF51 USB Dongle(S120 or S130) C# platform</title><link>https://devzone.nordicsemi.com/thread/32530?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2015 07:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da04ce81-25de-4637-adac-7d9ef280c38b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;There is a BLE driver for windows that can be used to interact with nRF chips. You can find it &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/nRF51-BLE-Driver-Win/48445"&gt;here&lt;/a&gt;.
I never used C# before, but i think it is safe to assume that it gives you a way to interact with the drivers and libraries.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>