This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF51822 does not work with Windows 8.1

Gentlemen,

I'm trying to develop a Health profile solution that works with Win 8.1

  1. I'm using SDK 6.0 and S110 v 7
  2. Win 8.1

I found the Win 8.1 sample app with heart rate, blood pressure and thermometer.

My nRF51822 works fine with nRFTools on Android, I see all of the characteristics my code made available including battery level, temperature, etc.

On Win 8.1 first issue I had to overcome is pairing. it looks like it is a known bug in S110 v7. There is a need for a special code before the nRF51822 starts advertising.

Now I can pair with Win 8.1 but I'm seeing the following error:

"Getting the device failed with error: 80070057"

Has anyone here implemented health profile to be used with MS sample code for BluetoothLEHealthProfiles ?

On Windows 8.1 I read somewhere that there is a need for a metadata structure. What does it mean? what is this metadata some developers are talking about?

Thanks much for your help.

Parents Reply
  • Hi Peter,

    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, &newValue, BLUETOOTH_GATT_FLAG_NONE);

    I get error code 0x80650005 - The attribute requires authentication before it can be read or written

    Do you have any idea what this means? In my case Win 8.1 is paired with my device so I'm not sure about this error. Looks like CreateFile is working because I only get this error when trying to set the descriptor value.

    I appreciate your time and help. Cheers,

Children
No Data
Related