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
  • Hello Peter, I think my issue above was because when I was trying to set the descriptor to "subscribe to notification" via BluetoothGATTSetDescriptorValue my code was incorrect. I noticed that my device CCCD does not offer 'Notify' but 'Indicate' so the following settings would cause the issue:

    	newValue.ClientCharacteristicConfiguration.IsSubscribeToNotification = TRUE;
    

    but the following settings fixed the issue:

    	newValue.ClientCharacteristicConfiguration.IsSubscribeToIndication = TRUE;
    
Children
No Data
Related