<?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>sd_rpc_open() error code 0x0D.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64588/sd_rpc_open-error-code-0x0d</link><description>Hi 
 I&amp;#39;m testing heart_rate_collector in pc-ble-driver. in CONSOLE application, it work well. 
 but in Win32 Application, it doesn&amp;#39;t work when run sd_rpc_open(). 
 error code always is 0x0D(NRF_ERROR_TIMEOUT). 
 what should I do and where is my problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Aug 2020 06:41:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64588/sd_rpc_open-error-code-0x0d" /><item><title>RE: sd_rpc_open() error code 0x0D.</title><link>https://devzone.nordicsemi.com/thread/264358?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2020 06:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1442d20b-e7df-428e-a61b-5339495515bd</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;[quote user="Zeddy"][/quote]&lt;/p&gt;
&lt;p&gt;I have fixed this issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;now I use &amp;#39;PostMessage&amp;#39; to show log data. it&amp;#39;s my problem in using prameter.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am glad to hear that you were able to resolve your issue!&lt;/p&gt;
[quote user="Zeddy"]thanks for your reply again !&amp;nbsp;[/quote]
&lt;p&gt;No problem at all, I am happy to help! :)&lt;br /&gt;&lt;br /&gt;Please do not hesitate to ask if you should encounter any issues or questions in the future.&lt;br /&gt;Good luck with your development!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_rpc_open() error code 0x0D.</title><link>https://devzone.nordicsemi.com/thread/264345?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2020 01:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:652fddf5-12d2-4e3a-858c-062e28bff2d0</guid><dc:creator>Zeddy</dc:creator><description>&lt;p&gt;Thanks Karl, I have fixed this issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;now I use &amp;#39;PostMessage&amp;#39; to show log data. it&amp;#39;s my problem in using prameter.&lt;/p&gt;
&lt;p&gt;thanks for your reply again !&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_rpc_open() error code 0x0D.</title><link>https://devzone.nordicsemi.com/thread/263790?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 10:37:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:768aaabd-2824-4e46-9be0-8ca066f975bb</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="Zeddy"]there is no Window BLE API[/quote]
&lt;p&gt;I thought you might have been using a non-Nordic BLE adapter for you windows computer, and thus would have had to use their API. I am glad to hear you are working with the nRF51 dongle, this will make things much easier!&lt;/p&gt;
&lt;p&gt;[quote user="Zeddy"][/quote]&lt;/p&gt;
&lt;p&gt;In Win32 application, I use &amp;#39;SendMessage&amp;#39; to&amp;nbsp;transmit and show log data but not printf().&lt;/p&gt;
&lt;p&gt;then it will TIME OUT when opening BLE driver(sd_rpc_open()).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is sd_rpc_open returning NRF_SUCCESS? Could you tell me what parameters you are providing the function call that times out?&lt;/p&gt;
[quote user="Zeddy"]I have no idea why is this so, &amp;#39;PostMessage&amp;#39; can work normally but can not transmit log data in real time.[/quote]
&lt;p&gt;Could you elaborate what you mean by this; &amp;quot; &amp;#39;PostMessage&amp;#39; can work normally but can not transmit log data in real time&amp;quot;.&lt;br /&gt;Do you mean that it is working as expected, except for some kind of delay?&lt;br /&gt;&lt;br /&gt;Looking forward to resolving this issue together!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_rpc_open() error code 0x0D.</title><link>https://devzone.nordicsemi.com/thread/263703?ContentTypeID=1</link><pubDate>Sat, 08 Aug 2020 11:41:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:623ee5b7-51c1-472d-bd29-292db7b36240</guid><dc:creator>Zeddy</dc:creator><description>&lt;p&gt;by the way, I use nRF51 dongle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_rpc_open() error code 0x0D.</title><link>https://devzone.nordicsemi.com/thread/263702?ContentTypeID=1</link><pubDate>Sat, 08 Aug 2020 11:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aa2e15e-7698-4579-9da4-0d9c55741a79</guid><dc:creator>Zeddy</dc:creator><description>&lt;p&gt;Hello Carl&lt;/p&gt;
&lt;p&gt;there is no Window BLE API , just pc-ble-driver as a part of Win32 application.&lt;/p&gt;
&lt;p&gt;and I have found the answer why is timing out.&lt;/p&gt;
&lt;p&gt;In Win32 application, I use &amp;#39;SendMessage&amp;#39; to&amp;nbsp;transmit and show log data but not printf().&lt;/p&gt;
&lt;p&gt;then it will TIME OUT when opening BLE driver(sd_rpc_open()).&lt;/p&gt;
&lt;p&gt;I have no idea why is this so, &amp;#39;PostMessage&amp;#39; can work normally but can not transmit log data in real time.&lt;/p&gt;
&lt;p&gt;What should I do ? great thanks again !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_rpc_open() error code 0x0D.</title><link>https://devzone.nordicsemi.com/thread/263590?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 11:47:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ac230c7-f63b-4694-b36a-1d841971062c</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]but in Win32 Application, it doesn&amp;#39;t work when run sd_rpc_open().[/quote]
&lt;p&gt;Could you describe how you are doing this? Are you only using the &lt;a href="https://docs.microsoft.com/en-us/windows/win32/bluetooth/bluetooth-functions"&gt;Windows BLE API&lt;/a&gt;, or are you using the pc-ble-driver as part of your windows application?&lt;br /&gt;What hardware are you using&amp;nbsp;for both peripheral and central?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>