<?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>nRF51822 does not work with Windows 8.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3501/nrf51822-does-not-work-with-windows-8-1</link><description>Gentlemen, 
 I&amp;#39;m trying to develop a Health profile solution that works with Win 8.1 
 
 I&amp;#39;m using SDK 6.0 and S110 v 7 
 Win 8.1 
 
 I found the Win 8.1 sample app with heart rate, blood pressure and thermometer. 
 My nRF51822 works fine with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Jan 2017 16:05:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3501/nrf51822-does-not-work-with-windows-8-1" /><item><title>RE: nRF51822 does not work with Windows 8.1</title><link>https://devzone.nordicsemi.com/thread/12678?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2017 16:05:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ac0b963-2492-4987-9b13-569cb64200c9</guid><dc:creator>Peter Myerscough-Jackopson</dc:creator><description>&lt;p&gt;I found that I had not set up my Nordic stack to remember bonding information, and the windows side did not report this, it just behaves differently (and correctly) when connecting with a device that it has bonded with. I would check that you are saving bonding information, but I don&amp;#39;t know where or what. I have currently disabled bonding on my device because bonding means that the device should remember the state of its CCCDs between connections which was something I was not doing, and so when reconnecting windows would not re-enable the notification CCCD bit because it believed my node should remember this.
So my guess is that you need to ensure your Nordic stack is remembering it is already bonded with the Windows host, and that should do something in terms of being able to reuse authentication tokens between connections.
Good luck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 does not work with Windows 8.1</title><link>https://devzone.nordicsemi.com/thread/12677?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2017 15:56:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:538a3486-3fba-4968-8389-df7bf37a85e2</guid><dc:creator>felkar123</dc:creator><description>&lt;p&gt;Hi, I know this is an old thread, but I run in to problem using Nordic trying to connect with Windows 10 laptop using Bluetooth Low Energy. When I&amp;#39;m paring and insert the PIN, communication works fine through my program. At this point, devices are bonded. If I disconnect them and then reconnect so that there is no need to insert the PIN my program gets service, characteristic and descriptor, but when I want to enable Descriptor notifications, function BluetoothGATTSetDescriptorValue returns an error saying &amp;quot;0x80650005: The attribute requires authentication before it can be read or written&amp;quot;. I don&amp;#39;t know If there is something on the Nordic side or at the Windows Stack side. Have you any ideas about this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 does not work with Windows 8.1</title><link>https://devzone.nordicsemi.com/thread/12676?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2014 13:22:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0e6d498-990b-4a3e-b095-7dbb07838f66</guid><dc:creator>Gilson</dc:creator><description>&lt;p&gt;Hello Peter, I think my issue above was because when I was trying to set the descriptor to &amp;quot;subscribe to notification&amp;quot; via BluetoothGATTSetDescriptorValue my code was incorrect. I noticed that my device CCCD does not offer &amp;#39;Notify&amp;#39; but &amp;#39;Indicate&amp;#39; so the following settings would cause the issue:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;	newValue.ClientCharacteristicConfiguration.IsSubscribeToNotification = TRUE;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;but the following settings fixed the issue:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;	newValue.ClientCharacteristicConfiguration.IsSubscribeToIndication = TRUE;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 does not work with Windows 8.1</title><link>https://devzone.nordicsemi.com/thread/12675?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2014 08:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f47bf1c-a8c6-4b9a-8fda-e1cfa4a8d18c</guid><dc:creator>Peter Myerscough-Jackopson</dc:creator><description>&lt;p&gt;In your Nordic code, you must have set the HRM attribute to require authentication. This is in the security settings for read permissions &amp;quot;.read_perm&amp;quot; I think?. I have yet to enable security in my development, but if you disable this it should work. (I have been able to read unsecured/open attributes with the given code.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 does not work with Windows 8.1</title><link>https://devzone.nordicsemi.com/thread/12674?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2014 17:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7796c20-5d19-4bff-bdda-af677ba11e93</guid><dc:creator>Gilson</dc:creator><description>&lt;p&gt;Hi Peter,&lt;/p&gt;
&lt;p&gt;Thank you for your help. It looks like CreateFile() works I found the code you pointed to me and implemented on my Win 8.1
I have one problem though. When I call
hr = BluetoothGATTSetDescriptorValue(
hBLEDevice,
currGattDescriptor,
&amp;amp;newValue,
BLUETOOTH_GATT_FLAG_NONE);&lt;/p&gt;
&lt;p&gt;I get error code 0x80650005 - The attribute requires authentication before it can be read or written&lt;/p&gt;
&lt;p&gt;Do you have any idea what this means? In my case Win 8.1 is paired with my device so I&amp;#39;m not sure about this error.
Looks like CreateFile is working because I only get this error when trying to set the descriptor value.&lt;/p&gt;
&lt;p&gt;I appreciate your time and help.
Cheers,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 does not work with Windows 8.1</title><link>https://devzone.nordicsemi.com/thread/12673?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2014 13:07:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5beeb0a-7558-4a1f-9cba-25fd1ac9711d</guid><dc:creator>Gilson</dc:creator><description>&lt;p&gt;Hello Peter, I think I did not make myself clear. I&amp;#39;m very interested in the CreateFile() solution and if I can make it work I will NOT implement WinRT/Metro application. So if you may share that code would be awesome. thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 does not work with Windows 8.1</title><link>https://devzone.nordicsemi.com/thread/12672?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2014 07:20:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6266163b-8889-46b2-aa71-9ee286287996</guid><dc:creator>Peter Myerscough-Jackopson</dc:creator><description>&lt;p&gt;Sorry Gilson, the CreateFile() source is for the non WinRT/Metro style application, so if you are targeting that, then it is of no use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 does not work with Windows 8.1</title><link>https://devzone.nordicsemi.com/thread/12671?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2014 17:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b27d8b9a-90d6-4a67-9cc4-6b0b1e6458cc</guid><dc:creator>Gilson</dc:creator><description>&lt;p&gt;Hi Peter,&lt;/p&gt;
&lt;p&gt;Thank you for your comment. Would be possible for you to share the CreateFile() source if it is non-proprietary?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m having an issue finding documentation on how to use WinRT/Metro Style application model.&lt;/p&gt;
&lt;p&gt;Please let me know.
Thanks,
Gil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 does not work with Windows 8.1</title><link>https://devzone.nordicsemi.com/thread/12670?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2014 10:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a34ee96d-7ba2-4a5d-aa81-61d3750e950f</guid><dc:creator>Peter Myerscough-Jackopson</dc:creator><description>&lt;p&gt;I haven&amp;#39;t used the BluetoothLEHealthProfiles, but I have managed to get code working in Win8.1 Desktop using the CreateFile() method, rather than the Modern/WinRT function calls.&lt;/p&gt;
&lt;p&gt;Have a look at :&lt;/p&gt;
&lt;p&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/1bc0a585-c886-4686-99e1-57d92210c460/how-to-retrive-gatt-attributes-using-bluetooth-le-apis-in-win32-console-application?forum=wdk"&gt;social.msdn.microsoft.com/.../how-to-retrive-gatt-attributes-using-bluetooth-le-apis-in-win32-console-application&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/windows/hardware/jj159880(v=vs.85).aspx"&gt;msdn.microsoft.com/.../jj159880(v=vs.85).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using the above code and the corrected HRM example it should be possible to connect and retrieve data from the device.&lt;/p&gt;
&lt;p&gt;As an aside, I haven&amp;#39;t found a way to associate different services offered by the same device with each other in Windows. For example, heart rate and battery are separate services, but if you have two devices I don&amp;#39;t know how to tell which battery service matches with which heart rate service. I am currently making a custom service with all my desired characteristics together. This is not how Bluetooth SIG designed it, but it is how I feel I must currently work with Windows.&lt;/p&gt;
&lt;p&gt;Good luck&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The two links that got me going were these:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/windowshardware/en-US/e5e1058d-5a64-4e60-b8e2-0ce327c13058/erroraccessdenied-error-when-trying-to-receive-data-from-bluetooth-low-energy-devices?forum=wdk"&gt;social.msdn.microsoft.com/.../erroraccessdenied-error-when-trying-to-receive-data-from-bluetooth-low-energy-devices&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/bad452cb-4fc2-4a86-9b60-070b43577cc9/is-there-a-simple-example-desktop-programming-c-for-bluetooth-low-energy-devices?forum=wdk"&gt;social.msdn.microsoft.com/.../is-there-a-simple-example-desktop-programming-c-for-bluetooth-low-energy-devices&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Particularly the second one.&lt;/p&gt;
&lt;p&gt;Sadly my code is now very much refined to a non-generic device, a long way from the standard heart rate monitor. The above links however contain code that should get you going with a HRM and contain a lot of explanation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>